<pre><font style="font-family: arial,helvetica,sans-serif;" size="2">Hi,<br><br>I try to create a filter like that:<br><br>filter=new OpenLayers.Filter.Logical({<br> type:"!",<br> filters:[new OpenLayers.Filter.FeatureId({<br>
fids: "test.4"<br> })]<br>});<br><br>It's work but when I would like to transform this in SLD like:<br>f=new OpenLayers.Format.Filter();<br>f.write(filter);<br><br>I have this:<br>Filter writing not supported for rule type: undefined<br>
<br>If I try to start with an SLD an make f.read() it's doesn't works too, I<br>have an empty filter Not.<br><br>I use OpenLayers 2.8.<br>Anyone know how can make this kind of filter?<br><br>Regards<br><br>Jim</font><br clear="all">
</pre>-- <br>Aumard Jimmy<br>Développeur <br><br>KINAXIA<br>c/o CICA / PacaEst<br>2229 Route des Crêtes<br>F-06560 Sophia Antipolis<br><br>Tél.: +33 (0)4 8973 0242<br>Mob.: +33 (0)6 6017 2827<br>Fax : +33 (0)4 8307 6583<br>
<br><a href="http://www.kinaxia.fr">http://www.kinaxia.fr</a><br>