[postgis-users] ST_Buffer + grid problem

Ed Linde edolinde at gmail.com
Wed Mar 21 12:15:28 PDT 2012


Hi all,
I am not sure if this is possible, but I have computed (using ST_Buffer) a
sort of buffer around several LINESTRINGs. Now I would like to
lay some sort of grid of say 1m^2 cell size on top of this collection of
geometries and then compute the intersection... so in the end I would
like to for example, know that grid cell ID = 1 intersects with buffers 1
and 10, grid cell 2 intersects with buffers 7, 10 etc..

Is there a simple way of doing this in postgis? Maybe someone could point
me to some documentation of how I can generate such a grid in
postgis and maybe then I can use just ST_Intersect once I have these two
geometries?

Thanks in advance,
Ed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20120321/fed4e622/attachment.html>


More information about the postgis-users mailing list