[postgis-devel] SnapToGrid and higher dimensions

Markus Schaber schabi at logix-tt.com
Fri Dec 2 03:28:04 PST 2005


Hi, Strk,

strk at refractions.net wrote:

> A BOX4D type could do, representing grid cell prototype.
> Unfortunately adding a new type would require users to dump/reload
> to upgrade to postgis 1.1.0 (currenlty unneeded).

I agree with you that a BOX4D is not worth the effort, although I think
it is possible to add a completely new datatype without dump/reload. No
old data has to be migrated (because their storage format will not
change), we only have a bunch of new new and some changed definitions.

> SnapToGrid(geometry input, point offset,
>	float8 xsize, float8 ysize, [float8 zsize], [float8 msize]);




More information about the postgis-devel mailing list