[mapserver-users] WFS intersect request

John Callahan john.callahan at udel.edu
Thu Jun 9 09:09:32 PDT 2011


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
*******************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110609/08516667/attachment.htm>


More information about the MapServer-users mailing list