[postgis-devel] SnapToGrid higher dimensions (was: measures test fail)

strk strk at keybit.net
Sun Oct 24 23:54:54 PDT 2010


On Sun, Oct 24, 2010 at 04:53:33PM +0200, Nicklas Avén wrote:
> It seems like m and z snapping is implemented  at the "version 4" (in
> doc) of the function, when a point is used to define the origin of the
> grid cell. Bu tin the more common ST_Snaptogrid(geometry, size_of_grid)
> there is no snapping to m and z.

Uhm.. since it's possible with "version 4" I really don't see the problem.
Eventually, if we want to clean up the interface further we might have:

ST_SnapToGrid(<input>, <size> [, <offset>])

Where both <size> and <offset> are points.

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-devel mailing list