From 485baef1fefa947b70f335b27ad17ba2b7029a94 Mon Sep 17 00:00:00 2001 From: Pierre Racine Date: Fri, 10 Feb 2012 22:42:38 +0000 Subject: [PATCH] ST_Clip returns all bands when no band is specified. git-svn-id: http://svn.osgeo.org/postgis/trunk@9153 b70326c6-7e19-0410-871a-916f4a2858ee --- doc/reference_raster.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/reference_raster.xml b/doc/reference_raster.xml index af3f8d8ca..66315c675 100644 --- a/doc/reference_raster.xml +++ b/doc/reference_raster.xml @@ -5053,7 +5053,7 @@ rid | rastbox ST_Clip - Returns a single band raster that is a band clipped by the input geometry. If no band is specified band 1 is assumed. If trimraster setting is not specified, false is assumed meaning + Returns the raster clipped by the input geometry. If no band is specified all bands are returned. If trimraster setting is not specified, false is assumed meaning the output raster has the same extent as the input raster. @@ -5096,7 +5096,7 @@ rid | rastbox Description - Returns a single band raster that is a band clipped by the input geometry geom. If no band is specified band 1 is assumed. If trimraster setting is not specified, false is assumed meaning + Returns a raster that is clipped by the input geometry geom. If no band is specified all bands are returned. If trimraster setting is not specified, false is assumed meaning the output raster has the same extent as the input raster. If trimraster is set to true, the new raster has the same extent as the intersection of geomand rast. Availability: 2.0.0 Examples here use Massachusetts aerial data available on MassGIS site MassGIS Aerial Orthos. Coordinates are in Massachusetts State Plane Meters. -- 2.40.0