Thursday, 16 April 2015

geoserver - SLD : setting Multiple Values in one Literal Tag


Is it possible to use multiple values in one Literal tag?


This is what I have:


    
name
0



I want to symbolize multiple attributes in one block rather than repeat the above line dozens of times. And unfortunately my table values are not very friendly so I can't use a greater than call. I was hoping for something similar to below (Literal Tag)


    
name
0;10;60;40


And the next Rule would be something like this:


    

name
1;11;62;42


Answer



I would go with something like:



name
1
11
62

42


Alternatively generate a new column in the database with the new classes precomputed in it.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...