Raster pixel data writing and updating its statistic

08-16-2020 07:52 PM
by Anonymous User
Not applicable

Hi Guys,

It looks like sdk has issue/missing of one feature on that writing raster functionality.

For example: 


I change by setting fix value on the pixel block. in Plane for loop, (I did adjust getpixeldata , ref true/false, pixel value type based on source raster data type like , float, byte)


After I masked out the full raster, the result tif remain show me with old statistic. (Mask out full raster)

I have to call calculate statistic gptask to recalculate the statisic.

Is that possible for sdk to recalculate the statistic automatically upon saving the pixel block.

Or did I miss some method call for updating statistic? Wolfgang Kaiser

Tags (1)
0 Kudos
0 Replies