From: Jorge Arévalo Date: Wed, 16 Feb 2011 19:15:11 +0000 (+0000) Subject: Added documentation for the new version of ST_AddBand function X-Git-Tag: 2.0.0alpha1~1966 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c513a2d920f2e2cba7d3dedd1368be697531d7cb;p=postgis Added documentation for the new version of ST_AddBand function git-svn-id: http://svn.osgeo.org/postgis/trunk@6834 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference_raster.xml b/doc/reference_raster.xml index bcfa38a52..14fce08fb 100644 --- a/doc/reference_raster.xml +++ b/doc/reference_raster.xml @@ -1634,6 +1634,14 @@ FROM dummy_rast; double precision initialvalue double precision nodataval + + raster ST_AddBand + raster raster1 + integer nband1 + raster raster2 + integer nband2 + + @@ -1642,7 +1650,10 @@ FROM dummy_rast; Returns a raster with a new band added in given position (band number), of given type, of given initial value, and of given nodata value. If no index is specified, the band is added to the end. Pixel type is a string representation of one of the pixel types specified in . If an existing index is specified all subsequent bands >= that index are incremented by 1. - If an initial value greater than the max of the pixel type is specified, then the initial value is set to the highest value allowed by the pixel type. + If an initial value greater than the max of the pixel type + is specified, then the initial value is set to the highest + value allowed by the pixel type. The last version add the + nband1 from raster1 to raster2 in position nband2.