Changes between Version 41 and Version 42 of WKTRaster/SpecificationWorking02
- Timestamp:
- 09/21/10 08:47:57 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WKTRaster/SpecificationWorking02
v41 v42 85 85 == '''Objective 2.0.03 - Being able to create a raster as the expression of two rasters''' == 86 86 87 '''ST_SameAlignment(raster, raster)''' 88 89 TBD 90 87 91 '''ST_MapAlgebra''' 92 93 TBD 88 94 89 95 ---- … … 177 183 == '''Objective 2.0.06 - Being able to add a band to a raster as a copy of the band of another raster.''' == 178 184 179 '''ST_AddBand (rast1 raster, rast2 raster, band int, index int)'''180 181 Copy band of rast2into rast1 at the specified index.185 '''ST_AddBand''' 186 187 Copy rast2 band into rast1 at the specified index. 182 188 183 189 This function is useful in a number of plpgsql functions and to optimize ST_MapAlgebra. 184 190 185 191 '''Variants''' 192 193 1) ST_AddBand(rast1 raster, rast2 raster, band int, index int) 194 195 2) ST_AddBand(rast1 raster, rast2 raster, band int) 196 197 3) ST_AddBand(rast1 raster, rast2 raster) 198 199 Variant 2 add the rast2 band as the last band of rast1. 200 201 Variant 3 default band to 1 and add it as the last band of rast1. 202 203 '''Implementation details''' 204 205 Only variant 1 should be implemented as a C functions. Others variants are plpgsql variants.