<?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 Offline Areas Creating using Python in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/offline-areas-creating-using-python/m-p/1627856#M11480</link>
    <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;was trying to re create all offline areas for a webmap after compress. We are using World _imagery (Export ) tile layer, ArcGIS python API was modified recently to add another argument in offline_areas.create&amp;nbsp;&lt;STRONG&gt;tile_services =&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;if "HIGH" in title_upper:&amp;nbsp; # Street level&amp;nbsp;&lt;BR /&gt;levels = ",".join(str(i) for i in range(10, 17))&lt;BR /&gt;#print('High' +str(max_scale) +'|' + str(min_scale))&lt;BR /&gt;elif "MED" in title_upper: # neighborhood&amp;nbsp;&lt;BR /&gt;levels = ",".join(str(i) for i in range(12, 14))&lt;BR /&gt;# print('MED' +str(max_scale) +'|' + str(min_scale))&lt;BR /&gt;elif "LOW" in title_upper: # city&amp;nbsp;&lt;BR /&gt;levels = ",".join(str(i) for i in range(15, 16))&lt;BR /&gt;#print('LOW' +str(max_scale) +'|' + str(min_scale))&lt;/P&gt;&lt;P&gt;for baseitem in basemap_lyr_items:&lt;BR /&gt;layerImagery.append({"url": baseitem.url,"levels":levels})&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;map_area = offline_map.offline_areas.create(area=polygon_geom,&lt;BR /&gt;item_properties=item_prop,&lt;BR /&gt;min_scale =min_scale,&lt;BR /&gt;max_scale =max_scale,&lt;BR /&gt;enable_updates=False,&lt;BR /&gt;refresh_schedule='daily',&lt;BR /&gt;refresh_rates = refresh_rates_times,&lt;BR /&gt;tile_services =layerImagery&amp;nbsp;&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;What are the ranges used for these 3 levels ? I tried different combinations. it failed. Even, I checked the Service in json format. nothing was working. I used&amp;nbsp;( High : (4,.... 20) , Med : (4,.. 15) , Low :(4,...13)&amp;nbsp; Please suggest on this&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jun 2025 16:37:42 GMT</pubDate>
    <dc:creator>vijaybadugu</dc:creator>
    <dc:date>2025-06-27T16:37:42Z</dc:date>
    <item>
      <title>Offline Areas Creating using Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/offline-areas-creating-using-python/m-p/1627856#M11480</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;was trying to re create all offline areas for a webmap after compress. We are using World _imagery (Export ) tile layer, ArcGIS python API was modified recently to add another argument in offline_areas.create&amp;nbsp;&lt;STRONG&gt;tile_services =&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;if "HIGH" in title_upper:&amp;nbsp; # Street level&amp;nbsp;&lt;BR /&gt;levels = ",".join(str(i) for i in range(10, 17))&lt;BR /&gt;#print('High' +str(max_scale) +'|' + str(min_scale))&lt;BR /&gt;elif "MED" in title_upper: # neighborhood&amp;nbsp;&lt;BR /&gt;levels = ",".join(str(i) for i in range(12, 14))&lt;BR /&gt;# print('MED' +str(max_scale) +'|' + str(min_scale))&lt;BR /&gt;elif "LOW" in title_upper: # city&amp;nbsp;&lt;BR /&gt;levels = ",".join(str(i) for i in range(15, 16))&lt;BR /&gt;#print('LOW' +str(max_scale) +'|' + str(min_scale))&lt;/P&gt;&lt;P&gt;for baseitem in basemap_lyr_items:&lt;BR /&gt;layerImagery.append({"url": baseitem.url,"levels":levels})&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;map_area = offline_map.offline_areas.create(area=polygon_geom,&lt;BR /&gt;item_properties=item_prop,&lt;BR /&gt;min_scale =min_scale,&lt;BR /&gt;max_scale =max_scale,&lt;BR /&gt;enable_updates=False,&lt;BR /&gt;refresh_schedule='daily',&lt;BR /&gt;refresh_rates = refresh_rates_times,&lt;BR /&gt;tile_services =layerImagery&amp;nbsp;&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;What are the ranges used for these 3 levels ? I tried different combinations. it failed. Even, I checked the Service in json format. nothing was working. I used&amp;nbsp;( High : (4,.... 20) , Med : (4,.. 15) , Low :(4,...13)&amp;nbsp; Please suggest on this&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2025 16:37:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/offline-areas-creating-using-python/m-p/1627856#M11480</guid>
      <dc:creator>vijaybadugu</dc:creator>
      <dc:date>2025-06-27T16:37:42Z</dc:date>
    </item>
  </channel>
</rss>

