Hi List!

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

1) Changed Axis Ordering with WFS 1.1.0 Filtering using URN-Projections

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 GeoServer 2.1.3 behaviour is documented here
http://docs.geoserver.org/stable/en/user/services/wfs/basics.html#axis-ordering
but GeoServer 2.4.2 shows a wrong behaviour.
Shall I file a JIRA-Ticket?

My solution (I would say a work-around):
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>

2) SRS styles not documented (may be linked to 1)
The documentation 
http://docs.geoserver.org/stable/en/user/webadmin/services/WFS.html
does not match GeoServer 2.4.2:
Documented is (and has been in GeoServer 2.1.3): Normal, XML, URN
The list of SRS styles is now in GeoServer 2.4.2: EPSG Code, OGC HTTP URL, OGC 
Experimental URN, OGC URN, OGC HTTP URI
What's the matching?
(Shall I file a JIRA-Ticket?)

Cheers,
Bernhard



------------------------------------------------------------------------------
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-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to