]> granicus.if.org Git - postgis/commitdiff
replace box2d with box3d in examples and remaining func
authorRegina Obe <lr@pcorp.us>
Mon, 19 Dec 2011 04:12:49 +0000 (04:12 +0000)
committerRegina Obe <lr@pcorp.us>
Mon, 19 Dec 2011 04:12:49 +0000 (04:12 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8462 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference_raster.xml

index bee5a115f530dffd6367e94d9284e4eda1c83e9f..8aa00607375782388687d19ed35120611d5a8a7a 100644 (file)
@@ -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)
                                </programlisting>
                                <programlisting>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)
                                </programlisting>
                        
                        </refsection>
@@ -4793,7 +4793,7 @@ FROM dummy_rast WHERE rid=2;
                        <refsynopsisdiv>
                                <funcsynopsis>
                                  <funcprototype>
-                                       <funcdef>box3d <function>Box2D</function></funcdef>
+                                       <funcdef>box3d <function>Box3D</function></funcdef>
                                        <paramdef><type>raster </type> <parameter>rast</parameter></paramdef>
                                  </funcprototype>
                                </funcsynopsis>