[OpenLayers-Users] Filter logical Not + featureId not work (read
and write)
Jimmy Aumard
jimmy.aumard at gmail.com
Thu Jan 7 03:34:24 EST 2010
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100107/1a558852/attachment.html
More information about the Users
mailing list