On Thu, Jun 9, 2011 at 2:41 AM, Phil Scadden <[email protected]> wrote: > Having just battled away on CQL Filters, I am writing this in hope it > saves someone some time. > > 1/ Remember to ensure the filter is properly escaped. > 2/ Spatial filters work in native SRS only. Convert all geometry to > native SRS. The SRS parameter is honoured in the output GML however. > 3/ Geoserver (9 june 2011) ignores the distanceUnits parameter. The > distance should be in the native SRS units. > 4/ If the native SRS is lat/long, then geometry must be expressed in lat > long ordering not x,y ordering. See > http://docs.geoserver.org/latest/en/user/services/wfs/basics.html#axis-ordering > for more detail.
I'd take the last one with a grain of salt. lat/lon ordering only if you are using WFS 1.1, which is, afaik, still less popular and less supported that WFS 1.0 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
