Issue Type: Bug Bug
Affects Versions: 2.4.2
Assignee: Andrea Aime
Components: WFS
Created: 16/Jan/14 8:48 AM
Description:

I upgraded from GeoServer 2.1.3 to 2.4.2 and experienced the following problem:

Worked and works only in GeoServer 2.1.3: Provide coordinates as latitude/longitude (y/x)
Example:
http://localhost:8080/geoserver/ows?service=wfs&version=1.1.0&request=getfeature&typeName=EDGE&filter=<Filter xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml"><BBOX><PropertyName>SHAPE</PropertyName><gml:Envelope srsName="urn:x-ogc:def:crs:EPSG:31258"><gml:lowerCorner>167426 524877</gml:lowerCorner><gml:upperCorner>167573 525122</gml:upperCorner></gml:Envelope></BBOX></Filter>

Works only GeoServer 2.4.2: Provide coordinates as longitude/latitude (x/y)
Example:
http://localhost:8080/geoserver/ows?service=wfs&version=1.1.0&request=getfeature&typeName=EDGE&filter=<Filter xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml"><BBOX><PropertyName>SHAPE</PropertyName><gml:Envelope srsName="urn:x-ogc:def:crs:EPSG:31258"><gml:lowerCorner>524877 167426</gml:lowerCorner><gml:upperCorner>525122 167573</gml:upperCorner></gml:Envelope></BBOX></Filter>

The new behaviour does not match the documented behaviour here http://docs.geoserver.org/stable/en/user/services/wfs/basics.html#axis-ordering

A work-around that works with both GeoServer versions: Provide coordinates as longitude/latitude (x/y), but use srsName EPSG:31258 instead of urn:x-ogc:def:crs:EPSG:31258 http://localhost:8080/geoserver/ows?service=wfs&version=1.1.0&request=getfeature&typeName=EDGE&filter=<Filter xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml"><BBOX><PropertyName>SHAPE</PropertyName><gml:Envelope srsName="EPSG:31258"><gml:lowerCorner>524877 167426</gml:lowerCorner><gml:upperCorner>525122 167573</gml:upperCorner></gml:Envelope></BBOX></Filter>

Environment: Windows 7, JBoss, Oracle NG
Project: GeoServer
Priority: Major Major
Reporter: Bernhard Kiselka
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to