[OpenLayers-Dev] spatial filter

Neelima Emmani neelima.emmani at iictechnologies.com
Thu Feb 23 01:47:34 EST 2012


Hi All,

As i mentioned in my previous mail, After i draw a line , the spatial filter for DWITHIN gets activated and the layer to be filtered is completely disappearing. Now what i found is, it is throwing a WFS exception as below -


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=" ">-84.100341796875,29.910254244941 -73.114013671875,34.556260876457</gml:coordinates></gml:Box></ogc:BBOX></ogc:And></ogc:Filter>

Can anyone let me know,  how to and where to solve this problem. Spatial filter for bbox is working fine but for intersect and DWITHIN it is throwing an exception.

With Regards,
Neelima Emmani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20120223/176e42a8/attachment.html


More information about the Dev mailing list