And in general, against any output sample model that makes RasterAccessor expand the data into the data array, and thus require the arrays to be copied back into the raster.
With the current code the copy does not happen and the output raster is all zeroes.
And in general, against any output sample model that makes RasterAccessor expand the data into the data array, and thus require the arrays to be copied back into the raster. With the current code the copy does not happen and the output raster is all zeroes.