Changes between Initial Version and Version 1 of RasterAnnotations


Ignore:
Timestamp:
Oct 21, 2010, 1:52:23 PM (14 years ago)
Author:
kjelderg
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RasterAnnotations

    v1 v1  
     1= Hints and Tips for Creating a Raster-based Annotations Layer in !MapServer =
     2
     3The annotations layer provides an excellent mechanism for automatically placing labels and symbols.  For some uses, however, you may want a symbol with effectively no label at all.  Unfortunately, many mechanisms for attempting this result in neither the symbol nor the label to display.  The following method allows for no (visible) label while still rendering symbols at automatically selected locations.
     4
     5{{{
     6LAYER
     7  NAME "shields"
     8  DATA shield_file
     9  STATUS default
     10  TYPE annotation
     11  CLASS
     12    TEXT ' '
     13    STYLE
     14      SYMBOL [shieldtype]
     15    END
     16    LABEL
     17      MINFEATURESIZE auto
     18      MINDISTANCE 10
     19      REPEATDISTANCE 250
     20      POSITION CC
     21    END
     22  END
     23END
     24}}}
     25
     26Note the key here being the space character (not empty quotes) for the specified text.