I am trying to convert sld to css style. The below code is have written SLD style for filter a word using PropertyIsLike

      <ogc:PropertyIsLike wildCard="%" singleChar="_" escape="\">

How to write the above SLD in CSS format?

1 Answer 1


Based on the documentation it appears your query would be written as:

[name LIKE '%police%']

It doesn't appear that you can change the wildcard characters based on this:

Patterns use _ to indicate a single unspecified character and % to indicate an unknown number of unspecified characters.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.