[postgis-tickets] [SCM] PostGIS branch stable-3.4 updated. 3.4.0-46-gfdd8ecf68
git at osgeo.org
git at osgeo.org
Tue Oct 24 22:02:38 PDT 2023
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, stable-3.4 has been updated
via fdd8ecf68c9f2e2254843e0e135e638d6ad68c20 (commit)
via 68210b67391f0a7478313a430f0f44cdd2f74e44 (commit)
from 817e9d0e3cbe3f7a539f8386223bfbe1ef10dade (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 fdd8ecf68c9f2e2254843e0e135e638d6ad68c20
Author: Regina Obe <lr at pcorp.us>
Date: Wed Oct 25 00:58:07 2023 -0400
Add default args labels for ST_Contour
diff --git a/doc/reference_raster.xml b/doc/reference_raster.xml
index 26bf09297..ff8cd669a 100644
--- a/doc/reference_raster.xml
+++ b/doc/reference_raster.xml
@@ -1334,11 +1334,11 @@ WHERE short_name = 'GTiff') As g;
<funcprototype>
<funcdef>setof record <function>ST_Contour</function></funcdef>
<paramdef><type>raster </type><parameter>rast</parameter></paramdef>
- <paramdef><type>integer </type><parameter>bandnumber</parameter></paramdef>
- <paramdef><type>double precision </type><parameter>level_interval</parameter></paramdef>
- <paramdef><type>double precision </type><parameter>level_base</parameter></paramdef>
- <paramdef><type>double precision[] </type><parameter>fixed_levels</parameter></paramdef>
- <paramdef><type>boolean </type><parameter>polygonize</parameter></paramdef>
+ <paramdef choice="opt"><type>integer </type><parameter>bandnumber=1</parameter></paramdef>
+ <paramdef choice="opt"><type>double precision </type><parameter>level_interval=100.0</parameter></paramdef>
+ <paramdef choice="opt"><type>double precision </type><parameter>level_base=0.0</parameter></paramdef>
+ <paramdef choice="opt"><type>double precision[] </type><parameter>fixed_levels=ARRAY[]</parameter></paramdef>
+ <paramdef choice="opt"><type>boolean </type><parameter>polygonize=false</parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
commit 68210b67391f0a7478313a430f0f44cdd2f74e44
Author: Regina Obe <lr at pcorp.us>
Date: Wed Oct 25 00:48:39 2023 -0400
ST_Contour improved docs
- Add description for each input arg
Closes #5585 for postgis 3.4.1
diff --git a/doc/reference_raster.xml b/doc/reference_raster.xml
index e6970e862..26bf09297 100644
--- a/doc/reference_raster.xml
+++ b/doc/reference_raster.xml
@@ -1353,6 +1353,33 @@ WHERE short_name = 'GTiff') As g;
When the <varname>fixed_levels</varname> parameter is a non-empty
array, the <varname>level_interval</varname> and <varname>level_base</varname> parameters are ignored.
</para>
+
+ <para>
+ Input parameters are:
+ </para>
+ <variablelist>
+ <varlistentry><term><varname>rast</varname></term>
+ <listitem><para>The raster to generate the contour of</para></listitem>
+ </varlistentry>
+ <varlistentry><term><varname>bandnumber</varname></term>
+ <listitem><para>The band to generate the contour of</para></listitem>
+ </varlistentry>
+ <varlistentry><term><varname>level_interval</varname></term>
+ <listitem><para>The elevation interval between contours generated</para></listitem>
+ </varlistentry>
+ <varlistentry><term><varname>level_base</varname></term>
+ <listitem><para>The "base" relative to which contour intervals are applied,
+ this is normally zero, but could be different.
+ To generate 10m contours at 5, 15, 25, ... the LEVEL_BASE would be 5.</para></listitem>
+ </varlistentry>
+ <varlistentry><term><varname>fixed_levels</varname></term>
+ <listitem><para>The elevation interval between contours generated</para></listitem>
+ </varlistentry>
+ <varlistentry><term><varname>polygonize</varname></term>
+ <listitem><para>If <literal>true</literal>, contour polygons will be created, rather than polygon lines.</para></listitem>
+ </varlistentry>
+ </variablelist>
+
<para>
Return values are a set of records with the following attributes:
</para>
-----------------------------------------------------------------------
Summary of changes:
doc/reference_raster.xml | 37 ++++++++++++++++++++++++++++++++-----
1 file changed, 32 insertions(+), 5 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list