]> granicus.if.org Git - postgis/commitdiff
Documentation for AddRasterConstraint optional parameters
authorDarafei Praliaskouski <me@komzpa.net>
Thu, 8 Nov 2018 06:56:40 +0000 (06:56 +0000)
committerDarafei Praliaskouski <me@komzpa.net>
Thu, 8 Nov 2018 06:56:40 +0000 (06:56 +0000)
Patch by Sunveer Singh

Closes #2767
Closes https://github.com/postgis/postgis/pull/325

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

NEWS
doc/reference_raster.xml

diff --git a/NEWS b/NEWS
index 28820cb61a51672a249740c82367e5ddc0b7a7dc..4d70a3ed35ee35748f2473dd1cbac1d8abb03a9c 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -29,6 +29,7 @@ PostGIS 3.0.0
   - #4215, Use floating point compare in ST_DumpAsPolygons (Darafei Praliaskouski)
   - #4155, Support for GEOMETRYCOLLECTION, POLYGON, TIN, TRIANGLE in
     ST_LocateBetween and ST_LocateBetweenElevations (Darafei Praliaskouski)
+  - #2767, Documentation for AddRasterConstraint optional parameters (Sunveer Singh)
 
 PostGIS 2.5.0
 2018/09/23
index 027a3425a5585aaf5e93b7d8aebe3a3ecfa253f7..35a7cb428854ed814b2a0178cb5f80dc2be60329 100644 (file)
@@ -452,26 +452,26 @@ VALUES (1,
                        <paramdef><type>name </type>
                        <parameter>rastcolumn</parameter></paramdef>
 
-                       <paramdef><type>boolean </type>
-                       <parameter>srid</parameter></paramdef>
+                       <paramdef choice="opt"><type>boolean </type>
+                       <parameter>srid=true</parameter></paramdef>
 
-                       <paramdef><type>boolean </type>
-                       <parameter>scale_x</parameter></paramdef>
+                       <paramdef choice="opt"><type>boolean </type>
+                       <parameter>scale_x=true</parameter></paramdef>
 
-                       <paramdef><type>boolean </type>
-                       <parameter>scale_y</parameter></paramdef>
+                       <paramdef choice="opt"><type>boolean </type>
+                       <parameter>scale_y=true</parameter></paramdef>
 
-                       <paramdef><type>boolean </type>
-                       <parameter>blocksize_x</parameter></paramdef>
+                       <paramdef choice="opt"><type>boolean </type>
+                       <parameter>blocksize_x=true</parameter></paramdef>
 
-                       <paramdef><type>boolean </type>
-                       <parameter>blocksize_y</parameter></paramdef>
+                       <paramdef choice="opt"><type>boolean </type>
+                       <parameter>blocksize_y=true</parameter></paramdef>
 
-                       <paramdef><type>boolean </type>
-                       <parameter>same_alignment</parameter></paramdef>
+                       <paramdef choice="opt"><type>boolean </type>
+                       <parameter>same_alignment=true</parameter></paramdef>
 
-                       <paramdef><type>boolean </type>
-                       <parameter>regular_blocking</parameter></paramdef>
+                       <paramdef choice="opt"><type>boolean </type>
+                       <parameter>regular_blocking=false</parameter></paramdef>
 
                        <paramdef choice="opt"><type>boolean </type>
                                <parameter>num_bands=true</parameter>
@@ -489,7 +489,6 @@ VALUES (1,
                                <parameter>extent=true</parameter>
                        </paramdef>
                  </funcprototype>
-
                  <funcprototype>
                        <funcdef>boolean <function>AddRasterConstraints</function></funcdef>
                        <paramdef><type>name </type>