Erasing a portion of a geodatabase raster dataset
The following code shows how to erase a portion of a geodatabase raster dataset:
[Java]
static void erasePortionOfGDBRaster(IRasterDataset rasterDataset, IEnvelope
eraseExtent)throws Exception{
//IRasterDatasetEdit is needed for erase operation, Cast input IRasterDataset to IRasterDatasetEdit.
IRasterDatasetEdit rasterDatasetEdit = new IRasterDatasetEditProxy(rasterDataset)
;
rasterDatasetEdit.erase(eraseExtent);
}
See Also:
How to access a raster dataset or raster catalogDevelopment licensing | Deployment licensing |
---|---|
ArcView | ArcView |
ArcEditor | ArcEditor |
ArcInfo | ArcInfo |
Engine Developer Kit | Engine Runtime |