LABELITEM

Steve Lime Steve.Lime at DNR.STATE.MN.US
Mon Dec 11 12:35:36 EST 2006


Nope.

>>> william paul <williampaul28 at YAHOO.COM> 12/10/2006 5:11:32 AM >>>
Thank you a lot Stephen, it worked
   
  Is it possible to have 2 different fonts? each for 1 column?
   
  example:
   
  NAME use arial font
  PLACE use verdana font?
   
  William

Stephen Woodbridge <woodbri at SWOODBRIDGE.COM> wrote:
  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.

> 


 
---------------------------------
Everyone is raving about the all-new Yahoo! Mail beta.



More information about the mapserver-users mailing list