From: Regina Obe Date: Mon, 4 Apr 2011 02:20:05 +0000 (+0000) Subject: Add missing ST_Band protos and remove non-existent one X-Git-Tag: 2.0.0alpha1~1804 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9b73aba690e2bf1f7e1535f8b7d185953ada7e1e;p=postgis Add missing ST_Band protos and remove non-existent one git-svn-id: http://svn.osgeo.org/postgis/trunk@6998 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference_raster.xml b/doc/reference_raster.xml index ed49a6d0b..cfac6734a 100644 --- a/doc/reference_raster.xml +++ b/doc/reference_raster.xml @@ -1638,7 +1638,7 @@ t | ST_AddBand - Returns a raster with the new band of given type added with given initial value + Returns a raster with the new band of given type added with given initial value in the given index location. If no index is specified, the band is added to the end. @@ -1670,24 +1670,30 @@ t | raster ST_AddBand raster rast - integer band_num + integer index text pixeltype double precision initialvalue raster ST_AddBand raster rast - integer band_num + integer index text pixeltype double precision initialvalue double precision nodataval + + raster ST_AddBand + raster torast + raster fromrast + integer fromband + raster ST_AddBand - raster raster1 - integer nband1 - raster raster2 - integer nband2 + raster torast + raster fromrast + integer fromband + integer torastindex @@ -1696,12 +1702,12 @@ t | Description - 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 + Returns a raster with a new band added in given position (index), 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. The last version add the - nband1 from raster1 to raster2 in position nband2. + fromband from fromrast raster to torast in position torastindex.