[OpenLayers-Users] [Geoserver-users] Filter Encoding
bartvde at osgis.nl
bartvde at osgis.nl
Tue Jul 1 05:22:44 EDT 2008
You can't since OpenLayers 2.6 by default uses a BBOX strategy, and BBOX
and FILTER are mutually exclusive.
See e.g.:
http://trac.openlayers.org/ticket/1113
http://trac.openlayers.org/ticket/1430
The new vector behaviour work is gonna solve this by the way, but doesn't
help you now.
Best regards,
Bart
On Tue, 01 Jul 2008 11:15:25 +0200, Fabio D'Ovidio <fabiodovidio at gmail.com>
wrote:
> Hi!
> I am trying to do as following:
>
> var poligono = new OpenLayers.Layer.WFS(
> "Elementi poligonali",
> "/geoserver/wfs",
> {typename: 'topp:poligono'},
> {
> typename: 'poligono',
> featureNS: 'http://www.openplans.org/topp',
> extractAttributes: true,
> filter:
>
'<Filter><PropertyIsEqualTo><PropertyName>idOperazione</PropertyName><Literal>'+OpenLayers.Util.getParameters();+'</Literal></PropertyIsEqualTo></Filter>'
>
>
>
> }
> );
>
>
> It doesn't work! How can I filter my WFS data ?
>
> Tnaks !
>
> --
> Ing. Fabio D'Ovidio
>
> INOVA Open Solutions s.r.l.
> Web : http://www.inovaos.it
> Tel.: 081 197 57 600
> mail: fabiodovidio at gmail.com
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
More information about the Users
mailing list