[Mapserver-users] How to use annotation layer

Prashanth Ram pram at pramcentral.com
Wed Jan 15 02:18:23 EST 2003


Hi Frode:  I hope this helps.. I just got mine working a few days ago.. This
is the snippet from my map file:

LAYER
  NAME townsp1_anno
  MAXSCALE 300000
  STATUS ON
  DATA townsp1
  TYPE ANNOTATION
  LABELITEM "Town"
  CLASS
    COLOR 255 255 255
    LABEL
      FONT arial
      MINSIZE 9
      MINFEATURESIZE 40
      MINDISTANCE 10
      POSITION CC
      SIZE TINY
      COLOR 0 0 0
      #ANGLE 45
    END
  END
END # Town annotation

This enables the town name to be always on..
Hope this helps...
-Prashanth


John Doe wrote:

> Hi everybody
>
> Is there anybody outthere who can show me how to use a annotation layer in
> MapServer? (it's the kind of annotation which is used in arcview/arcinfo).
>
> Thank you,
> Frode
>
> ------------------------------------------------------------
> Få din egen @start.no-adresse gratis på http://www.start.no/
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users





More information about the mapserver-users mailing list