<?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: Specifying AGOL as your tile scheme in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/specifying-agol-as-your-tile-scheme/m-p/1053688#M60993</link>
    <description>&lt;P&gt;If I remember correctly, I may have had that warning before also. I think it occurred when it was trying to create a small tile within the AOI, but it didn't intersect with the source raster. Is your AOI polygon completely within the raster extents?&lt;/P&gt;</description>
    <pubDate>Mon, 03 May 2021 07:01:48 GMT</pubDate>
    <dc:creator>Tim_McGinnes</dc:creator>
    <dc:date>2021-05-03T07:01:48Z</dc:date>
    <item>
      <title>Specifying AGOL as your tile scheme</title>
      <link>https://community.esri.com/t5/python-questions/specifying-agol-as-your-tile-scheme/m-p/1053675#M60986</link>
      <description>&lt;P&gt;Has anyone got information on how to set the "method" param for AGOL cache creation?&lt;/P&gt;&lt;DIV class="enums"&gt;&lt;P&gt;&lt;STRONG&gt;ERROR 000732: Import Tiling Scheme: Dataset ArcGIS Online scheme does not exist or is not supported&lt;BR /&gt;Failed to execute (ManageTileCache).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The Python window suggests&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Input Tiling Scheme (Optional)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;An optional parameter to specify the tiling scheme.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;• ArcGIS Online scheme—Use the default ArcGIS Online tiling scheme.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;• Import scheme—Import an existing tiling scheme.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;• Elevation tiling scheme—Use this tiling scheme for elevation services.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;• WGS84 Version 2 tiling scheme—Use this tiling scheme based on WGS84 Version 2.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;• WGS84 Version 2 elevation tiling scheme— Use this tiling scheme based on WGS84 Version 2 to build tile cache for elevation data.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;but ArcGIS Online Scheme doesn't seem to work. Pro2.7. Any help is appreciated.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;folder = "E:\\CITYOFPERTH_IMAGERY\\20201220\\AGOL_CACHE"&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;mode = "RECREATE_ALL_TILES"&lt;BR /&gt;cacheName = "20201220_3857"&lt;BR /&gt;dataSource = "E:\\CITYOFPERTH_IMAGERY\\20201220\\20201220_3857.jp2"&lt;BR /&gt;method = "ArcGIS Online scheme"&lt;BR /&gt;tilingscheme = "#"&lt;BR /&gt;scales = "18055.954822;9027.977411;4513.988705;2256.994353;1128.497176;564.248588;282.124294;141.062147;70.5310735"&lt;BR /&gt;areaofinterest = "E:\\CITYOFPERTH_IMAGERY\\3857_AGOL_AOI.shp"&lt;BR /&gt;maxcellsize = "#"&lt;BR /&gt;mincachedscale = "18055.954822"&lt;BR /&gt;maxcachedscale = "70.5310735"&lt;/P&gt;&lt;P&gt;arcpy.ManageTileCache_management(&lt;BR /&gt;folder, mode, cacheName, dataSource, method, tilingScheme,&lt;BR /&gt;scales, areaofinterest, maxcellsize, mincachedscale, maxcachedscale)&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 06:10:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/specifying-agol-as-your-tile-scheme/m-p/1053675#M60986</guid>
      <dc:creator>Brady</dc:creator>
      <dc:date>2021-05-03T06:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Specifying AGOL as your tile scheme</title>
      <link>https://community.esri.com/t5/python-questions/specifying-agol-as-your-tile-scheme/m-p/1053678#M60987</link>
      <description>&lt;P&gt;If you are not importing a scheme, then leave it out of the parameters. That means you have to specify the parameters coming afterwards specifically though:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;arcpy.ManageTileCache_management(folder, mode, cacheName, dataSource, method, scales=scales, area_of_interest=areaofinterest, min_cached_scale=mincachedscale, max_cached_scale=maxcachedscale)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 06:10:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/specifying-agol-as-your-tile-scheme/m-p/1053678#M60987</guid>
      <dc:creator>Tim_McGinnes</dc:creator>
      <dc:date>2021-05-03T06:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Specifying AGOL as your tile scheme</title>
      <link>https://community.esri.com/t5/python-questions/specifying-agol-as-your-tile-scheme/m-p/1053679#M60988</link>
      <description>&lt;P&gt;Thanks for your response. I was just modifying that and have updated my post to reflect my oversight. However, it still won't play nice. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; bypassing that still gives the same error but that param isn't the issue&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 06:12:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/specifying-agol-as-your-tile-scheme/m-p/1053679#M60988</guid>
      <dc:creator>Brady</dc:creator>
      <dc:date>2021-05-03T06:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Specifying AGOL as your tile scheme</title>
      <link>https://community.esri.com/t5/python-questions/specifying-agol-as-your-tile-scheme/m-p/1053680#M60989</link>
      <description>&lt;P&gt;You will have to have method="&lt;SPAN&gt;ARCGISONLINE_SCHEME". Are you getting a different error now?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 06:13:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/specifying-agol-as-your-tile-scheme/m-p/1053680#M60989</guid>
      <dc:creator>Tim_McGinnes</dc:creator>
      <dc:date>2021-05-03T06:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Specifying AGOL as your tile scheme</title>
      <link>https://community.esri.com/t5/python-questions/specifying-agol-as-your-tile-scheme/m-p/1053681#M60990</link>
      <description>&lt;P&gt;That was my earlier path and it bombed. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 06:14:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/specifying-agol-as-your-tile-scheme/m-p/1053681#M60990</guid>
      <dc:creator>Brady</dc:creator>
      <dc:date>2021-05-03T06:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Specifying AGOL as your tile scheme</title>
      <link>https://community.esri.com/t5/python-questions/specifying-agol-as-your-tile-scheme/m-p/1053685#M60991</link>
      <description>&lt;P&gt;Try this and post the errors if you get any:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;arcpy.ManageTileCache_management("E:\\CITYOFPERTH_IMAGERY\\20201220\\AGOL_CACHE","RECREATE_ALL_TILES","20201220_3857","E:\\CITYOFPERTH_IMAGERY\\20201220\\20201220_3857.jp2","ARCGISONLINE_SCHEME",scales= [18055.954822,9027.977411,4513.988705,2256.994353,1128.497176,564.248588,282.124294,141.062147,70.5310735],area_of_interest="E:\\CITYOFPERTH_IMAGERY\\3857_AGOL_AOI.shp")&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 03 May 2021 06:38:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/specifying-agol-as-your-tile-scheme/m-p/1053685#M60991</guid>
      <dc:creator>Tim_McGinnes</dc:creator>
      <dc:date>2021-05-03T06:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Specifying AGOL as your tile scheme</title>
      <link>https://community.esri.com/t5/python-questions/specifying-agol-as-your-tile-scheme/m-p/1053686#M60992</link>
      <description>&lt;P&gt;Thanks.&amp;nbsp; As a regular inline statement, that seems to be all good and is running now. The other form from the help isn't too helpful.&lt;/P&gt;&lt;P&gt;I still think it will give me an error at around the 18 minute mark of &lt;STRONG&gt;WARNING 001518: failed to build tile cache for feature with OID = 0&amp;nbsp;&lt;/STRONG&gt;which is a whole other story that esri couldn't troubleshoot for me. Problem since 2.5 for me&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 06:49:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/specifying-agol-as-your-tile-scheme/m-p/1053686#M60992</guid>
      <dc:creator>Brady</dc:creator>
      <dc:date>2021-05-03T06:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Specifying AGOL as your tile scheme</title>
      <link>https://community.esri.com/t5/python-questions/specifying-agol-as-your-tile-scheme/m-p/1053688#M60993</link>
      <description>&lt;P&gt;If I remember correctly, I may have had that warning before also. I think it occurred when it was trying to create a small tile within the AOI, but it didn't intersect with the source raster. Is your AOI polygon completely within the raster extents?&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 07:01:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/specifying-agol-as-your-tile-scheme/m-p/1053688#M60993</guid>
      <dc:creator>Tim_McGinnes</dc:creator>
      <dc:date>2021-05-03T07:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Specifying AGOL as your tile scheme</title>
      <link>https://community.esri.com/t5/python-questions/specifying-agol-as-your-tile-scheme/m-p/1053689#M60994</link>
      <description>&lt;P&gt;Yes, the error is persistent regardless of an AIO being used or not. Using different imagery, different coordinate systems, and reinstalls made no difference.&lt;/P&gt;&lt;P&gt;The same formats and other earlier image releases and AOI's all worked for years up until 2.5 when it decided that it wasn't happy anymore.&lt;/P&gt;&lt;P&gt;It has been a headscratcher for Esri&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 07:05:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/specifying-agol-as-your-tile-scheme/m-p/1053689#M60994</guid>
      <dc:creator>Brady</dc:creator>
      <dc:date>2021-05-03T07:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Specifying AGOL as your tile scheme</title>
      <link>https://community.esri.com/t5/python-questions/specifying-agol-as-your-tile-scheme/m-p/1054062#M61019</link>
      <description>&lt;P&gt;No go. This was going overnight and didn't generate any outputs other than the standard _alllayers folder and config files. Thanks for your help though. Much appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 00:38:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/specifying-agol-as-your-tile-scheme/m-p/1054062#M61019</guid>
      <dc:creator>Brady</dc:creator>
      <dc:date>2021-05-04T00:38:30Z</dc:date>
    </item>
  </channel>
</rss>

