[mapserver-users] Composing symbols

KRUSEMARK Matthew G matthew.g.krusemark at co.multnomah.or.us
Mon Nov 4 14:55:06 PST 2002


Hi John,

Here is an example from a Map file where you create the map symbol and use
LABELITEM from the database (dbf of shapefile in this case)

LAYER
  NAME freeway
  MAXSCALE 600000
  STATUS ON
  DATA fwy
  TYPE ANNOTATION
  LABELITEM "number"
  CLASSITEM "hwy_type"
  CLASS
    EXPRESSION "int" 
    COLOR 0 0 0 
    SYMBOL 'symbols/interstate.gif'
    LABEL
      MINFEATURESIZE 50
      MINDISTANCE 150
      POSITION CC
      SIZE TINY
      COLOR 255 255 255
    END
  END
END # freeway  annotation 

I am sure there are other ways as well, -matthew

-----Original Message-----
From: John McCue
To: mapserver-users at lists.gis.umn.edu
Sent: 11/4/2002 12:59 PM
Subject: [mapserver-users] Composing symbols

Is there a way to make a symbol that is composed of a symbol and a
label?  I
want to use a highway shield character and put the route number from the
database on it.

Thanks for any help.
John




More information about the MapServer-users mailing list