sentelrdrfps

ESRI does not read all layers of .TOC file

Discussion created by sentelrdrfps on Jul 23, 2010
Latest reply on Jul 27, 2010 by sentelrdrfps
I have a TOC file that contains metadata about a raster dataset.  Within my ArcEngine application, I pass its path and filename to IRasterLayer::CreateFromFilePath() to generate the IRasterLayer object and put it on my map.  However, only part of the TOC file is drawn on the map.

Looking at the TOC file in a freeware raster map viewer (OpenEV), I can see much more of the raster map.  Apparently, there are multiple 'layers' within the TOC file, and ESRI only displays the first one.

If I add the TOC file to ArcMap (through the Add Data button), I see only the same part that was drawn through IRasterLayer::CreateFromFilePath() in my ArcEngine application.  I get similar results through looking at the TOC file in ArcCatalog.

Is this a limitation with the ESRI software?  I'd like to be able to view the entire map instead of just one section of the TOC file.  I'm using ArcGIS Desktop 9.3 and ArcEngine 9.3.1 SP1.

Thanks,

Daniel Parker

Outcomes