<div dir="ltr">Thanks <span name="Sandro Santilli" class="">Sandro <br></span></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 6, 2013 at 2:15 PM, Sandro Santilli <span dir="ltr"><<a href="mailto:strk@keybit.net" target="_blank">strk@keybit.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Dec 06, 2013 at 11:34:40AM +0530, anurag singh wrote:<br>
> *Hi everyone!!!!!*<br>
><br>
> *This is my first question on this site. I am developing a small<br>
<div class="im">> application where there is a requirement for generating a buffer in form of<br>
</div>> regular hexagon.*<br>
> *I have already created the circle using **ST_Buffer(ST_MakePoint("x1","<br>
> y1"), 1000, 4 )** but not getting that how i can create a regular hexagon.<br>
> I am stuck on this point *<br>
> *please help me .*<br>
<br>
Try this: <a href="https://github.com/CartoDB/cartodb/blob/v2.5.6/lib/sql/scripts-available/CDB_Hexagon.sql" target="_blank">https://github.com/CartoDB/cartodb/blob/v2.5.6/lib/sql/scripts-available/CDB_Hexagon.sql</a><br>
<br>
--strk;<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><font face="tahoma, sans-serif">Thank's & Regard's</font><div style="text-align:left"><font face="tahoma, sans-serif">Anurag Singh</font></div>
</div>