Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

MapServer allows you to define styles for features.  These can be stacked on top of each other.  Common simple style settings are:

POINT (SYMBOL)
STYLE
    SYMBOL "circle"
    SIZE 8
    COLOR 0 128 0
END
POLYGON
STYLE # solid fill
	COLOR 115 192 0
END

STYLE # thick outline (could use a circle symbol with size too)
    OUTLINECOLOR 0 0 0
    WIDTH 2
    ANTIALIAS TRUE
END
POLYLINE
NAME "Streets"
   STYLE
      COLOR 192 192 192
      SYMBOL 'continue' 
      SIZE 4
      ANTIALIAS TRUE
   END
   STYLE
      COLOR 255 255 255 
      SYMBOL 'continue' 
      SIZE 2
      ANTIALIAS TRUE
   END
ANNOTATION
CLASS
      LABEL
         FONT "arialbd"
         TYPE TRUETYPE
         COLOR 0 0 0
         OUTLINECOLOR 255 255 255
         SIZE 10
         POSITION cc
         ANTIALIAS TRUE
      END
END
  • No labels