[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mapserver-users
Subject:    [mapserver-users] WFS with Filter
From:       Jörg_Thomsen <jt () mapmedia ! de>
Date:       2011-10-31 16:14:28
Message-ID: 4EAEC964.30900 () mapmedia ! de
[Download RAW message or body]

Hello,

I have found some older list-entries concerning this topic, but no final
solution.
I am using MapServer version 6.0.1 as WFS, the getFeature returns a nice
XML I can use e.g. in QGIS, so everything seems to be fine. But when I
use a filter in my request like
> http://xxx/cgi-bin/mapserv?map=/data/UMN/bundeslaender.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=Bundeslaender_1000&SRSNAME=EPSG:4326&
>  FILTER=%20%3Cogc:Filter%3E%3Cogc:PropertyIsLike%20wildCard=%27*%27%20singleChar=%27 \
> .%27%20escape=%27!%27%3E%3Cogc:PropertyName%3Ebundesland%3C/ogc:PropertyName%3E%3Cog \
> c:Literal%3E*BRANDENBURG*%3C/ogc:Literal%3E%3C/ogc:PropertyIsLike%3E%3C/ogc:Filter%3E
> 

I get the following answer:
> <wfs:FeatureCollection .....>
> <gml:boundedBy>
> <gml:null>missing</gml:null>
> </gml:boundedBy>
> </wfs:FeatureCollection>

Using the same PG-DB with Mapserver 5.6 the request works.

In former threads I found the questions if it does work with geodata
based on shape-files:
1. it dos not
2. I have to use PG

Anyone any idea?

Jörg


_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic