Public feed #721998

srsName and getFeature requests

public text v1 · immutable
Raw Edit
·published 2007-10-01 18:10 UTC
rendered paste body

Is this a possible recurrence of the " srsName specified in wfs getfeature request ignored" (http://jira.codehaus.org/browse/GEOS-1304) bug? 


This was the request to Geoserver (note: srsName="EPSG:900913"):

<wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs" version="1.0.0" service="WFSV" srsName="EPSG:900913" outputFormat="GML2">
  <wfs:Query typeName="topp:archsites">
    <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
      <ogc:FeatureId fid="archsites.166"/>
    </ogc:Filter>
  </wfs:Query>
</wfs:GetFeature>


This was the response (note: srsName="http://www.opengis.net/gml/srs/epsg.xml#26713"):

<?xml version="1.0" encoding="UTF-8"?><wfs:FeatureCollection xmlns="http://www.opengis.net/wfs" xmlns:wfs="http://www.opengis.net/wfs" xmlns:topp="http://www.openplans.org/topp" xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openplans.org/topp http://geo.openplans.org:80/geoserver/wfs?service=WFS&amp;version=1.0.0&amp;request=DescribeFeatureType&amp;typeName=topp:archsites http://www.opengis.net/wfs http://geo.openplans.org:80/geoserver/schemas/wfs/1.0.0/WFS-basic.xsd">
  <gml:boundedBy>
    <gml:Box srsName="http://www.opengis.net/gml/srs/epsg.xml#26713">
      <gml:coordinates xmlns:gml="http://www.opengis.net/gml" decimal="." cs="," ts=" ">
        604040.0625,4916379.5 604040.125,4916380
      </gml:coordinates>
    </gml:Box>
  </gml:boundedBy>
  <gml:featureMember>
    <topp:archsites fid="archsites.166">
      <topp:the_geom>
        <gml:Point srsName="http://www.opengis.net/gml/srs/epsg.xml#26713">
          <gml:coordinates xmlns:gml="http://www.opengis.net/gml" decimal="." cs="," ts=" ">
            604040.12398009,4916379.5379597
          </gml:coordinates>
        </gml:Point>
      </topp:the_geom>
    </topp:archsites>
  </gml:featureMember>
</wfs:FeatureCollection>


Elsewhere in the code I'm working with, a getFeauture request is made with both a srsName attribute and a bounding box which also includes the same map projection information.  The response to this request came with the correct srsName in the response.