Accessing a raster dataset in a raster catalog
See the following code example:
[Java]
static IRasterDataset getRasterCatalogItem(IRasterCatalog catalog, int oid)throws
Exception{
//OID is the ObjectID of the raster dataset in the raster catalog.
IFeatureClass featureClass = new IFeatureClassProxy(catalog);
IRasterCatalogItem rasterCatalogItem = (IRasterCatalogItem)
featureClass.getFeature(oid);
return rasterCatalogItem.getRasterDataset();
}
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 |