[Mapserver-users] line thickness?

Nick Petersen-Bergeron bergeron at zedxinc.com
Wed Aug 13 12:43:28 PDT 2003


At 08:59 PM 8/13/2003 +0200, Bruce Bushby wrote:
mapserver-users at lists.gis.umn.edu

You can specify line thickness by adding a circular symbol to the layer, 
and then changing the size of the symbol.  For example, here's a symbol 
declaration:

SYMBOL
   NAME "circle"
   TYPE ellipse
   FILLED true
   POINTS
     1 1
   END
END

and here's a layer you would use it in.

LAYER
         NAME boundary
         TYPE polygon
         DATA ""

         STATUS ON
                 CLASS
                    NAME "boundary"
                    SYMBOL 'circle'
                    SIZE 5
                    OUTLINECOLOR 255 0 0
                    COLOR -1 -1 -1
                 END
         END

Just tailor that layer to suit your needs.  Adjusting the size declaration 
in the boundary Class will adjust the thickness of the line.



Nick Petersen-Bergeron
System Administrator

ZedX Inc.
369 Rolling Ridge Drive
Bellefonte, PA. 16823




More information about the MapServer-users mailing list