Changes between Initial Version and Version 1 of RasterAnnotations
- Timestamp:
- Oct 21, 2010, 1:52:23 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RasterAnnotations
v1 v1 1 = Hints and Tips for Creating a Raster-based Annotations Layer in !MapServer = 2 3 The 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 {{{ 6 LAYER 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 23 END 24 }}} 25 26 Note the key here being the space character (not empty quotes) for the specified text.