Hello,
If you run a WFS GetCapabilities request on your server, it should
tell which filters it supports, see :
http://mapserver.org/ogc/filter_encoding.html#server-side
Someone correct me if I'm wrong, but I think MapServer needs to be
compiled with GEOS in order to do intersect filters.
HTH,
Alexandre
On 11-06-09 12:09 PM, John Callahan wrote:
I have the following WFS intersect request that if working with
GeoServer, and I'm trying to run this app with MapServer. The error
I'm getting is:
<ows:ExceptionText>msWFSGetFeature(): WFS server error. Invalid or
Unsupported FILTER in GetFeature ...
I've dome some reading but not sure exactly what's supported. I have
used both INTERSECT and INTERSECTS, both return the same error.
Should I skip these and go with BBOX? If so, I assume I would need to
get rid of the lowerCorner/upperCorner items and just list the
coordinates separated by commas. Or could there be a problem with the
PropertyName = SHAPE? I couldn't find doc on what this value should
be. My data are either shapefiles or postgis layers.
The POST request is:
<wfs:GetFeature resultType="hits"
xmlns:wfs="http://www.opengis.net/wfs" service="WFS" version="1.1.0"
xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<wfs:Query typeName="Municipal_Boundaries" srsName="EPSG:26957"
xmlns:massgis="http://massgis.state.ma.us/featuretype">
<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
<ogc:Intersects>
<ogc:PropertyName>SHAPE</ogc:PropertyName>
<gml:Envelope xmlns:gml="http://www.opengis.net/gml" srsName="EPSG:26957">
<gml:lowerCorner>149081.76574899518 163078.62572595105</gml:lowerCorner>
<gml:upperCorner>205627.85303800018 194899.95291598293</gml:upperCorner>
</gml:Envelope>
</ogc:Intersects>
</ogc:Filter>
</wfs:Query>
</wfs:GetFeature>
Thanks for any help you can provide.
- John
***********************************
John Callahan, Research Scientist
Delaware Geological Survey
University of Delaware
URL: http://www.dgs.udel.edu
*******************************
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
--
Alexandre Dubé
Mapgears
www.mapgears.com
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users