[postgis-devel] [postgis-users] creating 3x3 grid inside bounding box

Sandro Santilli strk at keybit.net
Tue Nov 29 13:59:48 PST 2011


In case you missed it, here's a good usecase for a new,
user-visible, Bbox type:

On Tue, Nov 29, 2011 at 04:20:08PM +0100, Yamini Singh wrote:

> I have a table containing multiple polygons. I want to
> create minimum bounding box of that polygon with 3x3 tile inside the bounding
> box. For creating bounding box I am using ST_Extend. However I am not sure how
> do I cut this bounding box into 3x3 tile and show it as geometry.

An ST_Tile(Bbox, vsize, hsize) could be useful for boxes, and maybe
not so much for Geometries.

Note I guess he's talking about ST_Expand, which we have defined for 
all kind of types, each returning the input type (big confusion as always).

--strk;



More information about the postgis-devel mailing list