Holywhippet

How do I get a raster from the IGdbRasterCatalogLayer interface?

Discussion created by Holywhippet on Jun 12, 2012
Latest reply on Jun 20, 2012 by jhauck-esristaff
I've got a pair of raster catalogs sitting in a GDB. I want to extract the rasters individually and cast/wrap them into an IRasterLayer object so I can query them.

The problem is, I'm stumped on how to do this. The IRasterCatalogLayer interface would seem to be perfect for this kind of thing, but it is for RasterCatalogLayer class objects. The data I have seems to be GdbRasterCatalogLayer class objects which has a different interface. Specifically one that doesn't help me at all.

I thought maybe I could pull the data out of the feature class which the raster catalogs effectively are, but I can't work out what the raster data actually is. If I extract it to an object it doesn't seem to be an IRaster, IRasterDataset or IRasterLayer.

Any ideas?

Outcomes