]> granicus.if.org Git - postgis/commitdiff
itemize band pixel types and fix some formatting issues
authorRegina Obe <lr@pcorp.us>
Mon, 5 Apr 2010 21:32:18 +0000 (21:32 +0000)
committerRegina Obe <lr@pcorp.us>
Mon, 5 Apr 2010 21:32:18 +0000 (21:32 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5496 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference_wktraster.xml

index f1c04abcae03059d46d7a4f6ce6a6a614d139275..47fcae617362123427d7de162c4a383db687348a 100644 (file)
@@ -156,10 +156,56 @@ WHERE rid = 2;
                                <title>Description</title>
                                
                                <para>Returns the value that represents no data for the band</para>
-                               </refsection>
+                               <para>Pixel Types supported are as follows:
+                                       <itemizedlist>
+                                               <listitem>
+                                                 <para>1BB -  1-bit boolean</para>
+                                               </listitem>
+                                               
+                                               <listitem>
+                                                 <para>2BUI - 2-bit unsigned integer</para>
+                                               </listitem>
+               
+                                               <listitem>
+                                                 <para>4BUI - 4-bit unsigned integer </para>
+                                               </listitem>
+               
+                                               <listitem>
+                                                 <para>8BSI - 8-bit signed integer </para>
+                                               </listitem>
+                                               <listitem>
+                                                 <para>8BUI - 8-bit unsigned integer</para>
+                                               </listitem>
+                                               <listitem>
+                                                 <para>16BSI - 16-bit signed integer</para>
+                                               </listitem>
+                                               <listitem>
+                                                 <para>16BUI - 16-bit unsigned integer</para>
+                                               </listitem>
+                                               <listitem>
+                                                 <para>16BUI - 16-bit unsigned integer</para>
+                                               </listitem>
+                                               <listitem>
+                                                 <para>32BSI - 32-bit signed integer</para>
+                                               </listitem>
+                                               <listitem>
+                                                 <para>32BUI - 32-bit unsigned integer</para>
+                                               </listitem>
+                                               <listitem>
+                                                 <para>16BF - 16-bit float</para>
+                                               </listitem>
+                                               <listitem>
+                                                 <para>32BF - 32-bit float</para>
+                                               </listitem>
+                                               <listitem>
+                                                 <para>64BF - 64-bit float</para>
+                                               </listitem>
+                                       </itemizedlist>
+                               </para>
+                       </refsection>
                                
-                               <refsection>
-                                       <title>Examples</title>
+                       <refsection>
+                               <title>Examples</title>
                                
                                        <programlisting>SELECT ST_BandPixelType(rast,1) As btype1, 
     ST_BandPixelType(rast,2) As btype2, ST_BandPixelType(rast,3) As btype3
@@ -665,7 +711,7 @@ WHERE rid=2;
                                </programlisting>
                                
                                <programlisting>
-                               --- Get all values in bands 1,2,3 of each pixel --
+--- Get all values in bands 1,2,3 of each pixel --
 SELECT x, y, ST_Value(rast, 1, x, y) As b1val, 
        ST_Value(rast, 2, x, y) As b2val, ST_Value(rast, 3, x, y) As b3val
 FROM dummy_rast CROSS JOIN