Draw circle
Steve Lime
steve.lime at DNR.STATE.MN.US
Wed Feb 2 13:11:30 PST 2005
There is also a CIRCLE layer type. You can construct a shapefile of
simple lines, 2 points per line. Where the points represent the bounding
box for the circle (this works with inline features too). The LAYER
might look like:
LAYER
NAME 'circles'
TYPE CIRCLE
DATA '/usr/local/data/circles'
...
END
Steve
>>> Jeff Portwine <jdport at VERITIME.COM> 2/2/2005 10:24:37 AM >>>
Put something like this in your map file. The numbers in the
"points" section refer to the diameter in the X direction and the
diameter in the Y direction. If the numbers are the same you get a
circle, otherwise you will get an ellipse.
SYMBOL
NAME "circle"
TYPE ellipse
FILLED true
POINTS
12 12
END
END
-Jeff
----- Original Message -----
From: Jose Luis Gonzalez
To: MAPSERVER-USERS at LISTS.UMN.EDU
Sent: Wednesday, February 02, 2005 11:02 AM
Subject: [UMN_MAPSERVER-USERS] Draw circle
Is there any easy way to draw a circle on a map without having to
make it your self by drawing small lines?
thank you
Jose Luis
More information about the MapServer-users
mailing list