label rounded with a circle
Andy Canfield
andy.canfield at GMAIL.COM
Wed Nov 30 13:51:38 PST 2005
Here is what I did to put a label on a circle. My Layer definition
looks like this:
LAYER
NAME "TAPS"
METADATA
"DESCRIPTION" "TAPS"
"RESULT_FIELDS" "MAP VALUE TYPE"
END
TYPE POINT
LABELITEM "VALUE"
STATUS OFF
DATA "TAPS"
CLASSITEM "TYPE"
CLASS
TEMPLATE "ttt_query.html"
LABEL
COLOR 0 0 0
FONT fritqat
TYPE truetype
SIZE 6
FORCE true
POSITION cc
PARTIALS FALSE
END
EXPRESSION /2$/
COLOR 255 255 255
OUTLINECOLOR 0 0 0
SIZE 12
SYMBOL "circle"
END
END
and my "circle" symbol definition looks like:
SYMBOL
NAME "circle"
TYPE ellipse
FILLED true
POINTS
25 25
END
END
On 11/30/05, Lowell.Filak <lfilak at medinaco.org> wrote:
> 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