Use of a TrueType font as a map symbol...

Stephen Lime steve.lime at dnr.state.mn.us
Mon Jan 31 07:41:51 PST 2000


Jason: You can already do this. I posted a howto to the user group once, or prehaps
just to one user (Brent you still got that?). Basically you define a layer that looks like
this (note use annotation instead of point):

LAYER
  NAME "test"
  TYPE ANNOTATION
  STATUS ON
  DATA "some/point/shapefile"
  LABELCACHE OFF # turn the caching off for this layer so font is drawn like a marker would be

  CLASS
    TEXT "?" # the text is actually the keyboard character that corresponds to the right symbol in the font
    LABEL
      TYPE TRUETYPE
      FONT "symbol"
      SIZE ...
    END
  END
END

Hopefully the first message will be re-posted. Had better detail I think. I'll look and see if I still have a copy.

Steve


Stephen Lime
Internet Applications Analyst

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937

>>> Jason Maestri <sl57k at cc.usu.edu> 01/26/00 10:07PM >>>
To who it may concern,
    Sorry to bother you, but I was wondering if there was a way to use a
true-type font as the symbol, when drawing POINT layers.  Is such a
thing possible?  If not, do you expect to be adding that functionality
soon?

Thanks,
    Jason Maestri
    Utah State University
    Dept. of Civil and Environmental Engineering





More information about the MapServer-users mailing list