[Mapserver-users] wfs doubt [2]
bartvde at xs4all.nl
bartvde at xs4all.nl
Wed Jun 2 08:04:03 PDT 2004
Hi Cristina,
BTW your Filter does not make any sense.
<Filter><Within><PropertyName>cities/NAME</PropertyName></Within></Filter>
Within is a spatial filter and should always have a gml:Box element inside.
You cannot perform a Within filter on a non-spatial column like NAME in
your example.
Best regards,
Bart
> Hi Cristina,
>
> I had a lot out trouble getting to read your HTML e-mail, but anyway got
> it figured out ...
>
> I would suggest upgrading to Mapserver 4.2 as a lot of Filters have been
> added.
>
> I don't think the 4.0.1 version supports the Within spatial operator
> (AFAIK only the BBOX spatial filter was supported in that version).
>
> BTW: there is a small error in the current WFS capabilities (Daniel,
> Assefa):
>
> <ogc:DWithin/>
>
> should be
>
> <ogc:Within/>
>
> Best regards,
> Bart
>
> ---
> Hi,
>
> I´m using Mapserver 4.0.1.
>
> I´m trying to filter some properties... but I get all!
>
> ...map=../htdocs/edesta/wfsVersion.map&service=wfs&version=1.0.0&request=getFeature&typename=cities&FILTER=<Filter><Within><PropertyName>cities/NAME</PropertyName></Within></Filter>
>
> even if I want to limit the number of features returned with the
> following, I get all features available!
>
> ...map=../htdocs/edesta/wfsVersion.map&service=wfs&version=1.0.0&request=getFeature&typename=cities&maxfeatures=2
>
>
>
More information about the MapServer-users
mailing list