[OpenLayers-Dev] WFS GetFeature with Filter: bug?

Andreas Hocevar ahocevar at opengeo.org
Wed Oct 20 10:44:05 EDT 2010


Hi,

how did you create your GetFeature request?

Regards,
Andreas.

On Oct 20, 2010, at 16:18 , Christoph Baudson wrote:

> Hi OpenLayers devs,
> 
> when creating a WFS GetFeature request with OpenLayers 2.10 I get this [1].
> 
> However, MapServer doesn't interpret the filter, all features of the featuretype are returned. Apparently, this is due to the "And" operator wrapping only a single term. The OGC spec says, "And" shall only be applied with two or more terms.
> 
> Is this a bug in OpenLayers? If I remove the "And" tags from the XML, it works in MapServer.
> 
> Your help is very much appreciated,
> 
> Christoph
> 
> [1] http://osgeo.pastebin.com/qgU4pJ9R
> 
> -- 
> 
> ********************************************
> Where2B Konferenz 2010
> 09. Dezember 2010 in Bonn
> www.where2b-conference.com
> ******************************************** 
> ----------------------------------
> 
> Aufwind durch Wissen!
> 
> Qualifizierte OpenSource-Schulungen
> bei der www.foss-academy.eu
> 
> ---------------------------------- 
> _______________________________________
> 
> W h e r e G r o u p GmbH & Co. KG
> 
> Siemensstraße 8
> 53121 Bonn
> Germany
> 
> Christoph Baudson
> Anwendungsentwickler
> 
> Fon: +49 (0)228 / 90 90 38 - 15
> Fax: +49 (0)228 / 90 90 38 - 11
> christoph.baudson at wheregroup.com
> www.wheregroup.com
> Amtsgericht Bonn, HRA 6788
> _______________________________________
> 
> Komplementärin:
> WhereGroup Verwaltungs GmbH
> vertreten durch:
> Olaf Knopp, Peter Stamm
> _______________________________________ 
> _______________________________________________
> Dev mailing list
> Dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-dev



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.



More information about the Dev mailing list