[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0rc1-143-gf6e6939

git at osgeo.org git at osgeo.org
Fri Apr 16 14:12:48 PDT 2021


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  f6e693915a819d82471124ef938e3d45167137a4 (commit)
      from  9114db6bf3fdbc2b8050460cf1eaca2c68f8b321 (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 f6e693915a819d82471124ef938e3d45167137a4
Author: Regina Obe <lr at pcorp.us>
Date:   Fri Apr 16 17:12:42 2021 -0400

    Fix ST_InterpolateRaster example. Mark template_band_num are default 1

diff --git a/doc/reference_raster.xml b/doc/reference_raster.xml
index f7eef4e..e824bf6 100644
--- a/doc/reference_raster.xml
+++ b/doc/reference_raster.xml
@@ -1472,7 +1472,7 @@ FROM c;</programlisting>
             <paramdef><type>geometry </type><parameter>input_points</parameter></paramdef>
             <paramdef><type>text </type><parameter>algorithm_options</parameter></paramdef>
             <paramdef><type>raster </type><parameter>template</parameter></paramdef>
-            <paramdef><type>integer </type><parameter>template_band_num</parameter></paramdef>
+            <paramdef choice="opt"><type>integer </type><parameter>template_band_num=1</parameter></paramdef>
           </funcprototype>
         </funcsynopsis>
       </refsynopsisdiv>
@@ -1532,8 +1532,8 @@ FROM c;</programlisting>
 
 <programlisting>SELECT ST_InterpolateRaster(
     'MULTIPOINT(10.5 9.5 1000, 11.5 8.5 1000, 10.5 8.5 500, 11.5 9.5 500)'::geometry,
-    ST_AddBand(ST_MakeEmptyRaster(200, 400, 10, 10, 0.01, -0.005, 0, 0), '16BSI'),
-    'invdist:smoothing:2.0'
+    'invdist:smoothing:2.0',
+    ST_AddBand(ST_MakeEmptyRaster(200, 400, 10, 10, 0.01, -0.005, 0, 0), '16BSI')
 )</programlisting>
 
         </refsection>

-----------------------------------------------------------------------

Summary of changes:
 doc/reference_raster.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list