LABELITEM
Stephen Woodbridge
woodbri at SWOODBRIDGE.COM
Sat Dec 9 09:29:51 PST 2006
Not exactly like that.
Try in the CLASS to add TEXT ([name], [place])
-Steve W
william paul wrote:
> Hello:
>
> Is it possible to have 2 columns for LABELITEM?
>
> I have 2 CLASS in the map file. For the first CLASS I want to use
> LABELITEM "name" and for the second class I want to use LABELITEM
> "place", so for each CLASS I can set different labels from different columns
>
> Thank you in advance
>
> example:
> CLASSITEM "class"
> LABELITEM "name" and "place"
> CLASS
> NAME "class1"
> EXPRESSION "2"
> STYLE
> COLOR 112 112 112
> SYMBOL "POINT"
> SIZE 7
> END
> LABEL
> COLOR 112 112 112
> TYPE TRUETYPE
> FONT arial
> MAXSIZE 7
> MINSIZE 7
> ANTIALIAS true
> POSITION auto
> PARTIALS TRUE
> MINDISTANCE 100
> BUFFER 0
> ENCODING "iso-8859-1"
> FORCE true
> END # end of label
> TEMPLATE "query_templates/template.html"
> END
> CLASS
> NAME "class2"
> EXPRESSION "1"
> STYLE
> COLOR 255 0 0
> SYMBOL "POINT"
> SIZE 7
> END
> LABEL
> COLOR 255 0 0
> TYPE TRUETYPE
> FONT verdana
> MAXSIZE 7
> MINSIZE 7
> ANTIALIAS true
> POSITION uc
> PARTIALS TRUE
> MINDISTANCE 100
> BUFFER 0
> ENCODING "iso-8859-1"
> FORCE true
> END # end of label
> TEMPLATE "query_templates/template.html
> END
> William
>
> Want to start your own business? Learn how on Yahoo! Small Business.
> <http://us.rd.yahoo.com/evt=41244/*http://smallbusiness.yahoo.com/r-index>
More information about the MapServer-users
mailing list