[mapserver-users] proportional circle legend

Daniel Morissette dmorissette at mapgears.com
Wed Dec 19 07:34:05 PST 2012


Hi Steve,

I think your best would be to set a KEYIMAGE in your CLASS:

http://mapserver.org/mapfile/class.html

Daniel



On 12-12-17 1:39 PM, Steve.Toutant at inspq.qc.ca wrote:
>
> Hi,
> I created a thematic map showing proportional circles. I did that by
> using a table attribute for the SIZE of my circles. It works great.
> CLASS
> NAME 'Pop'
> STYLE
>          SYMBOL 'CIRCLE'
>          SIZE [rayonquot]
>          COLOR 168 221 181
>          OUTLINECOLOR 0 0 0
> END
> END
>
> I would like to generate a nice legend for this layer. Currently I get a
> small dot. I would like to create a commonly used legend for
> proportional circles such as
> http://www.google.ca/imgres?imgurl=http://makingmaps.files.wordpress.com/2007/08/scaled-circles.png&imgrefurl=http://makingmaps.net/2007/08/28/perceptual-scaling-of-map-symbols/&h=437&w=684&sz=49&tbnid=9UOZ3j0H8Wah_M:&tbnh=77&tbnw=120&zoom=1&usg=__m0l8_OAAITIGopuQGi7_yE7Ge4I=&docid=1U4GvObRwxH3MM&hl=fr&sa=X&ei=YGbPUO3NLKmq0AG2t4FA&ved=0CDgQ9QEwAQ&dur=656
>
>
> or
>
> http://www.google.ca/imgres?imgurl=http://www.historicalatlas.ca/website/hacolp/defining_episodes/military/unit_40/images/LEG_INFO_CE1419_final_rest.gif&imgrefurl=http://www.historicalatlas.ca/website/hacolp/defining_episodes/military/unit_40/U40_leg_info_CE1419.htm&h=90&w=217&sz=4&tbnid=nxf1TkPjY35LxM:&tbnh=50&tbnw=120&zoom=1&usg=__FbmbgCcqIwMCjLtNgWix6tyWeXc=&docid=dtQd4I2ykpB1FM&hl=fr&sa=X&ei=YGbPUO3NLKmq0AG2t4FA&ved=0CD4Q9QEwAw&dur=413
>
>
> Any ideas on how to do that?
> thanks
> steve
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>


-- 
Daniel Morissette
http://www.mapgears.com/
Provider of Professional MapServer Support since 2000



More information about the mapserver-users mailing list