GeoServerOnlineTest WFS testFeatureSourceGetFeaturesFilter axis flipping issue
------------------------------------------------------------------------------
Key: GEOT-2283
URL: http://jira.codehaus.org/browse/GEOT-2283
Project: GeoTools
Issue Type: Improvement
Components: data wfs
Reporter: Andrea Aime
Assignee: Gabriel Roldán
Fix For: 2.6-M0
That test does a WFS 1.1 with a geometry built as:
Coordinate[] coordinates = { new Coordinate(-107, 39), new Coordinate(-107, 38),
new Coordinate(-104, 38), new Coordinate(-104, 39), new
Coordinate(-107, 39) };
which of course won't work because the coordinates in a geographic request in
WFS 1.1
are expected to be lat/lon ordered. In fact when running the test GeoServer
responds
with the following text inside the service exception:
org.geotools.referencing.operation.projection.PointOutsideEnvelopeException:
-107.0 outside of (-90.0,90.0) Parsing failed for
LinearRing: org.geoserver.wfs.WFSException:
org.geotools.referencing.operation.projection.PointOutsideEnvelopeException:
-107.0 outside of (-90.0,90.0)
org.geotools.referencing.operation.projection.PointOutsideEnvelopeException:
-107.0 outside of (-90.0,90.0) -107.0 outside of (-90.0,90.0)
Switching coordinate order makes the test work just fine. Ok to commit?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel