<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hello,<br>
    <br>
      If you run a WFS GetCapabilities request on your server, it should
    tell which filters it supports, see :<br>
    <a class="moz-txt-link-freetext" href="http://mapserver.org/ogc/filter_encoding.html#server-side">http://mapserver.org/ogc/filter_encoding.html#server-side</a><br>
    <br>
      Someone correct me if I'm wrong, but I think MapServer needs to be
    compiled with GEOS in order to do intersect filters.<br>
    <br>
    HTH,<br>
    <br>
    Alexandre<br>
    <br>
    <br>
    On 11-06-09 12:09 PM, John Callahan wrote:
    <blockquote
      cite="mid:BANLkTin+kbqtTQPNJBMaNEfPV0WuwXnimA@mail.gmail.com"
      type="cite">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: <br>
      <br>
      <ows:ExceptionText>msWFSGetFeature(): WFS server error.
      Invalid or Unsupported FILTER in GetFeature ...<br>
      <br>
      <br>
      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.<br>
      <br>
      The POST request is:<br>
      <br>
      <wfs:GetFeature resultType="hits" xmlns:wfs="<a
        moz-do-not-send="true" href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</a>"
      service="WFS" version="1.1.0" xsi:schemaLocation="<a
        moz-do-not-send="true" href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</a>
      <a moz-do-not-send="true"
        href="http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">http://schemas.opengis.net/wfs/1.1.0/wfs.xsd</a>"
      xmlns:xsi="<a moz-do-not-send="true"
        href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>"><br>
      <wfs:Query typeName="Municipal_Boundaries" srsName="EPSG:26957"
      xmlns:massgis="<a moz-do-not-send="true"
        href="http://massgis.state.ma.us/featuretype">http://massgis.state.ma.us/featuretype</a>"><br>
      <ogc:Filter xmlns:ogc="<a moz-do-not-send="true"
        href="http://www.opengis.net/ogc">http://www.opengis.net/ogc</a>"><br>
      <ogc:Intersects><br>
      <ogc:PropertyName>SHAPE</ogc:PropertyName><br>
      <gml:Envelope xmlns:gml="<a moz-do-not-send="true"
        href="http://www.opengis.net/gml">http://www.opengis.net/gml</a>"
      srsName="EPSG:26957"><br>
      <gml:lowerCorner>149081.76574899518
      163078.62572595105</gml:lowerCorner><br>
      <gml:upperCorner>205627.85303800018
      194899.95291598293</gml:upperCorner><br>
      </gml:Envelope><br>
      </ogc:Intersects><br>
      </ogc:Filter><br>
      </wfs:Query><br>
      </wfs:GetFeature><br>
      <br>
      <br>
      Thanks for any help you can provide.<br>
      <br>
      - John<br>
      <br clear="all">
      ***********************************<br>
      John Callahan, Research Scientist<br>
      Delaware Geological Survey<br>
      University of Delaware<br>
      URL: <a moz-do-not-send="true" href="http://www.dgs.udel.edu"
        target="_blank">http://www.dgs.udel.edu</a><br>
      *******************************<br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Alexandre Dubé
Mapgears
<a class="moz-txt-link-abbreviated" href="http://www.mapgears.com">www.mapgears.com</a>
</pre>
  </body>
</html>