]> granicus.if.org Git - postgis/commitdiff
fix indentation
authorRegina Obe <lr@pcorp.us>
Fri, 27 May 2011 12:15:39 +0000 (12:15 +0000)
committerRegina Obe <lr@pcorp.us>
Fri, 27 May 2011 12:15:39 +0000 (12:15 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7272 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference_raster.xml

index 977e38d351487c1eccdcb28acc4e7c3d9504a4ac..57ccf4baee57505a7c77abb7342cf0b624c5c9dc 100644 (file)
@@ -906,16 +906,17 @@ FROM (SELECT rid, ST_MetaData(rast) As md
                                <para>Returns the number of pixels in a given band of a raster or raster coverage.  If no band is specified <varname>nband</varname> defaults to 1. </para> 
                                <note><para>If <varname>hasnodata</varname> is set to true, will also count pixels with no data. Set <varname>hasnodata</varname> to false to get only pixels with data</para></note>
                                <para>Availability: 2.0.0 </para>
-                               <warning><para>This currently does the opposite of what I just said. Will be fixed to agree with the documentation or the documentation will be fixed to agee with the behavior.</para></warning>
+                               <warning><para>This currently does the opposite of what I just said. Will be fixed to agree with the documentation or the documentation will be fixed to agree with the behavior.</para></warning>
                        </refsection>
                                
                        <refsection>
                                <title>Examples</title>
                                <!-- TODO: Fix once we confirm the right behavior -->
                                <programlisting>
-                                   --example will count all pixels not 249 and one will count all pixels.  Note this behavior may be reversed --
-                                   SELECT rid, ST_Count(ST_SetBandNoDataValue(rast,249)) As exclude_nodata, ST_Count(ST_SetBandNoDataValue(rast,249),false) As include_nodata
-                                       FROM dummy_rast WHERE rid=2;
+--example will count all pixels not 249 and one will count all pixels.  Note this behavior may be reversed --
+SELECT rid, ST_Count(ST_SetBandNoDataValue(rast,249)) As exclude_nodata, 
+        ST_Count(ST_SetBandNoDataValue(rast,249),false) As include_nodata
+    FROM dummy_rast WHERE rid=2;
                                    
 rid | exclude_nodata | include_nodata
 -----+----------------+----------------