From: Regina Obe Date: Mon, 19 Dec 2011 04:12:49 +0000 (+0000) Subject: replace box2d with box3d in examples and remaining func X-Git-Tag: 2.0.0alpha1~412 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=053ec9c0c3df71a9a1f4e7d88257359d66434572;p=postgis replace box2d with box3d in examples and remaining func git-svn-id: http://svn.osgeo.org/postgis/trunk@8462 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference_raster.xml b/doc/reference_raster.xml index bee5a115f..8aa006073 100644 --- a/doc/reference_raster.xml +++ b/doc/reference_raster.xml @@ -3145,25 +3145,25 @@ FROM ( SET rast = ST_SetScale(rast,1.5) WHERE rid = 2; -SELECT ST_ScaleX(rast) As pixx, ST_ScaleY(rast) As pixy, Box2D(rast) As newbox +SELECT ST_ScaleX(rast) As pixx, ST_ScaleY(rast) As pixy, Box3D(rast) As newbox FROM dummy_rast WHERE rid = 2; pixx | pixy | newbox ------+------+---------------------------------------------- - 1.5 | 1.5 | BOX(3427927.75 5793244,3427935.25 5793251.5) + 1.5 | 1.5 | BOX(3427927.75 5793244 0,3427935.25 5793251.5 0) UPDATE dummy_rast SET rast = ST_SetScale(rast,1.5,0.55) WHERE rid = 2; -SELECT ST_ScaleX(rast) As pixx, ST_ScaleY(rast) As pixy, Box2D(rast) As newbox +SELECT ST_ScaleX(rast) As pixx, ST_ScaleY(rast) As pixy, Box3D(rast) As newbox FROM dummy_rast WHERE rid = 2; pixx | pixy | newbox ------+------+-------------------------------------------- - 1.5 | 0.55 | BOX(3427927.75 5793244,3427935.25 5793247) + 1.5 | 0.55 | BOX(3427927.75 5793244 0,3427935.25 5793247 0) @@ -4793,7 +4793,7 @@ FROM dummy_rast WHERE rid=2; - box3d Box2D + box3d Box3D raster rast