[mapserver-users] How do I make a shapefile polygon thicker withinUMN Mapserver

Burgholzer,Robert rwburgholzer at deq.virginia.gov
Thu May 8 10:17:26 PDT 2008


John,

One very common approach is to use a symbol for your line style, and
then adjust the size. Viz:

 

   CLASS

      NAME "proj_seggroups"

      SYMBOL 'circle'

      SIZE 3

      COLOR -1 -1 -1

      BACKGROUNDCOLOR 0 0 0

      OUTLINECOLOR 0 0 0

   END

 

And then of course, you need to have the symbol 'circle' defined.  This
is done in the top portion of the mapfile (perhaps the order is not
important, but in all the examples I have seen it is there):

 

 

SYMBOL

  NAME 'circle'

  TYPE ELLIPSE

  POINTS 1 1 END

  FILLED TRUE

END

 

Robert W. Burgholzer

Surface Water Modeler

Office of Water Supply and Planning

Virginia Department of Environmental Quality

rwburgholzer at deq.virginia.gov

804-698-4405

Open Source Modeling Tools:

http://sourceforge.net/projects/npsource/

-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of John
Mitchell
Sent: Thursday, May 08, 2008 1:09 PM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] How do I make a shapefile polygon thicker
withinUMN Mapserver

 

Hi,

How do I make a shapefile polygon thicker within UMN Mapserver?

I have listed below the layer that correctly displays the outlines
contained within the shapefile, but I can't figure out how to make the
polygon outlines thicker.


LAYER
  # name of layer
  NAME stlouisxdrive
  GROUP "gv:stlouisxdrive"

  PROJECTION
   "init=epsg:26915"
  END
  
  # what type of data is this?
  TYPE POLYGON
  
  DATA "C:/TEMP/64Resolution"

  # always returned with interface
  STATUS ON

        CLASS
        OUTLINECOLOR 255 0 0
        END
 END


-- 
John J. Mitchell 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080508/8cce1ebb/attachment.htm>


More information about the MapServer-users mailing list