[postgis-tickets] r16996 - Documentation for AddRasterConstraint optional parameters

Darafei komzpa at gmail.com
Wed Nov 7 10:56:40 PST 2018


Author: komzpa
Date: 2018-11-07 22:56:40 -0800 (Wed, 07 Nov 2018)
New Revision: 16996

Modified:
   trunk/NEWS
   trunk/doc/reference_raster.xml
Log:
Documentation for AddRasterConstraint optional parameters

Patch by Sunveer Singh

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


Modified: trunk/NEWS
===================================================================
--- trunk/NEWS	2018-11-07 17:56:00 UTC (rev 16995)
+++ trunk/NEWS	2018-11-08 06:56:40 UTC (rev 16996)
@@ -29,6 +29,7 @@
   - #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

Modified: trunk/doc/reference_raster.xml
===================================================================
--- trunk/doc/reference_raster.xml	2018-11-07 17:56:00 UTC (rev 16995)
+++ trunk/doc/reference_raster.xml	2018-11-08 06:56:40 UTC (rev 16996)
@@ -452,26 +452,26 @@
 			<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 @@
 				<parameter>extent=true</parameter>
 			</paramdef>
 		  </funcprototype>
-
 		  <funcprototype>
 			<funcdef>boolean <function>AddRasterConstraints</function></funcdef>
 			<paramdef><type>name </type>



More information about the postgis-tickets mailing list