[postgis-users] generating a grid from centroids

P Kishor punk.kish at gmail.com
Sun May 16 20:58:26 PDT 2010


The usual problem is to generate a coverage of points (centroids) from
a regular grid. My problem is the opposite. I have a coverage of
lat-lon points. I want to generate a grid from these points such that
each grid cell is 1 km x 1 km, and its centroid is a respective point
in the coverage. Yes, the points are lat-lon, and I want the grid dims
to be 1 km x 1 km.

Any suggestions on how I could do this?

Thanks,

-- 
Puneet Kishor



More information about the postgis-users mailing list