On 24/04/12 17:13, Andrea Aime wrote:
> In these stored queries you are using the deprecated EPSG:XYWZ format,
> which GeoServer
> assumes to force lon/lat order, if you want the natural EPSG order
> you'll have to use
> the srs expression mandated by WFS 2.0, the urn:... format.
> See this for a bit more details:
> http://docs.geoserver.org/latest/en/user/services/wfs/basics.html#axis-ordering

Note that these are *not* the urn:ogc form mandated by WFS 2.0 but the 
transitional WFS 1.1(?) urn:x-ogc form implemented in GeoServer before 
urn:ogc was assigned to OGC by the IANA. GeoServer supports queries with 
the official srsName format, for example:

srsName=urn:ogc:def:crs:EPSG:4326

but be aware that while these requests are honoured, WFS responses are 
encoded with, for example:

srsName="urn:x-ogc:def:crs:EPSG:4326"

even for WFS 2.0.0. Some clients may not care.

See:

http://jira.codehaus.org/browse/GEOS-4545
http://jira.codehaus.org/browse/GEOT-3581
http://geoserver-devel.821594.n3.nabble.com/Geoserver-devel-srsName-urn-x-ogc-vs-urn-ogc-more-headaches-and-long-term-decisions-td1887641.html

Wow, OGC have been working overtime to annoy Andrea this week.  ;-)

Kind regards,

-- 
Ben Caradoc-Davies <[email protected]>
Software Engineer
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to