[Geoserver-devel] [jira] Created: (GEOS-2175) WFSV request not getting data within its bounding box

WFSV request not getting data within its bounding box
-----------------------------------------------------

                 Key: GEOS-2175
                 URL: http://jira.codehaus.org/browse/GEOS-2175
             Project: GeoServer
          Issue Type: Bug
          Components: Versioning
    Affects Versions: 1.7.0-RC1
            Reporter: Sebastian Benthall
            Assignee: Andrea Aime

Working against sigma with two requests that are identical except for the bounding box. I only get data in response to the second one, even though some of that data is within the bounding box of the first. Adding an srsName="http://www.opengis.net/gml/srs/epsg.xml#900913" attribute to the Box node does not solve the problem.

<wfsv:GetVersionedFeature xmlns:wfsv="http://www.opengis.net/wfsv&quot; service="WFSV" version="1.0.0" outputFormat="text/xml; subtype=gml/2.1.2">
  <wfs:Query xmlns:wfs="http://www.opengis.net/wfs&quot; typeName="sf:archsites" srsName="EPSG:900913" xmlns:sf="http://www.openplans.org/spearfish&quot;&gt;
    <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc&quot;&gt;
      <ogc:BBOX>
        <ogc:PropertyName>the_geom</ogc:PropertyName>
        <gml:Box xmlns:gml="http://www.opengis.net/gml&quot;&gt;
          <gml:coordinates decimal="." cs="," ts=" ">
            -16559274.836267026,3027912.919762439 -6540520.666667024,8037290.00456244
          </gml:coordinates>
        </gml:Box>
      </ogc:BBOX>
    </ogc:Filter>
  </wfs:Query>
</wfsv:GetVersionedFeature>

<?xml version="1.0" encoding="UTF-8"?><wfs:FeatureCollection xmlns="http://www.opengis.net/wfs&quot; xmlns:wfs="http://www.opengis.net/wfs&quot; xmlns:opengeo="http://open-geo.com" xmlns:gml="http://www.opengis.net/gml&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation="http://open-geo.com http://sigma.openplans.org:80/geoserver/wfs?service=WFSV&amp;version=1.0.0&amp;request=DescribeVersionedFeatureType&amp;typeName=opengeo:archsites http://www.opengis.net/wfs http://sigma.openplans.org:80/geoserver/schemas/wfs/1.0.0/WFS-versioning.xsd&quot;&gt;&lt;gml:boundedBy&gt;&lt;gml:Box srsName="http://www.opengis.net/gml/srs/epsg\.xml\#900913&quot;&gt;&lt;gml:coordinates xmlns:gml="http://www.opengis.net/gml&quot; decimal="." cs="," ts=" ">-1,-1 0,0</gml:coordinates></gml:Box></gml:boundedBy></wfs:FeatureCollection>

----------------------------------------------

<wfsv:GetVersionedFeature xmlns:wfsv="http://www.opengis.net/wfsv&quot; service="WFSV" version="1.0.0" outputFormat="text/xml; subtype=gml/2.1.2">
  <wfs:Query xmlns:wfs="http://www.opengis.net/wfs&quot; typeName="sf:archsites" srsName="EPSG:900913" xmlns:sf="http://www.openplans.org/spearfish&quot;&gt;
    <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc&quot;&gt;
      <ogc:BBOX>
        <ogc:PropertyName>the_geom</ogc:PropertyName>
        <gml:Box xmlns:gml="http://www.opengis.net/gml&quot;&gt;
          <gml:coordinates decimal="." cs="," ts=" ">
            -31587406.090667024,-4486152.707437561 8487610.587732978,15551355.631762441
          </gml:coordinates>
        </gml:Box>
      </ogc:BBOX>
    </ogc:Filter>
  </wfs:Query>
</wfsv:GetVersionedFeature>

