Hi,
When images from different locations on disk are added to a mosaic dataset.
How to retrieve the file paths from the Mosaic dataset?
Iam able to get each RasterDataset by IRasterCatalogItem using IMosaicdataset Cataolog items.
Public IRasterDataset GetRasterCatalogItem(IRasterCatalog catalog, int oid)
{
//OID is the ObjectID of the raster dataset in the raster catalog.
IFeatureClass featureClass = (IFeatureClass)catalog;
IRasterCatalogItem rasterCatalogItem = (IRasterCatalogItem)
featureClass.GetFeature(oid);
return rasterCatalogItem.RasterDataset;
}
Cheers in Advance
Nattu