[mapserver-users] How to draw a circle using MapScript?
Dan Little
danlittle at yahoo.com
Thu Dec 17 13:54:22 PST 2009
Totally off the cuff....
$shape = ms_shapeObjFromWKT('POINT('+$x+' '+$y+')');
$shape = $shape->buffer($radius);
>
>From: Helen Eskina <heskina at ubitech.com>
>To: mapserver-users at lists.osgeo.org
>Sent: Thu, December 17, 2009 3:50:20 PM
>Subject: [mapserver-users] How to draw a circle using MapScript?
>
> >
>>
>Hello List,
>
>I want to be able to draw a circle dynamically using PHP MapScript. The
>circle is defined by the coordinates of the centre and the radius in kilometers.
>I realize that the circle is a polygon and I should probably calculate all
>points. What is the best way to do it?
>
>I would really appreciate any help!
>
>Thank you,
>Helen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20091217/cc3e9706/attachment.htm>
More information about the MapServer-users
mailing list