LABELITEM
william paul
williampaul28 at YAHOO.COM
Sat Dec 9 06:32:34 PST 2006
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20061209/9daa7e2e/attachment.htm>
More information about the MapServer-users
mailing list