[mapserver-users] Mapserver - classifying multiple symbol sizes with multiple colours [SEC=UNCLASSIFIED]
Inna Nogeste
inna.nogeste at bom.gov.au
Wed Nov 9 15:35:24 PST 2016
I need to symbolise data showing both size and colour, where there are 4 different symbol sizes and 11 different colours. The 11 colours can be applied to all 4 different symbol sizes.
Is there an efficient way to code this or do I need to have 44 different styles/expressions such as the following:
EXPRESSION ([size] = 1 and [colour] = 0%)
EXPRESSION ([size] = 1 and [colour] = 10%)
EXPRESSION ([size] = 1 and [colour] = 20%)
EXPRESSION ([size] = 1 and [colour] = 30%)
to
EXPRESSION ([size] = 4 and [colour] = 100%)
In addition to this, I also need to scale the symbol [size] for different zoom levels which will increase the number of styles/expressions by a factor of at least 2 or 3 resulting in at least 88 blocks of code.
Does anyone have any suggestions for the most/a efficient way to code this?
Regards,
Inna Nogeste | Spatial Information Specialist
Geospatial Data and Services
Information Systems and Services Division
Bureau of Meteorology
www.bom.gov.au
More information about the MapServer-users
mailing list