label rounded with a circle
Gary Watry
watry at COAPS.FSU.EDU
Wed Nov 30 11:45:11 PST 2005
I am not 100% sure but you might be able to use the overlay function in the
class within a layer
I use this to draw shields and circles under highway numbers
It may not be sweet but it works.
If this is what you have in mind
LAYER
NAME "roads"
DATA "d:\mapdata\transportation/Interstatesl250K"
STATUS on
TYPE annotation
LABELCACHE on
LABELITEM "Number"
MAXSCALE 8000000
CLASS
STYLE
SYMBOL "Interstate"
SIZE 21
COLOR 0 0 245
OFFSET 0 6
END
OVERLAYSYMBOL "Interstate1"
OVERLAYSIZE 21
OVERLAYCOLOR 255 0 0
LABEL
TYPE truetype
FONT 'arial'
SIZE 7
COLOR 255 255 255
MINFEATURESIZE 50
OFFSET 0 6
END
END
END
______________________________________________________________
Gary L. Watry
GIS Coordinator
Center for Ocean-Atmospheric Prediction Studies
FSU / COAPS
Johnson Building, RM 215
2035 East Paul Dirac Drive
Tallahassee, Florida 32306-2840
E-Mail: watry at coaps.fsu.edu
-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Lowell.Filak
Sent: Wednesday, November 30, 2005 2:41 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] label rounded with a circle
Miguel de la Fuente writes:
> Hello,
>
> does anybody know how to put a circle around the labels in MapServer? An
> example please?
Miguel,
From what I understand you need to label it twice, once with a circle and
once with the real label. There is the ability to provide a mask but not a
"circle" mask. Come to think of it do you really want a circle or more like
an oval?
Lowell
More information about the MapServer-users
mailing list