[postgis-devel] function for fishnet or grid

Mike Toews mwtoews at gmail.com
Sat Feb 11 18:08:43 PST 2012


Hi Derek,

I've seen a few methods to do this. See:
http://gis.stackexchange.com/a/16390/1872
http://gis.stackexchange.com/a/4672/1872

Some of these can be adapted to accept a geometry or bounding box,
then return a grid.

-Mike

On 11 February 2012 01:53, Derek Morgan <jdmorgan at unca.edu> wrote:
> Hello,
>
> I am interested in creating a fishnet or grid of 30m-by-30m polygons
> for a given area extent.  I was hoping someone of the forum could
> point me in the right direction to do this in PostGIS.  I have PostGIS
> setup and am able to create a function.   So, I was thinking that this
> could be done inside of a function by passing in a given geometry
> (perhaps a bounding box) as a parameter and receiving back a geometry
> object of the grid.
>
> Thanks,
> Derek
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel



More information about the postgis-devel mailing list