[Mapserver-users] Display of text labels by type

Stephen Clark stephen.clark at focus.ca
Thu Jan 22 11:58:46 PST 2004


Hello,

I have a shape point file with names of point locations.

Each point location has a type such as City, town, locality, etc.,

How can I specify that the point is annotated by using the "type" of point
feature?

I have included a sample layer file as reference.

thanks
Stephen



LAYER
  NAME "bcgnis_pop_place"
  STATUS OFF
  DATA "d:/shp/NEBC_pop_place_name"
  TYPE ANNOTATION
  LABELITEM "NAME"
  CLASS
    COLOR 0 255 0
    LABEL
      MINFEATURESIZE 40
      MINDISTANCE 150
      POSITION CC
      COLOR 0 255 0

      FONT arial
      TYPE truetype
      SIZE 10
      #FORCE TRUE
    END
  END


END




More information about the MapServer-users mailing list