On Tue, Jun 7, 2011 at 3:54 AM, Phil Scadden <[email protected]> wrote:
> I've cracked this I think but I am really puzzled by the answer.
> If I make the POINT def as POINT(-40.45230364109423 167.6825000003944)
> (ie lat then long instead of long /lat) then I get the correct feature
> set. This seems in contradiction to the WKT definition of POINT.

Not a contradition, on the contrary, it's how WFS 1.1 is supposed to work
Welcolme to the axis flipping nightmare:
http://docs.geoserver.org/latest/en/user/services/wfs/basics.html#axis-ordering

OGC filter has a way to specify the native SRS, and as the document
above report the use of the EPSG:4326 forces lon/lat order.
Unfortunately CQL has no way to specify the srs for geometries, thus the
native WFS 1.1 order is taken, which is lat/lon.
Nothing we can do about it, OGC changed the axis order on us between
WMS 1.1 and WMS 1.3, and WFS 1.0 and WFS 1.1

Cheers
Andrea


-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to