[OpenLayers-Users] WFS Vector data styling and filtering

Eric Lemoine eric.c2c at gmail.com
Thu Sep 18 01:40:57 EDT 2008


Hi. The WFS protocol class that's been developed in the
vector-behavior sandbox does support filter. This work isn't in trunk
yet, but will probably be in pretty soon, it might even be in 2.7
which should come out in a week or so. So you have to options: either
wait for Protocol.WFS to be in trunk (or better in 2.7) or use the
vector-behavior sandbox. Note that the sandbox isn't in sync with
trunk, so it might wiser to wait a bit (my opinion here). Eric

2008/9/17, Per-Olof Norén <pelle at alma.nu>:
> Hi guys,
>
> We're using openlayers 2.6 o show markers served from geoserver WFS that
> is backed by postgis.
>
> What we need to do is to dynamically setting  a ogc filter to the WFS
> requests made to the server and to style markers according to feature data.
>
> So far I have managed to display markers using OpenLayers.Layer.WFS
> However, reading mail archives suggests that the WFS Layer does not
> support the OGC filter parameter.
>
> For styling, we've been looking to something along this:
> http://openlayers.org/dev/examples/styles-unique.html
>
> So, does anyone have any suggestions regarding which Layer subclass to use?
>
> thanx in advance
> pelle
>
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>


More information about the Users mailing list