Ticket #1119 (closed enhancement: wontfix)
[raster] Modify ST_MapAlgebra so that expressions can refer to any band
|Reported by:||pracine||Owned by:||pracine|
Description (last modified by pracine) (diff)
This could be useful for:
-Writing expressions (like 'average') involving any band of the raster
-Refer to weighted information created by ST_AsRaster() (the length or the area of the geometry intersecting with the pixel
'rast', 'rast1' and 'rast2' should by default refer to the value of the first band.
Out of bound band references should be clamped to the existing band range.
This change means that we MUST remove the function's band parameters since they are not useful anymore.