How to access a raster dataset in a raster catalog


Summary
A raster dataset in a raster catalog is similar to a feature in a feature class, and the method to access each is similar.

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 catalog




Development licensingDeployment licensing
ArcGIS for Desktop BasicArcGIS for Desktop Basic
ArcGIS for Desktop StandardArcGIS for Desktop Standard
ArcGIS for Desktop AdvancedArcGIS for Desktop Advanced
Engine Developer KitEngine