[mapserver-users] MapServer 7.0 WFS post request using ogc filter

TMa Teng TMa at edrnet.com
Wed Aug 17 07:57:44 PDT 2016


Hi guys,

I am currently facing problems using WFS in MapServer 7.0. The WFS works in MapServer 6.0.4 before I upgrade MapServer 7.0 and Mapfile, database connection everything has not been changed. Is there any change to WFS call from MapServer version 6.0 to version 7.x? Please advise me if there is anything I am missing.


My request body:
<wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs" service="WFS" version="1.1.0" maxFeatures="200" 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="parcelpoints" xmlns:feature="http://mapserver.gis.umn.edu/mapserver">
    <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
      <ogc:BBOX>
        <ogc:PropertyName>shape</ogc:PropertyName>
        <gml:Envelope xmlns:gml="http://www.opengis.net/gml">
          <gml:lowerCorner>-81 41</gml:lowerCorner>
          <gml:upperCorner>-80.9 41.01</gml:upperCorner>
        </gml:Envelope>
      </ogc:BBOX>
    </ogc:Filter>
  </wfs:Query>
</wfs:GetFeature>

Thanks in advance,

Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20160817/ead44856/attachment-0001.html>


More information about the mapserver-users mailing list