TMa Teng
2016-08-17 14:57:44 UTC
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
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