I have a DB in pgAdmin and in one table i have an field named "description" that only can have 2 descriptions: "car" or "bike" in geoserver i set this label and work well:

 <CssParameter name="font-family">Arial</CssParameter>
 <CssParameter name="font-style">Normal</CssParameter>
 <CssParameter name="font-size">12</CssParameter>
 <CssParameter name="fill">#b7d5ff</CssParameter>

but i want different colors for the 2 possibles descriptions. who is possible in geoserver?

  • Yes, use a filter
    – Ian Turton
    Commented May 1, 2018 at 8:27
  • i dont know how, can you help me ?
    – SaPires
    Commented May 1, 2018 at 9:00


Browse other questions tagged or ask your own question.