<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ESRI does not read all layers of .TOC file in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/esri-does-not-read-all-layers-of-toc-file/m-p/433643#M11751</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a TOC file that contains metadata about a raster dataset.&amp;nbsp; Within my ArcEngine application, I pass its path and filename to IRasterLayer::CreateFromFilePath() to generate the IRasterLayer object and put it on my map.&amp;nbsp; However, only part of the TOC file is drawn on the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking at the TOC file in a freeware raster map viewer (OpenEV), I can see much more of the raster map.&amp;nbsp; Apparently, there are multiple 'layers' within the TOC file, and ESRI only displays the first one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&amp;nbsp; I get similar results through looking at the TOC file in ArcCatalog.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this a limitation with the ESRI software?&amp;nbsp; I'd like to be able to view the entire map instead of just one section of the TOC file.&amp;nbsp; I'm using ArcGIS Desktop 9.3 and ArcEngine 9.3.1 SP1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Daniel Parker&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Jul 2010 12:26:01 GMT</pubDate>
    <dc:creator>DanielParker</dc:creator>
    <dc:date>2010-07-23T12:26:01Z</dc:date>
    <item>
      <title>ESRI does not read all layers of .TOC file</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esri-does-not-read-all-layers-of-toc-file/m-p/433643#M11751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a TOC file that contains metadata about a raster dataset.&amp;nbsp; Within my ArcEngine application, I pass its path and filename to IRasterLayer::CreateFromFilePath() to generate the IRasterLayer object and put it on my map.&amp;nbsp; However, only part of the TOC file is drawn on the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking at the TOC file in a freeware raster map viewer (OpenEV), I can see much more of the raster map.&amp;nbsp; Apparently, there are multiple 'layers' within the TOC file, and ESRI only displays the first one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&amp;nbsp; I get similar results through looking at the TOC file in ArcCatalog.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this a limitation with the ESRI software?&amp;nbsp; I'd like to be able to view the entire map instead of just one section of the TOC file.&amp;nbsp; I'm using ArcGIS Desktop 9.3 and ArcEngine 9.3.1 SP1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Daniel Parker&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 12:26:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esri-does-not-read-all-layers-of-toc-file/m-p/433643#M11751</guid>
      <dc:creator>DanielParker</dc:creator>
      <dc:date>2010-07-23T12:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: ESRI does not read all layers of .TOC file</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/esri-does-not-read-all-layers-of-toc-file/m-p/433644#M11752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In case anyone ever has a similar problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/content/kbase?fa=articleShow&amp;amp;d=36683"&gt;http://resources.arcgis.com/content/kbase?fa=articleShow&amp;amp;d=36683&lt;/A&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;&lt;BR /&gt;There are several situations where A.TOC files are not supported by ArcGIS. &lt;BR /&gt;&lt;BR /&gt;1. The A.TOC file references data with different cell sizes. This occurs when parent directories of RPF data contain subfolders of data in different latitudinal zones. Each latitudinal zone has a different cell size. &lt;BR /&gt;&lt;BR /&gt;2. The A.TOC file references two kinds of RPF products. For example, if an A.TOC file references both GNC and JNC CADRG products, they will not work. GNC and JNC, by specification, have different color maps to meet the needs of the intended use. &lt;BR /&gt;&lt;BR /&gt;3. The A.TOC file references data with relative paths. If for any reason the data or A.TOC files are moved, the relative paths are broken.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My A.TOC file contained data with different cell sizes.&amp;nbsp; Hope this helps someone else avoid the search.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jul 2010 10:28:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/esri-does-not-read-all-layers-of-toc-file/m-p/433644#M11752</guid>
      <dc:creator>DanielParker</dc:creator>
      <dc:date>2010-07-27T10:28:47Z</dc:date>
    </item>
  </channel>
</rss>

