WFS GET bbox parsing looses axis orientation
--------------------------------------------
Key: GEOS-1435
URL: http://jira.codehaus.org/browse/GEOS-1435
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
Given the following request (coming from cite wfs 1.1):
http://localhost:8080/geoserver/wfs?&service=WFS&version=1.1.0&request=GetFeature&typename=sf:PrimitiveGeoFeature&bbox=34.94,-10.52,71.96,32.19,urn:x-ogc:def:crs:EPSG:6.11.2:4326&namespace=xmlns(sf=http://cite.opengeospatial.org/gmlsf)http://
the bbox parser will generate a correct referenced envelope, which will be wrongly turned into a bbox filter thought...
The problem is that only the code is extracted from the CRS, and then the srs code for bboxfilter is rebuilt as
EPSG:XXXX
So the above bbox srs goes from urn:x-ogc:def:crs:EPSG:6.11.2:4326 to EPSG:4326 in the filter loosing axis orientation.
I'd say, either some workaround is found to set the code with the proper axis orientation in the bbox filter, or the parsing code should be changed so that bbox directly parses into a bboxfilter (thus avoiding all of these girations).
Opinions?
--
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