From: Sandro Santilli Date: Tue, 6 Dec 2005 15:37:27 +0000 (+0000) Subject: Updated SnapToGrid documentation X-Git-Tag: pgis_1_1_0~86 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9a2342332f3af34126285e82b1d1df03b607897c;p=postgis Updated SnapToGrid documentation git-svn-id: http://svn.osgeo.org/postgis/trunk@2147 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/postgis.xml b/doc/postgis.xml index 9a70fbec1..b75278d5c 100644 --- a/doc/postgis.xml +++ b/doc/postgis.xml @@ -4672,10 +4672,40 @@ FROM geometry_table; eventually returning NULL if output points are not enough to define a geometry of the given type. Collapsed geometries in a collection are stripped - from it. - Note that returned geometry might loose its + from it. + + + The returned geometry might loose its simplicity (see IsSimple). + + + + Before release 1.1.0 this function always returned + a 2d geometry. Starting at 1.1.0 the returned geometry + will have same dimensionality as the input one with higher + dimension values untouched. Use the version taking a second + geometry argument to define all grid dimensions. + + + + Availability: 1.0.0RC1 + + + + + + SnapToGrid(geometry, geometry, sizeX, sizeY, sizeZ, sizeM) + + + Snap all points of the input geometry to the grid + defined by its origin (the second argument, must be a point) + and cell sizes. Specify 0 as size for any dimension you don't + want to snap to a grid. + + + Availability: 1.1.0 +