<?xml version="1.0" encoding="UTF-8"?><wfs:FeatureCollection xmlns="http://www.opengis.net/wfs&quot; xmlns:wfs="http://www.opengis.net/wfs&quot; xmlns:opengeo="http://open-geo.com" xmlns:gml="http://www.opengis.net/gml&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation="http://open-geo.com http://sigma.openplans.org:80/geoserver/wfs?service=WFSV&amp;version=1.0.0&amp;request=DescribeVersionedFeatureType&amp;typeName=opengeo:archsites http://www.opengis.net/wfs http://sigma.openplans.org:80/geoserver/schemas/wfs/1.0.0/WFS-versioning.xsd&quot;&gt;&lt;gml:boundedBy&gt;&lt;gml:Box srsName="http://www.opengis.net/gml/srs/epsg\.xml\#900913&quot;&gt;&lt;gml:coordinates xmlns:gml="http://www.opengis.net/gml&quot; decimal="." cs="," ts=" ">-11587394.86139817,5518180.15668289 -11515467.61789734,5552232.85267599</gml:coordinates></gml:Box></gml:boundedBy><gml:featureMember><opengeo:archsites fid="archsites.7"><opengeo:creationVersion>1</opengeo:creationVersion><opengeo:creationDate>2008-01-18T10:47:39.046</opengeo:creationDate><opengeo:creationMessage>Version enabling archsites</opengeo:creationMessage><opengeo:lastUpdateVersion>1</opengeo:lastUpdateVersion><opengeo:lastUpdateDate>2008-01-18T10:47:39.046</opengeo:lastUpdateDate><opengeo:lastUpdateMessage>Version enabling archsites</opengeo:lastUpdateMessage><opengeo:cat>7</opengeo:cat><opengeo:str1>Jensen Pass</opengeo:str1><opengeo:the_geom><gml:Point srsName="http://www.opengis.net/gml/srs/epsg\.xml\#900913&quot;&gt;&lt;gml:coordinates xmlns:gml="http://www.opengis.net/gml&quot; decimal="." cs="," ts=" ">-11539449.49143651,5532883.13991873</gml:coordinates></gml:Point></opengeo:the_geom></opengeo:archsites></gml:featureMember><gml:featureMember><opengeo:archsites fid="archsites.16"><opengeo:creationVersion>1</opengeo:creationVersion><opengeo:creationDate>2008-01-18T10:47:39.046</opengeo:creationDate><opengeo:creationMessage>Version enabling archsites</opengeo:creationMessage><opengeo:lastUpdateVersion>1</opengeo:lastUpdateVersion><opengeo:lastUpdateDate>2008-01-18T10:47:39.046</opengeo:lastUpdateDate><opengeo:lastUpdateMessage>Version enabling archsites</opengeo:lastUpdateMessage><opengeo:cat>16</opengeo:cat><opengeo:str1>Boulder Creek Cabin</opengeo:str1><opengeo:the_geom><gml:Point srsName="http://www.opengis.net/gml/srs/epsg\.xml\#900913&quot;&gt;&lt;gml:coordinates xmlns:gml="http://www.opengis.net/gml&quot; decimal="." cs="," ts=" ">-11537374.1578469,5526012.06161846</gml:coordinates></gml:Point></opengeo:the_geom></opengeo:archsites></gml:featureMember><gml:featureMember><opengeo:archsites fid="archsites.19"><opengeo:creationVersion>1</opengeo:creationVersion><opengeo:creationDate>2008-01-18T10:47:39.046</opengeo:creationDate><opengeo:creationMessage>Version enabling archsites</opengeo:creationMessage><opengeo:lastUpdateVersion>1</opengeo:lastUpdateVersion><opengeo:lastUpdateDate>2008-01-18T10:47:39.046</opengeo:lastUpdateDate><opengeo:lastUpdateMessage>Version enabling archsites</opengeo:lastUpdateMessage><opengeo:cat>19</opengeo:cat><opengeo:str1>No Name</opengeo:str1><opengeo:the_geom><gml:Point srsName="http://www.opengis.net/gml/srs/epsg\.xml\#900913&quot;&gt;&lt;gml:coordinates xmlns:gml="http://www.opengis.net/gml&quot; decimal="." cs="," ts=" ">-11538824.08574033,5527087.9857154</gml:coordinates></gml:Point>
...

--
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