AnsweredAssumed Answered

Update layer's raster

Question asked by maxmaxmaxmaxmax on Dec 16, 2019
Latest reply on Dec 17, 2019 by gkmieliauskas_cellexp

I have raster layer added to map. I need to change its raster on current extent change. So I take Raster, set its RasterProps (width, height, extent) and write PixelBlock. And after that I expect raster layer updated showing new raster.

 

But instead exception thrown on RasterEdit.Write. How can I update raster of raster layer to completely replace old raster data including numbers of columns and rows?

Outcomes