Geoserver SLD attribute-based symbology

المشرف العام

Administrator
طاقم الإدارة
I have a dataset where multiple attributes need to be shown with the same symbol. I can achieve this using multiple 'PropertyIsEqualTo' operators nested within 'Or' logical operators, see below example;

CURRENT_ST AB-LOC CURRENT_ST ABD This seems a little inefficient, especially considering I have about 10 different symbol types each with about 10 contributing attributes.Ideally you would just clean the attribute data up, or add a symbol field that grouped them together but that is not an option in this case.

Is there a more efficient way of doing this?

For example being able to list the attributes something like the below would be great;

CURRENT_ST 'AB-LOC','ABD','ABC','DEF'

أكثر...
 
أعلى