[mapserver-users] Question about PropertyIsLike SLD

David Alda Fernandez de Lezea dalda at ikt.es
Sun Jul 4 23:46:12 PDT 2010


Hi list, 

I'm trying to make work a SLD with a PorpertyIsLike Filter, but when get the images back, the filter is no applied, maybe I'm just doing something wrong. I want to perform this: 

(vi_vinedo_ like '%some_value%') 

And in the SLD I've put this:

<Filter><PropertyIsLike wildCard=\"*\" singleChar=\".\" escapeChar=\"!\"><PropertyName>vi_vinedo_</PropertyName><Literal>*"+ id +"*</Literal></PropertyIsLike></Filter>

But the filter is not applied and I get drawn all the features. What could be happening??

MapServer 5.2.1

Thanks.
 
 
Un saludo,
 
··················································································

David Alda Fernández de Lezea
Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y Biodiversidad
 
IKT
Granja Modelo s/n · 01192 · Arkaute (Araba)

··················································································
Tlfnos.: 945-00-32-95                         Fax: 945-00.32.90
··················································································
email: dalda at ikt.es                                web: www.ikt.es
··················································································



More information about the MapServer-users mailing list