[postgis-users] making Hexagoan from coordinate x, y and using distance

anurag singh anurag.gsdl at gmail.com
Fri Dec 6 02:13:24 PST 2013


Thanks Sandro


On Fri, Dec 6, 2013 at 2:15 PM, Sandro Santilli <strk at keybit.net> wrote:

> On Fri, Dec 06, 2013 at 11:34:40AM +0530, anurag singh wrote:
> > *Hi everyone!!!!!*
> >
> > *This is my first question on this site. I am developing a small
> > application where there is a requirement for generating a buffer in form
> of
> > regular hexagon.*
> > *I have already created the circle using **ST_Buffer(ST_MakePoint("x1","
> > y1"), 1000, 4 )**  but not getting that how i can create a regular
> hexagon.
> > I am stuck on this point *
> > *please help me .*
>
> Try this:
> https://github.com/CartoDB/cartodb/blob/v2.5.6/lib/sql/scripts-available/CDB_Hexagon.sql
>
> --strk;
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>



-- 
Thank's & Regard's
Anurag Singh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20131206/f6f6c11a/attachment.html>


More information about the postgis-users mailing list