]> granicus.if.org Git - postgis/commitdiff
Doco fixes
authorRegina Obe <lr@pcorp.us>
Mon, 20 Jun 2016 01:45:01 +0000 (01:45 +0000)
committerRegina Obe <lr@pcorp.us>
Mon, 20 Jun 2016 01:45:01 +0000 (01:45 +0000)
closes #3584 for PostGIS 2.3
closes #3582 for PostGIS 2.3

git-svn-id: http://svn.osgeo.org/postgis/trunk@14974 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference_raster.xml

index 4942c5f541d8d115ffe198a232b263e06b16ebd0..be6ba16a8910b111a97b58fe8ec5696b3b5bc66b 100644 (file)
@@ -8242,7 +8242,7 @@ SELECT ST_AsJPEG(rast,ARRAY[2,1,3],ARRAY['QUALITY=90','PROGRESSIVE=ON']) As rast
                     </listitem>
                     <listitem>
                       <para>
-                        <varname>nbands</varname> is an array of bands to export (note that max is 3 for PNG) and the order of the bands is RGB. e.g ARRAY[3,2,1] means map band 3 to Red, band 2 to green and band 1 to blue
+                        <varname>nbands</varname> is an array of bands to export (note that max is 4 for PNG) and the order of the bands is RGBA. e.g ARRAY[3,2,1] means map band 3 to Red, band 2 to green and band 1 to blue
                       </para>
                     </listitem>
                    <listitem>
@@ -10776,7 +10776,7 @@ WHERE rid=167;
                                        <para>Passing a <type>regprodedure</type> argument to a SQL function requires the full function signature to be passed, then cast to a <type>regprocedure</type> type. To pass the above example PL/pgSQL function as an argument, the SQL for the argument is:<programlisting>'simple_function(double precision, double precision, integer[], text[])'::regprocedure</programlisting>Note that the argument contains the name of the function, the types of the function arguments, quotes around the name and argument types, and a cast to a <type>regprocedure</type>.
                                        </para>
 
-                                       <para>The third argument to the <varname>tworastuserfunc</varname> is a <type>variadic text</type> array. All trailing text arguments to any <xref linkend="RT_ST_MapAlgebraFct2" /> call are passed through to the specified <varname>tworastuserfunc</varname>, and are contained in the <varname>userargs</varname> argument.
+                                       <para>The fourst argument to the <varname>tworastuserfunc</varname> is a <type>variadic text</type> array. All trailing text arguments to any <xref linkend="RT_ST_MapAlgebraFct2" /> call are passed through to the specified <varname>tworastuserfunc</varname>, and are contained in the <varname>userargs</varname> argument.
                                        </para>
 
                                        <note>