[mapserver-dev] Unsupported Filter

Farwell, Michael D - Exelis michael.farwell at exelisinc.com
Thu Oct 30 08:23:22 PDT 2014


Mapserver dev,

Does anyone know why the UMN demo map server does not support the following WFS 1.0.0 post request?:

curl -X POST 'http://demo.mapserver.org/cgi-bin/wfs?REQUEST=GetFeature&VERSION=1.0.0&SERVICE=WFS' -d @/tmp/post.xml -H 'Content-Type: application/xml' -k

Where /tmp/post.xml contains:

<?xml version="1.0" encoding="UTF-8"?><wfs:GetFeature xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ms="http://mapserver.gis.umn.edu/mapserver" xmlns:ogc="http://www.opengis.net/ogc" xmlns:wfs="http://www.opengis.net/wfs" xmlns:gml="http://www.opengis.net/gml" handle="GeoTools 13-SNAPSHOT(f758d2e99d6008f6a27438946de5ef914960f605) WFS 1.0.0 DataStore @localhost.localdomain#1" maxFeatures="10" outputFormat="GML2" service="WFS" version="1.0.0">
<wfs:Query typeName="ms:cities">
  <ogc:PropertyName>POPULATION</ogc:PropertyName>
  <ogc:Filter>
   <ogc:BBOX>
    <ogc:PropertyName>msGeometry</ogc:PropertyName>
    <gml:Box srsName="urn:x-ogc:def:crs:EPSG:4326">
     <gml:coord>
      <gml:X>-59.0</gml:X>
      <gml:Y>-35.0</gml:Y>
     </gml:coord>
     <gml:coord>
      <gml:X>-58.0</gml:X>
      <gml:Y>-34.0</gml:Y>
     </gml:coord>
    </gml:Box>
   </ogc:BBOX>
  </ogc:Filter>
</wfs:Query>
</wfs:GetFeature>

I'm getting the following message:

WFSGetFeature(): WFS server error. Invalid or Unsupported FILTER in GetFeature

Thanks,

Mike

________________________________

This e-mail and any files transmitted with it may be proprietary and are intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Exelis Inc. The recipient should check this e-mail and any attachments for the presence of viruses. Exelis Inc. accepts no liability for any damage caused by any virus transmitted by this e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20141030/498df368/attachment.html>


More information about the mapserver-dev mailing list