[SCM] PostGIS branch master updated. 3.5.0-345-g8f6a9d194
git at osgeo.org
git at osgeo.org
Mon May 26 12:33:25 PDT 2025
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".
The branch, master has been updated
via 8f6a9d194e902de416f8fe520090dd41f019125c (commit)
from 2917c93eb85a3debc00616356732223db743f56b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 8f6a9d194e902de416f8fe520090dd41f019125c
Author: Martin Davis <mtnclimb at gmail.com>
Date: Mon May 26 12:33:19 2025 -0700
Improve ST_Reclass doc
diff --git a/doc/reference_raster.xml b/doc/reference_raster.xml
index 388fdafc3..a4c4b2653 100644
--- a/doc/reference_raster.xml
+++ b/doc/reference_raster.xml
@@ -240,7 +240,7 @@ VALUES (1,
</refnamediv>
<refsection>
<title>Description</title>
- <para>A composite type used as input into the ST_Reclass function defining the behavior of reclassification.</para>
+ <para>A composite type used as input into the <xref linkend="RT_ST_Reclass"/> function defining the behavior of reclassification.</para>
<variablelist>
<varlistentry>
<term><varname>nband integer</varname></term>
@@ -12390,15 +12390,22 @@ SELECT ST_MapAlgebraFctNgb(rast, 1, '8BUI', 4,4,
<refsection>
<title>Description</title>
- <para>Creates a new raster formed by applying a valid PostgreSQL algebraic operation defined by the <varname>reclassexpr</varname> on the input raster (<varname>rast</varname>). If no <varname>band</varname> is specified band 1 is assumed. The new raster will have the same georeference, width, and height as the original raster. Bands not designated will come back unchanged. Refer to <xref linkend="reclassarg"/> for description of valid reclassification expressions.</para>
+ <para>Creates a new raster formed by applying a reclassification operation defined by the <varname>reclassexpr</varname> on the input raster (<varname>rast</varname>).
+ Refer to <xref linkend="reclassarg"/> for the description of reclassification expressions.
+ If no <varname>band</varname> is specified band 1 is assumed.
+ </para>
- <para>The bands of the new raster will have pixel type of <varname>pixeltype</varname>. If <varname>reclassargset</varname> is passed in then each reclassarg defines behavior of each band generated.</para>
+ <para>The new raster will have the same georeference, width, and height as the original raster.
+ The bands of the new raster have pixel type of <varname>pixeltype</varname>.
+ If <varname>reclassargset</varname> is specified then each <varname>reclassarg</varname> defines the type of the target band.
+ Bands not designated are returned unchanged.
+ </para>
<para role="availability" conformance="2.0.0">Availability: 2.0.0 </para>
</refsection>
<refsection>
- <title>Examples Basic</title>
+ <title>Example: Basic</title>
<para>Create a new raster from the original where band 2 is converted from 8BUI to 4BUI and all values from 101-254 are set to nodata value.</para>
<programlisting>
ALTER TABLE dummy_rast ADD COLUMN reclass_rast raster;
-----------------------------------------------------------------------
Summary of changes:
doc/reference_raster.xml | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list