<!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>
    &nbsp; 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>
    &nbsp; 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.&nbsp; The error I'm getting is: <br>
      <br>
      &lt;ows:ExceptionText&gt;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.&nbsp; I
      have used both INTERSECT and INTERSECTS, both return the same
      error.&nbsp; Should I skip these and go with BBOX?&nbsp; If so, I assume I
      would need to get rid of the lowerCorner/upperCorner items and
      just list the coordinates separated by commas.&nbsp; Or could there be
      a problem with the PropertyName = SHAPE?&nbsp;&nbsp; I couldn't find doc on
      what this value should be.&nbsp; My data are either shapefiles or
      postgis layers.<br>
      <br>
      The POST request is:<br>
      <br>
      &lt;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>"&gt;<br>
      &lt;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>"&gt;<br>
      &lt;ogc:Filter xmlns:ogc="<a moz-do-not-send="true"
        href="http://www.opengis.net/ogc">http://www.opengis.net/ogc</a>"&gt;<br>
      &lt;ogc:Intersects&gt;<br>
      &lt;ogc:PropertyName&gt;SHAPE&lt;/ogc:PropertyName&gt;<br>
      &lt;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"&gt;<br>
      &lt;gml:lowerCorner&gt;149081.76574899518
      163078.62572595105&lt;/gml:lowerCorner&gt;<br>
      &lt;gml:upperCorner&gt;205627.85303800018
      194899.95291598293&lt;/gml:upperCorner&gt;<br>
      &lt;/gml:Envelope&gt;<br>
      &lt;/ogc:Intersects&gt;<br>
      &lt;/ogc:Filter&gt;<br>
      &lt;/wfs:Query&gt;<br>
      &lt;/wfs:GetFeature&gt;<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&eacute;
Mapgears
<a class="moz-txt-link-abbreviated" href="http://www.mapgears.com">www.mapgears.com</a>
</pre>
  </body>
</html>