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 licensing Deployment licensing
ArcGIS for Desktop Basic ArcGIS for Desktop Basic
ArcGIS for Desktop Standard ArcGIS for Desktop Standard
ArcGIS for Desktop Advanced ArcGIS for Desktop Advanced
Engine Developer Kit Engine