]> granicus.if.org Git - postgis/commitdiff
Fixed incorrect return type for ST_BandIsNoData(raster) in docs
authorBborie Park <bkpark at ucdavis.edu>
Mon, 3 Dec 2012 22:17:53 +0000 (22:17 +0000)
committerBborie Park <bkpark at ucdavis.edu>
Mon, 3 Dec 2012 22:17:53 +0000 (22:17 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10792 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference_raster.xml

index 7936e4484343dc0183493b7a01e09bc1699823b6..e7da12f8851560ca01a5d56372f69db8ea823c87 100644 (file)
@@ -6117,17 +6117,13 @@ WHERE rid = 2;
                <refentry id="RT_ST_SetBandIsNoData">
                        <refnamediv>
                                <refname>ST_SetBandIsNoData</refname>
-                               <refpurpose>Sets the isnodata flag of the band to TRUE. You may
-                want to call this function if ST_BandIsNoData(rast, band) !=
-                ST_BandIsNodata(rast, band, TRUE). This is, if the isnodata flag
-                is dirty. Band 1 is assumed if no band is specified.
-                </refpurpose>
+                               <refpurpose>Sets the isnodata flag of the band to TRUE.</refpurpose>
                        </refnamediv>
                
                        <refsynopsisdiv>
                                <funcsynopsis>
                                 <funcprototype>
-                                       <funcdef>integer <function>ST_SetBandIsNoData</function></funcdef>
+                                       <funcdef>raster <function>ST_SetBandIsNoData</function></funcdef>
                                        <paramdef><type>raster </type> <parameter>rast</parameter></paramdef>
                                        <paramdef choice="opt"><type>integer </type> <parameter>band=1</parameter></paramdef>
                                  </funcprototype>
@@ -6139,7 +6135,7 @@ WHERE rid = 2;
                                
                                <para>Sets the isnodata flag for the band to true. Band 1 is
                 assumed if not specified. This function should be called only
-                when the flag is considered dirty. This is, when the result
+                when the flag is considered dirty. That is, when the result
                 calling <xref linkend="RT_ST_BandIsNoData" /> is different using
                 TRUE as last argument and without using it</para>