176 | | '''Details for 5) ST_MapAlgebraExpr(rast1 raster, band1 integer, rast2 raster, band2 integer, expression text, pixeltype text, extentexpr text, nodata1expr text, nodata2expr text, nodatanodataexpr text) -> raster''' |
177 | | |
178 | | '''Open Question:''' |
179 | | DZ: Should ST_MapAlgebra resample rasters internally, or produce a raster that can be processed by ST_Resample? If so, variant 1 and variant 3 can be removed, and all ST_MapAlgebra results can be processed through ST_Resample, like: |
180 | | ST_Resample(ST_MapAlgebra(raster, [raster, ...] 'mathematical expression', integer), originx, originy, pixelsizex, pixelsizey)[[BR]] |
181 | | ST_Resample(ST_MapAlgebra(raster, [raster, ...] 'mathematical expression', integer), rastergrid) |
| 176 | Open Question 1: |
| 177 | DZ: Should ST_MapAlgebra resample the resulting rasters internally, or should we let the users resample it afterward with ST_Resample: |
| 178 | ST_Resample(ST_MapAlgebra(), originx, originy, pixelsizex, pixelsizey)[[BR]] |