[raster] Add a ST_SetValues variant copying values from another raster band
|PostGIS Fund Me
The main debate is about requiring same alignment of the source and target rasters. Not requiring same alignment implies having to (re) sample the source raster and this overlaps with the ST_Resample series of functions.
I would now tend to make it simple and authorize copy only from well aligned rasters… and hence to make it behave like the plpgsql prototype.