From 2c88020eb2078ca9e12693e875d4b96c352ae0c5 Mon Sep 17 00:00:00 2001 From: Regina Obe <lr@pcorp.us> Date: Mon, 5 Apr 2010 21:32:18 +0000 Subject: [PATCH] itemize band pixel types and fix some formatting issues git-svn-id: http://svn.osgeo.org/postgis/trunk@5496 b70326c6-7e19-0410-871a-916f4a2858ee --- doc/reference_wktraster.xml | 54 ++++++++++++++++++++++++++++++++++--- 1 file changed, 50 insertions(+), 4 deletions(-) diff --git a/doc/reference_wktraster.xml b/doc/reference_wktraster.xml index f1c04abca..47fcae617 100644 --- a/doc/reference_wktraster.xml +++ b/doc/reference_wktraster.xml @@ -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 -- 2.40.0