[Mapserver-users] truetype symbol size in legend
Moritz Lennert
mlennert at club.worldonline.be
Mon Apr 26 08:02:28 PDT 2004
Hello,
Going on with the learning process concerning (proportionately sized)
truetype symbols...
Thanks to Jan Hartmann and Michael Schulze, I can now satisfyingly display
symbols proportionate to a given attribute. Now I would like to be able to
display this symbol in the legend at a reaonable size.
Below is my entire layer definition. When I display this, I get a
one-pixel point in the legend for "Symbole cercle TT". I can "hack" a
larger symbol by using the SYMBOL and SIZE commands. However, this works
as long as SIZE is smaller then the smallest value in LABELSIZEITEM,
otherwise everything smaller is scaled up to the value of SIZE...
Is there a way of defining the size of one symbol within the legend ?
Moritz
********Layer definition**************
LAYER # Cerclestt
Name Cerclestt
DATA centres_communes
STATUS OFF
TYPE POINT
LABELSIZEITEM VOITURE
FILTER ([VOITURE] > 0)
CLASS
NAME "Symbole cercle TT"
COLOR 255 0 0
TEXT "N" # charactère correspondant au symbole du cercle dans la
police ESRI1
LABEL
POSITION cc
FONT esri_1
TYPE truetype
FORCE true
COLOR 255 0 0
ANTIALIAS true
END
END
END # Cerclestt
More information about the MapServer-users
mailing list