Thanks, I used SYMBOLSCALEDENOM to scale the symbols are different scales.

Regards,
Inna 

-----Original Message-----
From: mapserver-users [mailto:[email protected]] On 
Behalf Of Stephen Woodbridge
Sent: Thursday, 10 November 2016 12:20 PM
To: [email protected]
Subject: Re: [mapserver-users] Mapserver - classifying multiple symbol sizes 
with multiple colours [SEC=UNCLASSIFIED]

STYLE
    SYMBOL 'xyz'
    SIZE [size]
    COLOR [colour]
END

where [colour] is a string "#rrggbb"

-Steve W

On 11/9/2016 6:35 PM, Inna Nogeste wrote:
> 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 
> _______________________________________________
> mapserver-users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to