<?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: Is arcpy.managemapservercachetiles not working in arcgis 10? in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/is-arcpy-managemapservercachetiles-not-working-in/m-p/481245#M5194</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: keeblerh&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Based on some other threads I had seen I updated the previous python script to explicity identify the layers and scales.&amp;nbsp; I'm still having no luck.&amp;nbsp; I even tried to use the arctoolbox manage server cache tiles (which I believe runs the same thing behind the scenes).&amp;nbsp; If I cache directly from ArcCatalog (map services properties) everything works just fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am attaching the latest script which was generated from the arctoolbox model:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.ManageMapServerCacheTiles_server("dehgbvwsrags", "DEH_BaseMap_Tiled", "Layers", "'Rail Stations';Schools;'Police Stations';'Fire Stations';Hospitals;Streets;'Rail Lines';Airport;HydroLines;HydroAreas;Parks;'Place Names';Major_Streets;'Poltical Boundaries'", "577143.747208662;288571.873604331;144285.936802165;72142.9684010827;36071.4842005414;18035.7421002707;9017.87105013534;4508.93552506767;1800;560", "Recreate All Tiles", "-77.4804 39.1938 -77.1659 39.0473", "8", "NONE", "", "IGNORE_COMPLETION_STATUS_FIELD")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Additionally, does anyone know what "failed to manage tiles for the extent (......) at level"&amp;nbsp; mean?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been searching the documentation and web for an explanation but can&amp;nbsp; not find any.&amp;nbsp;&amp;nbsp; It doesn' seem to be a show stopper.&amp;nbsp; Thanks to anyone who can offer any assistance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Aug 2010 20:07:36 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2010-08-11T20:07:36Z</dc:date>
    <item>
      <title>Is arcpy.managemapservercachetiles not working in arcgis 10?</title>
      <link>https://community.esri.com/t5/mapping-questions/is-arcpy-managemapservercachetiles-not-working-in/m-p/481244#M5193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: keeblerh&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to automate the caching for a tiled service and was planning to use the arcpy.manageMapServerCacheTiles and the python script examples I have seen to cache all levels by extent.&amp;nbsp; The scripts runs very quickly, says it is complete and when you look at the cache dir it looks as though all of the levels have been touched (date/time updated) but it doesn't really cache much of anything.&amp;nbsp; I saw that this capability did not work for scripting in 9.3.1.&amp;nbsp; Does it still not work in ArcGIS 10?&amp;nbsp; The following is the python script I am running:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# These lines are used to access ArcGIS geoprocessing tools&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import arcpy, sys&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from arcpy import env&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Here is where you define the input parameter values for the update tool. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Empty quotes take the default value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;server = "mddehvarcs01"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;service = "DEH_BaseMap_Tiled"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dataFrame = "Layers"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inputLayers = ""&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;extent = "-77.6402, 38.9205, -76.8030, 39.3593"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;scales = ""&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;updateMode = "Recreate All Tiles"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;threadCount = "3"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;antialiasing = "NONE"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pathToFeatureClass = ""&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ignoreStatus = ""&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; result = arcpy.ManageMapServerCacheTiles_server(server, service, dataFrame,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inputLayers, scales, updateMode,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; extent, threadCount,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; antialiasing, pathToFeatureClass,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ignoreStatus)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I may be just doing something stupid but cannot quite figure out what.&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 17:34:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/is-arcpy-managemapservercachetiles-not-working-in/m-p/481244#M5193</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2010-08-06T17:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Is arcpy.managemapservercachetiles not working in arcgis 10?</title>
      <link>https://community.esri.com/t5/mapping-questions/is-arcpy-managemapservercachetiles-not-working-in/m-p/481245#M5194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: keeblerh&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Based on some other threads I had seen I updated the previous python script to explicity identify the layers and scales.&amp;nbsp; I'm still having no luck.&amp;nbsp; I even tried to use the arctoolbox manage server cache tiles (which I believe runs the same thing behind the scenes).&amp;nbsp; If I cache directly from ArcCatalog (map services properties) everything works just fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am attaching the latest script which was generated from the arctoolbox model:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.ManageMapServerCacheTiles_server("dehgbvwsrags", "DEH_BaseMap_Tiled", "Layers", "'Rail Stations';Schools;'Police Stations';'Fire Stations';Hospitals;Streets;'Rail Lines';Airport;HydroLines;HydroAreas;Parks;'Place Names';Major_Streets;'Poltical Boundaries'", "577143.747208662;288571.873604331;144285.936802165;72142.9684010827;36071.4842005414;18035.7421002707;9017.87105013534;4508.93552506767;1800;560", "Recreate All Tiles", "-77.4804 39.1938 -77.1659 39.0473", "8", "NONE", "", "IGNORE_COMPLETION_STATUS_FIELD")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Additionally, does anyone know what "failed to manage tiles for the extent (......) at level"&amp;nbsp; mean?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been searching the documentation and web for an explanation but can&amp;nbsp; not find any.&amp;nbsp;&amp;nbsp; It doesn' seem to be a show stopper.&amp;nbsp; Thanks to anyone who can offer any assistance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Aug 2010 20:07:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/is-arcpy-managemapservercachetiles-not-working-in/m-p/481245#M5194</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2010-08-11T20:07:36Z</dc:date>
    </item>
  </channel>
</rss>

