]> granicus.if.org Git - postgis/commitdiff
example of ST_Union
authorRegina Obe <lr@pcorp.us>
Mon, 12 Dec 2011 20:23:57 +0000 (20:23 +0000)
committerRegina Obe <lr@pcorp.us>
Mon, 12 Dec 2011 20:23:57 +0000 (20:23 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8363 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference_raster.xml

index baae878c5dcf750b8aeec6f918760ee9505554e7..15f5300d5aabbf522fb226b4088e4f6411c03ee0 100644 (file)
@@ -6594,8 +6594,11 @@ UPDATE wind
                        </refsection>
                                
                        <refsection>
-                               <title>Examples</title>
-                               <!-- coming soon -->
+                               <title>Examples: Reconstitute a chunked raster tile</title>
+                               <programlisting>-- this creates a single band from first band of raster tiles
+-- that form the original file system tile
+SELECT filename, ST_Union(rast) As file_rast
+FROM sometable WHERE filename IN('dem01', 'dem02') GROUP BY filename;</programlisting>
                        </refsection>
                
                        <!-- Optionally add a "See Also" section -->