Raster pixel data writing and updating its statistic

299
0
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: 

https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2FEsri%2Farcgis-pro-sdk-c... 

 

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