[OpenLayers-Dev] spatial filter

Phil Scadden p.scadden at gns.cri.nz
Thu Feb 23 15:04:04 EST 2012


> |msWFSGetFeature(): WFS server error. Invalid or Unsupported FILTER in GetFeature :
> (<ogc:Filter xmlns||:ogc="http://www.opengis.net/ogc"><ogc:And><ogc:DWithin><ogc:PropertyName||>the_geom</ogc:PropertyName><gml:MultiLineString xmlns:gml="http://www.opengis.net/gml||" srsName="EPSG:900913"><gml:lineStringMember><gml:LineString><gml:coordinates||  decimal="." cs="," ts="">-79.205932617188,32.309033345029 -79.458618164063||,32.267239420261 -79.851379394531,32.144067753448 -78.255615234375,33.130344611623</gml:coordinates||></gml:LineString></gml:lineStringMember></gml:MultiLineString><ogc:Distance||  units="m">200000</ogc:Distance></ogc:DWithin><ogc:BBOX><ogc:PropertyName||>the_geom</ogc:PropertyName><gml:Box xmlns:gml="http://www.opengis.net/gml" srsName||="EPSG:4326"><gml:coordinates decimal="." cs="," ts="&quot||;>-84.100341796875,29.910254244941 -73.114013671875,34.556260876457</gml:coordinates></gml||:Box></ogc:BBOX></ogc:And></ogc:Filter>|
Do a WFS GetCapabilities ( service=WFS&request=GetCapabilities)
and see whether your service does support DWITHIN. Not all do - 
especially ArcGIS 9.3. I dont know if it was added in 10.0 or not. 
Geoserver does. Dont know about others.

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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20120224/7e71f1c5/attachment.html


More information about the Dev mailing list