Changes between Version 41 and Version 42 of WKTRaster/SpecificationWorking02


Ignore:
Timestamp:
09/21/10 08:47:57 (14 years ago)
Author:
pracine
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WKTRaster/SpecificationWorking02

    v41 v42  
    8585== '''Objective 2.0.03 - Being able to create a raster as the expression of two rasters''' ==
    8686
     87'''ST_SameAlignment(raster, raster)'''
     88
     89 TBD
     90
    8791'''ST_MapAlgebra'''
     92
     93 TBD
    8894
    8995----
     
    177183== '''Objective 2.0.06 - Being able to add a band to a raster as a copy of the band of another raster.''' ==
    178184
    179 '''ST_AddBand(rast1 raster, rast2 raster, band int, index int)'''
    180 
    181  Copy band of rast2 into rast1 at the specified index.
     185'''ST_AddBand'''
     186
     187 Copy rast2 band into rast1 at the specified index.
    182188
    183189 This function is useful in a number of plpgsql functions and to optimize ST_MapAlgebra.
    184190
    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.