[mapserver-dev] WFS Filter in GET parameter doesn't work with PostGIS Layer
Denis Rykov
rykovd at gmail.com
Mon Jan 21 11:36:18 PST 2013
Hello!
$ mapserv -v
MapServer version 6.2.0
Trying to use filter with the following URL:
http://localhost/cgi-bin/mapserv?map=/home/wfs.map&service=wfs&version=1.1.0&request=GetFeature&typeName=water&Filter=
> <Filter><PropertyIsEqualTo><PropertyName>natural</PropertyName><Literal>wetland</Literal></PropertyIsEqualTo></Filter>
But server response looks like:
<wfs:FeatureCollection xmlns:ms="http://mapserver.gis.umn.edu/mapserver"
> xmlns:gml="http://www.opengis.net/gml" xmlns:wfs="
> http://www.opengis.net/wfs"xmlns:ogc="http://www.opengis.net/ogc"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
> http://mapserver.gis.umn.edu/mapserver
> http://localhost/cgi-bin/mapserv?map=/home/rykov/nextgis/vega2013/wfs.map&SERVICE=WFS&VERSION=1.1.0&REQUEST=DescribeFeatureType&TYPENAME=water&OUTPUTFORMAT=text/xml;%20subtype=gml/3.1.1
> http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">
> <gml:boundedBy>
> <gml:Null>missing</gml:Null>
> </gml:boundedBy>
> </wfs:FeatureCollection>
Try to debug mapfile by adding DEBUG 5 то MAP section. Accordingly log file
- no errors, moreover if I change original mapfile with temporary mapfile
created by MapServer with hardcoded FILTER expression - all works fine.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20130122/46824293/attachment.html>
More information about the mapserver-dev
mailing list