Filter geometry srsName not inherited from Query (worked in 1.6.x)
------------------------------------------------------------------
Key: GEOS-2199
URL: http://jira.codehaus.org/browse/GEOS-2199
Project: GeoServer
Issue Type: Bug
Components: WFS
Affects Versions: 1.7.0-RC2
Reporter: Andreas Hocevar
Assignee: Andrea Aime
Take a look at this request:
<wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs" service="WFS"
version="1.0.0" maxFeatures="1" outputFormat="GML2"
xmlns:tiger="http://www.census.gov" xmlns:ogc="http://www.opengis.net/ogc">
<wfs:Query typeName="tiger:poly_landmarks" srsName="EPSG:900913">
<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:Intersects>
<ogc:PropertyName>
the_geom
</ogc:PropertyName>
<gml:Point xmlns:gml="http://www.opengis.net/gml">
<gml:coordinates decimal="." cs="," ts=" ">
-8237470.327209473,4972883.484817505
</gml:coordinates>
</gml:Point>
</ogc:Intersects>
</ogc:Filter>
</wfs:Query>
</wfs:GetFeature>
This works fine with Geoserver 1.6.x, but it does not with 1.7.0-rc2. It does
not return any features, because the gml:Point does not seem to inherit the
srsName from wfs:Query. As soon as you add srsName="EPSG:900913" as attribute
to the gml:Point node, it works again.
Maybe it is not even a bug, but for me it's hard to tell what the WFS spec says
about this. The srsName on the wfs:Query defines the srs that the features
should be returned in, but I could not find anything about if or how to
interpret the srsName property on a geometry.
--
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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel