[OpenLayers-Users] Filter not working

Phil Scadden p.scadden at gns.cri.nz
Thu Apr 4 13:47:59 PDT 2013


I see you are using geoserver. Geoserver does not respect the 
distanceUnits parameter. You have to specify the distance in the units 
of the native projection. What I strongly recommend is using firebug or 
developer tools in Chrome and looking at the actual POST that OL 
generates from this request. You can use CURL or this handy tool 
http://code.google.com/p/rest-client/ to recreate the request. Fiddle 
with the numbers in that request till it actually works and then work 
backwards to get it into your code.

Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.



More information about the Users mailing list