]> granicus.if.org Git - postgis/commitdiff
correct documentation to get rid of protos eradicated in r8218 (so extensions installs)
authorRegina Obe <lr@pcorp.us>
Tue, 22 Nov 2011 09:05:36 +0000 (09:05 +0000)
committerRegina Obe <lr@pcorp.us>
Tue, 22 Nov 2011 09:05:36 +0000 (09:05 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8219 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference_raster.xml

index f42c1d539cec52a7cb9b247a1484b6e547cbc93d..94020ab768de51ce2f946ae356850268c28648c7 100644 (file)
@@ -2591,21 +2591,12 @@ WHERE rid = 2;
                                        <funcdef>boolean <function>ST_BandIsNoData</function></funcdef>
                                        <paramdef><type>raster </type> <parameter>rast</parameter></paramdef>
                                        <paramdef><type>integer </type> <parameter>band</parameter></paramdef>
-                                       <paramdef><type>boolean </type> <parameter>forceChecking</parameter></paramdef>
+                                       <paramdef choice='opt'><type>boolean </type> <parameter>forceChecking=true</parameter></paramdef>
                                  </funcprototype>
                  <funcprototype>
                                        <funcdef>boolean <function>ST_BandIsNoData</function></funcdef>
                                        <paramdef><type>raster </type> <parameter>rast</parameter></paramdef>
-                                       <paramdef><type>integer </type> <parameter>band</parameter></paramdef>
-                 </funcprototype>
-                 <funcprototype>
-                                       <funcdef>boolean <function>ST_BandIsNoData</function></funcdef>
-                                       <paramdef><type>raster </type> <parameter>rast</parameter></paramdef>
-                                       <paramdef><type>boolean </type> <parameter>forceChecking</parameter></paramdef>
-                                 </funcprototype>
-                  <funcprototype>
-                                       <funcdef>boolean <function>ST_BandIsNoData</function></funcdef>
-                                       <paramdef><type>raster </type> <parameter>rast</parameter></paramdef>
+                                       <paramdef choice='opt'><type>boolean </type> <parameter>forceChecking=true</parameter></paramdef>
                                  </funcprototype>
                                </funcsynopsis>
                        </refsynopsisdiv>
@@ -3253,12 +3244,7 @@ GROUP BY (foo.geomval).val;
                                        <funcdef>raster <function>ST_SetGeoReference</function></funcdef>
                                        <paramdef><type>raster </type> <parameter>rast</parameter></paramdef>
                                        <paramdef><type>text </type> <parameter>georefcoords</parameter></paramdef>
-                                 </funcprototype>
-                                 <funcprototype>
-                                       <funcdef>raster <function>ST_SetGeoReference</function></funcdef>
-                                       <paramdef><type>raster </type> <parameter>rast</parameter></paramdef>
-                                       <paramdef><type>text </type> <parameter>georefcoords</parameter></paramdef>
-                                       <paramdef><type>text </type> <parameter>format</parameter></paramdef>
+                                       <paramdef choice='opt'><type>text </type> <parameter>format=GDAL</parameter></paramdef>
                                  </funcprototype>
                                </funcsynopsis>
                        </refsynopsisdiv>
@@ -3819,13 +3805,7 @@ SELECT descrip, ST_ScaleX(rast) As newsx, ST_ScaleY(rast) As newsy
                                        <paramdef><type>double precision </type> <parameter>nodatavalue</parameter></paramdef>
                                        <paramdef choice='opt'><type>boolean </type> <parameter>forcechecking=false</parameter></paramdef>
                                  </funcprototype>
-                                 
-                                <funcprototype>
-                                       <funcdef>raster <function>ST_SetBandNoDataValue</function></funcdef>
-                                       <paramdef><type>raster </type> <parameter>rast</parameter></paramdef>
-                                       <paramdef><type>integer </type> <parameter>band</parameter></paramdef>
-                                       <paramdef><type>double precision </type> <parameter>nodatavalue</parameter></paramdef>
-                                 </funcprototype>
+
                                </funcsynopsis>
                        </refsynopsisdiv>
                
@@ -5159,16 +5139,11 @@ FROM (SELECT ST_SetRotation(rast,0.1,0.1) As rast
                  </refnamediv>
        
                  <refsynopsisdiv>
-                       <funcsynopsis>
-                         <funcprototype>
-                               <funcdef>setof geomval <function>ST_DumpAsPolygons</function></funcdef>
-                               <paramdef><type>raster </type> <parameter>rast</parameter></paramdef>
-                         </funcprototype>
-                         
+                       <funcsynopsis>                    
                          <funcprototype>
                                <funcdef>setof geomval <function>ST_DumpAsPolygons</function></funcdef>
                                <paramdef><type>raster </type> <parameter>rast</parameter></paramdef>
-                               <paramdef><type>integer </type> <parameter>band_num</parameter></paramdef>
+                               <paramdef choice='opt'><type>integer </type> <parameter>band_num=1</parameter></paramdef>
                          </funcprototype>
                        </funcsynopsis>
                  </refsynopsisdiv>
@@ -6297,15 +6272,11 @@ SELECT ST_MapAlgebraFctNgb(rast, 1,  '8BUI', 4,4,
        
                  <refsynopsisdiv>
                        <funcsynopsis>
+
                          <funcprototype>
                                <funcdef>geometry <function>ST_Polygon</function></funcdef>
                                <paramdef><type>raster </type> <parameter>rast</parameter></paramdef>
-                         </funcprototype>
-                         
-                         <funcprototype>
-                               <funcdef>geometry <function>ST_Polygon</function></funcdef>
-                               <paramdef><type>raster </type> <parameter>rast</parameter></paramdef>
-                               <paramdef><type>integer </type> <parameter>band_num</parameter></paramdef>
+                               <paramdef choice='opt'><type>integer </type> <parameter>band_num=1</parameter></paramdef>
                          </funcprototype>
                        </funcsynopsis>
                  </refsynopsisdiv>