摘要:
使用ArcEngine修改栅格数据的像素值时,要调用IRasterEdit接口的刷新方法,并用C#回收资源,否则像素值可能无法保存成功,出现像素值为零的情况。相关代码如下: //Create a raster from the dataset. IRaster raster = rasterDataset.CreateFullRaster(); //Create a pixel block using the weight and height of the raster dataset. //... 阅读全文