[OpenLayers-Users] Filter logical Not + featureId not work (read and write)

Ivan Grcic igrcic at gmail.com
Sun Jan 10 10:14:02 EST 2010


Hi, check out this:

http://n2.nabble.com/Fwd-Help-to-create-FeatureId-filter-OpenLayers-Filter-Logical-NOT-td4146688.html

Cheers

On Thu, Jan 7, 2010 at 9:34 AM, Jimmy Aumard <jimmy.aumard at gmail.com> wrote:
> Hi,
>
> I try to create a filter like that:
>
> filter=new OpenLayers.Filter.Logical({
>          type:"!",
>         filters:[new OpenLayers.Filter.FeatureId({
>                    fids: "test.4"
>         })]
> });
>
> It's work but when I would like to transform this in SLD like:
> f=new OpenLayers.Format.Filter();
> f.write(filter);
>
> I have this:
> Filter writing not supported for rule type: undefined
>
> If I try to start with an SLD an make f.read() it's doesn't works too, I
> have an empty filter Not.
>
> I use OpenLayers 2.8.
> Anyone know how can make this kind of filter?
>
> Regards
>
> Jim
>
> --
> Aumard Jimmy
> Développeur
>
> KINAXIA
> c/o CICA / PacaEst
> 2229 Route des Crêtes
> F-06560 Sophia Antipolis
>
> Tél.: +33 (0)4 8973 0242
> Mob.: +33 (0)6 6017 2827
> Fax : +33 (0)4 8307 6583
>
> http://www.kinaxia.fr
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>



-- 
Ivan Grcic



More information about the Users mailing list