<?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 Re: Manage Tile Cache in ArcPy in Business Questions</title>
    <link>https://community.esri.com/t5/business-questions/manage-tile-cache-in-arcpy/m-p/395818#M375</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After talking to ESRI Tech support, try changing &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;areaofinterest = "Feature Set" to &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;areaofinterest = "#" in python.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Aug 2015 16:49:31 GMT</pubDate>
    <dc:creator>RosalynCarey</dc:creator>
    <dc:date>2015-08-14T16:49:31Z</dc:date>
    <item>
      <title>Manage Tile Cache in ArcPy</title>
      <link>https://community.esri.com/t5/business-questions/manage-tile-cache-in-arcpy/m-p/395816#M373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Issues with the Manage Tile Cache Tool in ArcPy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried writing the python myself, exporting from ModelBuilder, and copying a python snipet from the Geoprocessing results window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All versions give the same error:&lt;/P&gt;&lt;P&gt;"&lt;STRONG&gt;ERROR 000204: Error creating input feature cursor&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Failed to execute (ManageTileCache).&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if I need to create a insert cursor, but my understanding was that insert cursors do not work with rasters.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the three ways I have tried in python and all three give the same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Process: Manage Tile Cache&lt;/P&gt;&lt;P&gt;folder = "C:/Test_TileCache"&lt;/P&gt;&lt;P&gt;mode = "RECREATE_ALL_TILES"&lt;/P&gt;&lt;P&gt;cacheName = "Test_Cache"&lt;/P&gt;&lt;P&gt;dataSource = "C:/Test_TileCache/test_tileCache.gdb/test_mosaic_dataset"&lt;/P&gt;&lt;P&gt;method = "ARCGISONLINE_SCHEME"&lt;/P&gt;&lt;P&gt;tilingScheme = "#"&lt;/P&gt;&lt;P&gt;scales = "36111.909643;18055.954822;9027.977411;4513.988705;2256.994353"&lt;/P&gt;&lt;P&gt;areaofinterest = "Feature Set"&lt;/P&gt;&lt;P&gt;maxcellsize = "#"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arcpy.ManageTileCache_management(folder, mode, cacheName, dataSource, method, tilingScheme, scales, areaofinterest, maxcellsize)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #arcpy.ManageTileCache_management("C:/Test_TileCache","RECREATE_ALL_TILES","Test_Cache","C:/Test_TileCache/test_tileCache.gdb/test_mosaic_dataset","ARCGISONLINE_SCHEME","#","36111.909643;18055.954822;9027.977411;4513.988705;2256.994353","Feature Set","#","36111.909643","2256.994353")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #arcpy.ManageTileCache_management("C:\Test_TileCache","RECREATE_ALL_TILES","Test_Cache","C:\Test_TileCache\test_tileCache.gdb\test_mosaic_dataset","ARCGISONLINE_SCHEME","","","","","36111.909643", "2256.994353")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone else tried the Manage Tile Cache in ArcPy? I am running 10.2.1, but do not have any issues with the tool when running it through ArcMap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 22:10:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/business-questions/manage-tile-cache-in-arcpy/m-p/395816#M373</guid>
      <dc:creator>RosalynCarey</dc:creator>
      <dc:date>2015-07-14T22:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Manage Tile Cache in ArcPy</title>
      <link>https://community.esri.com/t5/business-questions/manage-tile-cache-in-arcpy/m-p/395817#M374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having the same issue in 10.3.1. Identical process (run tool in Catalog, export python snippet)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 17:03:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/business-questions/manage-tile-cache-in-arcpy/m-p/395817#M374</guid>
      <dc:creator>EricIronside</dc:creator>
      <dc:date>2015-08-07T17:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Manage Tile Cache in ArcPy</title>
      <link>https://community.esri.com/t5/business-questions/manage-tile-cache-in-arcpy/m-p/395818#M375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After talking to ESRI Tech support, try changing &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;areaofinterest = "Feature Set" to &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;areaofinterest = "#" in python.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2015 16:49:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/business-questions/manage-tile-cache-in-arcpy/m-p/395818#M375</guid>
      <dc:creator>RosalynCarey</dc:creator>
      <dc:date>2015-08-14T16:49:31Z</dc:date>
    </item>
  </channel>
</rss>

