]> granicus.if.org Git - postgis/commitdiff
ST_Clip returns all bands when no band is specified.
authorPierre Racine <Pierre.Racine@sbf.ulaval.ca>
Fri, 10 Feb 2012 22:42:38 +0000 (22:42 +0000)
committerPierre Racine <Pierre.Racine@sbf.ulaval.ca>
Fri, 10 Feb 2012 22:42:38 +0000 (22:42 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9153 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference_raster.xml

index af3f8d8ca81084631061aae299717cf55065ab72..66315c675a3127cc9d95abcdb9aff8cffaabfabc 100644 (file)
@@ -5053,7 +5053,7 @@ rid |        rastbox
                <refentry id="RT_ST_Clip">
                        <refnamediv>
                                <refname>ST_Clip</refname>
-                               <refpurpose>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
+                               <refpurpose>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.</refpurpose>
                        </refnamediv>
                
@@ -5096,7 +5096,7 @@ rid |        rastbox
                        <refsection>
                                <title>Description</title>
                                
-                               <para>Returns a single band raster that is a band clipped by the input geometry <varname>geom</varname>.  If no band is specified band 1 is assumed. If trimraster setting is not specified, false is assumed meaning
+                               <para>Returns a raster that is clipped by the input geometry <varname>geom</varname>.  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 <varname>trimraster</varname> is set to true, the new raster has the same extent as the intersection of <varname>geom</varname>and <varname>rast</varname>.</para>
                                <para>Availability: 2.0.0 </para>
                                <para>Examples here use Massachusetts aerial data available on MassGIS site <ulink url="http://www.mass.gov/mgis/colororthos2008.htm">MassGIS Aerial Orthos</ulink>. Coordinates are in Massachusetts State Plane Meters.</para>