Select to view content in your preferred language

ArcGIS 10: Writing statistics to a raster

438
0
10-14-2010 05:24 AM
ThorPrentow
New Contributor
Hello

We need to write statistics to a raster using ArcObjects for C++.

In ArcGIS 9.3 we used the get_Statistics method from the IRasterBand interface. Then we would write the statistics using put_Min, put_Max etc. from the IRasterStatistics interface.
This approach worked fine in ArcGIS 9.3

However, when using ArcGIS 10.0 this approach fails. When the raster is loaded into ArcMap, no statistics are present.

Any ideas/input on how to make this work in ArcGIS 10.0 would be greatly appreciated!

-Thor
0 Kudos
0 Replies