org.geoserver.wcs.DefaultWebCoverageService100.computeIntersectionEnvelop(GeneralEnvelope
requestedEnvelope, GeneralEnvelope nativeEnvelope) returns correctly
computed intersection for below case:
requestedEnvelope=GeneralEnveloope
--> crs=DefaultGeographicCRS
--> ordinates=[-128.075, 21.92500000000004, -108.875, 43.075]
nativeEnvelope=GeneralEnvelope
--> crs=DefaultEngineeringCRS
--> ordinates=[-128.075, 21.92500000000004, -108.875, 43.075]
However,
org.geoserver.wcs.DefaultWebCoverageService100.computeIntersectionEnvelop(GeneralEnvelope
requestedEnvelope, GeneralEnvelope nativeEnvelope) returns NULL for below
envelopes.
requestedEnvelope=GeneralEnveloope
--> crs=DefaultGeographicCRS
--> ordinates=[231.925, 21.92500000000004, 251.925, 43.075]
nativeEnvelope=GeneralEnvelope
--> crs=DefaultEngineeringCRS
--> ordinates=[-128.075, 21.92500000000004, -108.875, 43.075]
The first envelope was created from WPS post request with below envelope
information:
<ns1:Envelope srsName="EPSG:4326">
<gml:pos xmlns:gml="
http://www.opengis.net/gml">-128.075 21.925</gml:pos>
<gml:pos xmlns:gml="
http://www.opengis.net/gml">-108.875 43.075</gml:pos>
</ns1:Envelope>
The second envelope was created from WPS post request with below envelope
information:
<ns1:Envelope srsName="EPSG:4326">
<gml:pos xmlns:gml="
http://www.opengis.net/gml">231.925 21.925</gml:pos>
<gml:pos xmlns:gml="
http://www.opengis.net/gml">251.925 43.075</gml:pos>
</ns1:Envelope>
*For both cases, the requestedEnvelope references the same area. The only
difference is that one is in [-180:180] format and the other is in [0:360]
format for longitudes.*
Is this known issue? Or is the requestedEnvelope in second case
incorrectly created and should be using some other CRS?
--
Joseph Shin
We are what we repeatedly do. Excellence then is not an act but a habit.
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users