<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><div>Totally off the cuff....</div><div><br></div><div>$shape = ms_shapeObjFromWKT('POINT('+$x+' '+$y+')');</div><div>$shape = $shape-&gt;buffer($radius);</div><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><br><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><font size="2" face="Tahoma"><b><span style="font-weight: bold;">From:</span></b> Helen Eskina &lt;heskina@ubitech.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> mapserver-users@lists.osgeo.org<br><b><span style="font-weight: bold;">Sent:</span></b> Thu, December 17, 2009 3:50:20 PM<br><b><span style="font-weight: bold;">Subject:</span></b> [mapserver-users] How to draw a circle using
 MapScript?<br></font><br>



 
 
<style>
<!--
 
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
span.EmailStyle17
        {font-family:"Times New Roman";color:windowtext;font-weight:normal;font-style:normal;text-decoration:none none;}
 _filtered {margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {}
-->
</style>





<div class="Section1">

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="
font-size:12.0pt;">Hello List,</span></font></p>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="
font-size:12.0pt;">&nbsp;</span></font></p>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="
font-size:12.0pt;">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? </span></font></p>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="
font-size:12.0pt;">&nbsp;</span></font></p>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="
font-size:12.0pt;">I would really appreciate any help!</span></font></p>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="
font-size:12.0pt;">&nbsp;</span></font></p>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="
font-size:12.0pt;">Thank you,</span></font></p>

<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="
font-size:12.0pt;">Helen</span></font></p>

</div>




</div></div></blockquote><div style="position:fixed"></div>


<!-- cg23.c2.mail.ac4.yahoo.com compressed/chunked Thu Dec 17 06:43:18 PST 2009 -->
</div><br>



      </body></html>