Inverted coordinates on WFS 1.1.0 forcing outputFormat GML2 on describeFeatureType
----------------------------------------------------------------------------------
Key: GEOS-3342
URL: http://jira.codehaus.org/browse/GEOS-3342
Project: GeoServer
Issue Type: Bug
Components: WFS
Affects Versions: 1.7.x
Reporter: star chox
Assignee: Andrea Aime
When you first hit the query :
<wfs:GetFeature service="WFS" version="1.0.0" outputFormat="GML2" xmlns:topp="http://www.openplans.org/topp" xmlns:wfs="http://www.opengis.net/wfs" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd"> <wfs:Query typeName="topp:states"> <ogc:Filter> <ogc:FeatureId fid="states.3"/> </ogc:Filter> </wfs:Query> </wfs:GetFeature>
You get yhe first coordinates as: -75.70742,38.55747600000001 -75.71106,38.649551....
If you setup the same output format on WFS 1.1.0 with te query:
<wfs:GetFeature service="WFS" version="1.1.0" xmlns:topp="http://www.openplans.org/topp" xmlns:wfs="http://www.opengis.net/wfs" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" outputFormat="GML2"> <wfs:Query typeName="topp:states"> <ogc:Filter> <ogc:FeatureId fid="states.3"/> </ogc:Filter> </wfs:Query></wfs:GetFeature>
You get the correct tags, but the first coordinates as: 38.55747600000001,-75.70742 38.649551,-75.71106...
This is the inverted expected values.
--
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