[postgis-tickets] r16567 - Updated docs and NEWS for various changes

Bborie Park dustymugs at dspiral.net
Tue May 8 05:15:58 PDT 2018


Author: dustymugs
Date: 2018-05-08 17:15:57 -0700 (Tue, 08 May 2018)
New Revision: 16567

Modified:
   trunk/NEWS
   trunk/doc/reference_raster.xml
Log:
Updated docs and NEWS for various changes

Modified: trunk/NEWS
===================================================================
--- trunk/NEWS	2018-05-08 22:37:41 UTC (rev 16566)
+++ trunk/NEWS	2018-05-09 00:15:57 UTC (rev 16567)
@@ -15,6 +15,9 @@
   - #4063, Optional false origin point for ST_Scale (Paul Ramsey)
   - #4082, Add ST_BandFileSize and ST_BandFileTimestamp,
            extend ST_BandMetadata (Even Rouault)
+  - #2597, Add ST_Grayscale (Bborie Park)
+  - #4007, Add ST_SetBandPath (Bborie Park)
+  - #4008, Add ST_SetBandIndex (Bborie Park)
 
 * Breaking Changes *
   - #4054, ST_SimplifyVW changed from > tolerance to >= tolerance
@@ -63,6 +66,9 @@
            ST_DistanceCPA, and ST_CPAWithin (Paul Ramsey, Darafei Praliaskouski)
   - #4071, ST_ClusterKMeans crash on NULL/EMPTY fixed (Darafei Praliaskouski)
   - #4076, Reduce use of GEOS in topology implementation (Björn Harrtell)
+  - #4080, Add external raster band index to ST_BandMetaData
+  - Add Raster Tips section to Documentation for information about
+    Raster behavior (e.g. Out-DB performance, maximum open files)
 
 PostGIS 2.4.0
 2017/09/30

Modified: trunk/doc/reference_raster.xml
===================================================================
--- trunk/doc/reference_raster.xml	2018-05-08 22:37:41 UTC (rev 16566)
+++ trunk/doc/reference_raster.xml	2018-05-09 00:15:57 UTC (rev 16567)
@@ -3779,8 +3779,7 @@
 					</para>
 				</note>
 
-				<para>Enhanced: 2.5.0 to include filesize and filetimestamp for outdb rasters.</para>
-
+				<para>Enhanced: 2.5.0 to include <emphasis>outdbbandnum</emphasis>, <emphasis>filesize</emphasis> and <emphasis>filetimestamp</emphasis> for outdb rasters.</para>
 			</refsection>
 
 			<refsection>
@@ -3787,6 +3786,28 @@
 				<title>Examples: Variant 1</title>
 
 				<programlisting>
+SELECT
+	rid,
+	(foo.md).*
+FROM (
+	SELECT
+		rid,
+		ST_BandMetaData(rast, 1) AS md
+	FROM dummy_rast
+	WHERE rid=2
+) As foo;
+
+ rid | pixeltype | nodatavalue | isoutdb | path | outdbbandnum
+-----+-----------+---- --------+---------+------+--------------
+   2 | 8BUI      |           0 | f       |      |
+				</programlisting>
+
+			</refsection>
+
+			<refsection>
+				<title>Examples: Variant 2</title>
+
+				<programlisting>
 WITH foo AS (
 	SELECT
 		ST_AddBand(NULL::raster, '/home/pele/devel/geo/postgis-git/raster/test/regress/loader/Projected.tif', NULL::int[]) AS rast
@@ -3807,28 +3828,6 @@
 
 			</refsection>
 
-			<refsection>
-				<title>Examples: Variant 2</title>
-
-				<programlisting>
-SELECT
-	rid,
-	(foo.md).*
-FROM (
-	SELECT
-		rid,
-		ST_BandMetaData(rast, 1) AS md
-	FROM dummy_rast
-	WHERE rid=2
-) As foo;
-
- rid | pixeltype | nodatavalue | isoutdb | path | outdbbandnum  | filesize | filetimestamp |
------+-----------+---- --------+---------+------+---------------+----------+---------------+-
-   2 | 8BUI      |           0 | f       |      |               |          |               |
-				</programlisting>
-
-			</refsection>
-
 			<!-- Optionally add a "See Also" section -->
 			<refsection>
 				<title>See Also</title>



More information about the postgis-tickets mailing list