<?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 How do I load Raster Mapcache data to my ArcGIS 10.2. SDK for Window Mobile application? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-load-raster-mapcache-data-to-my-arcgis-10/m-p/9859#M243</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created the vector and raster mapcache data using the "Create Mobile Cache" tool of the "Mobile Tools" within ArcCatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This application is created with ArcGIS 10.2.2 SDK for Windows Mobile.&lt;/P&gt;&lt;P&gt;I don’t have any problems loading the Vector mapcache data which are recognized as map layers.&lt;/P&gt;&lt;P&gt;But I’m having problems loading the Raster mapcache data which seem not to be map layer based.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;' --- Load the Raster MapCache&amp;nbsp; -&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: red; font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;Not Working&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;RasterMapCache.StoragePath = Trim(m_OrthoLocalStoragePath)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt; RasterMapCache.CacheExists &lt;SPAN style="color: blue;"&gt;Then&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;' --- Open the Raster MapCache&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; RasterMapCache.Open()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;' --- Add Raster MapCache to Map as (Map Layers)&amp;nbsp; -&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: red;"&gt;???&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: blue;"&gt;Me&lt;/SPAN&gt;.Map1.MapLayers.Add(RasterMapCache)&amp;nbsp; &lt;SPAN style="mso-no-proof: yes; color: red; font-size: 10pt; font-family: 'Courier New';"&gt;'Not Working - Crashing at this statement&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt; &lt;SPAN style="color: blue;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;If&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;' --- Load the Vector MapCache&amp;nbsp; -&amp;nbsp; Working Fine&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;VectorMapCache.StoragePath = Trim(m_MapCacheLocalStoragePath)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;If &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;VectorMapCache.CacheExists &lt;SPAN style="color: blue;"&gt;Then&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;' --- Open the Vector MapCache&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; VectorMapCache.Open()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;' --- Add Vector MapCache to Map as Map Layers&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: blue;"&gt;Me&lt;/SPAN&gt;.Map1.MapLayers.Add(VectorMapCache)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt; &lt;SPAN style="color: blue;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;If&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Feb 2016 21:00:37 GMT</pubDate>
    <dc:creator>GenaroGarcia</dc:creator>
    <dc:date>2016-02-05T21:00:37Z</dc:date>
    <item>
      <title>How do I load Raster Mapcache data to my ArcGIS 10.2. SDK for Window Mobile application?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-load-raster-mapcache-data-to-my-arcgis-10/m-p/9859#M243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created the vector and raster mapcache data using the "Create Mobile Cache" tool of the "Mobile Tools" within ArcCatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This application is created with ArcGIS 10.2.2 SDK for Windows Mobile.&lt;/P&gt;&lt;P&gt;I don’t have any problems loading the Vector mapcache data which are recognized as map layers.&lt;/P&gt;&lt;P&gt;But I’m having problems loading the Raster mapcache data which seem not to be map layer based.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;' --- Load the Raster MapCache&amp;nbsp; -&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: red; font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;Not Working&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;RasterMapCache.StoragePath = Trim(m_OrthoLocalStoragePath)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt; RasterMapCache.CacheExists &lt;SPAN style="color: blue;"&gt;Then&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;' --- Open the Raster MapCache&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; RasterMapCache.Open()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;' --- Add Raster MapCache to Map as (Map Layers)&amp;nbsp; -&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: red;"&gt;???&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: blue;"&gt;Me&lt;/SPAN&gt;.Map1.MapLayers.Add(RasterMapCache)&amp;nbsp; &lt;SPAN style="mso-no-proof: yes; color: red; font-size: 10pt; font-family: 'Courier New';"&gt;'Not Working - Crashing at this statement&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt; &lt;SPAN style="color: blue;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;If&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;' --- Load the Vector MapCache&amp;nbsp; -&amp;nbsp; Working Fine&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;VectorMapCache.StoragePath = Trim(m_MapCacheLocalStoragePath)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;If &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;VectorMapCache.CacheExists &lt;SPAN style="color: blue;"&gt;Then&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;' --- Open the Vector MapCache&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; VectorMapCache.Open()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;' --- Add Vector MapCache to Map as Map Layers&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: blue;"&gt;Me&lt;/SPAN&gt;.Map1.MapLayers.Add(VectorMapCache)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: green;"&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 10pt; mso-no-proof: yes;"&gt; &lt;SPAN style="color: blue;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;If&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 21:00:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-load-raster-mapcache-data-to-my-arcgis-10/m-p/9859#M243</guid>
      <dc:creator>GenaroGarcia</dc:creator>
      <dc:date>2016-02-05T21:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do I load Raster Mapcache data to my ArcGIS 10.2. SDK for Window Mobile application?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-load-raster-mapcache-data-to-my-arcgis-10/m-p/9860#M244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To answer my own question.&lt;/P&gt;&lt;P&gt;Because our raster data is Tiled in ArcGIS 10.2.2 I had to modify my code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-family: Consolas; font-size: small;"&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: small; font-family: Consolas;"&gt;' --- Tiled Mapcache Data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: small; font-family: Consolas;"&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;Try&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: small; font-family: Consolas;"&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: small; font-family: Consolas;"&gt;' --- Assign path of Tile Cache location to string path object&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: small; font-family: Consolas;"&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; TCMapLayer &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;TileCacheMapLayer&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;New&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;TileCacheMapLayer&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;(m_OrthoLocalStoragePath + &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"\Layers"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: small; font-family: Consolas;"&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: small; font-family: Consolas;"&gt;' --- Assign name of Tile Cache Maplayer and make it visible&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: small; font-family: Consolas;"&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; TCMapLayer.Name = &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"2015 Orthos"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; TCMapLayer.Visible = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;True&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: small; font-family: Consolas;"&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: small; font-family: Consolas;"&gt;' --- Open the Tile Cache Maplayer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: small; font-family: Consolas;"&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;TCMapLayer.Open()&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: small; font-family: Consolas;"&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: small; font-family: Consolas;"&gt;' --- Add the Tile Cache Maplayer to the map&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: small; font-family: Consolas;"&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Map1.MapLayers.Add(TCMapLayer)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: small; font-family: Consolas;"&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;Catch&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; ex &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;Exception&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;MessageBox&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;.Show(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"Cannot open map cache"&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &amp;amp; vbCr &amp;amp; vbCr &amp;amp; _&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: small; font-family: Consolas;"&gt;"Error Message: "&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &amp;amp; ex.ToString)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;End&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: small; font-family: Consolas;"&gt;Try&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2017 12:17:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-load-raster-mapcache-data-to-my-arcgis-10/m-p/9860#M244</guid>
      <dc:creator>GenaroGarcia</dc:creator>
      <dc:date>2017-08-04T12:17:45Z</dc:date>
    </item>
  </channel>
</rss>

