[Geoserver-devel] [jira] Created: (GEOS-1436) WFS should qualify envelopes with the _declared_ default SRS

WFS should qualify envelopes with the _declared_ default SRS
------------------------------------------------------------

                 Key: GEOS-1436
                 URL: http://jira.codehaus.org/browse/GEOS-1436
             Project: GeoServer
          Issue Type: Bug
          Components: WFS
    Affects Versions: 1.6.0-beta3
            Reporter: Andrea Aime
            Assignee: Justin Deoliveira
             Fix For: 1.6.0-RC1

The following WFS request:

http://82.50.99.80:8080/geoserver/wfs?&service=WFS&version=1.1.0&request=GetFeature&typename=sf:PrimitiveGeoFeature&bbox=34.94,-10.52,71.96,32.19&namespace=xmlns(sf=http://cite.opengeospatial.org/gmlsf)

fails (using a normally oriented datastore) because the bbox is parsed as of being in the datastore native srs, when it's not.
The specification says that if the bbox is not srs qualified the default srs must be used. The capabilities say that the default
srs is urn:x-ogc:def:crs:EPSG:6.11.2:4326, not EPSG:4326, so the above box must be flipped before hitting the datastore.

The kvp parser should make sure the SRS associated to bboxes is the one _declared_ in the WFS capabilities when not
provided. This also means the code will have to take care of the WFS version since we do specify EPSG:4326 in
WFS 1.0 but urn:x-ogc:def:crs:EPSG:6.11.2:4326 in WFS 1.1

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