Excellent. Thank you.<br><br><b><i>Michael Fuhr <mike@fuhr.org></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> On Fri, Sep 08, 2006 at 10:57:13AM +0100, Donal Regan wrote:<br>> How can I convert postgres circle type data in the form<br>> ((136.415486320932,36.4781234937248),0.120176281150151)<br>> to a postgis geometry type data such as a polygon or multilinestring?<br><br>You could use Buffer(), optionally providing a third argument to<br>specify the number of segments in a quarter circle (the default<br>is 8):<br><br>Buffer(GeomFromText('POINT(136.415 36.478)'), 0.12)<br>Buffer(GeomFromText('POINT(136.415 36.478)'), 0.12, 16)<br><br>If you have a table with a circle column then you could convert it<br>to a geometry like this:<br><br>Buffer(MakePoint((point(col))[0], (point(col))[1]), radius(col))<br><br>-- <br>Michael
 Fuhr<br>_______________________________________________<br>postgis-users mailing list<br>postgis-users@postgis.refractions.net<br>http://postgis.refractions.net/mailman/listinfo/postgis-users<br></blockquote><br><p>
                <hr size=1> 
<a href="http://us.rd.yahoo.com/mail/uk/taglines/default/nowyoucan/pc_mag/*http://us.rd.yahoo.com/evt=40565/*http://uk.docs.yahoo.com/nowyoucan.html">All new Yahoo! Mail</a> "The new Interface is stunning in its simplicity and ease of use." - PC Magazine