<?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 to call the min_scale and max_scale of a previously created offline area in ArcGIS Field Maps Questions</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-questions/how-to-call-the-min-scale-and-max-scale-of-a/m-p/1223679#M4718</link>
    <description>&lt;P&gt;I am attempting to recreate an existing offline area of my web map using a Python script that I can schedule to run overnight. Using the Python API documentation I am using the recommended workflow of calling my webmap like so:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;WebMap(portalItem)&lt;/P&gt;&lt;P&gt;Then I am duplicating it's existing properties like so:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;offline_area =&amp;nbsp;WebMap(portalItem).offline_areas.list()[0]&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;name = offline_area.title&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;properties =&amp;nbsp;{'description': 'ENTER DESCRIPTION HERE', 'name': name+'_V2'}&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;extent = offline_area.properties['extent']&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;wkid = extent['spatialReference']['wkid']&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;xmin = extent['xmin']&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;xmax = extent['xmax']&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;ymin = extent['ymin']&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;ymax = extent['ymax']&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I cannot work out how to extract the minimum scale and maximum scale of the existing offline area. This is apparently not one of the properties of the map area itself. Is it possible to call this property of the map area so that I can recreate the map area with the same minimum and maximum scales?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Oct 2022 02:13:20 GMT</pubDate>
    <dc:creator>SamuelMcAuley</dc:creator>
    <dc:date>2022-10-20T02:13:20Z</dc:date>
    <item>
      <title>How to call the min_scale and max_scale of a previously created offline area</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/how-to-call-the-min-scale-and-max-scale-of-a/m-p/1223679#M4718</link>
      <description>&lt;P&gt;I am attempting to recreate an existing offline area of my web map using a Python script that I can schedule to run overnight. Using the Python API documentation I am using the recommended workflow of calling my webmap like so:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;WebMap(portalItem)&lt;/P&gt;&lt;P&gt;Then I am duplicating it's existing properties like so:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;offline_area =&amp;nbsp;WebMap(portalItem).offline_areas.list()[0]&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;name = offline_area.title&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;properties =&amp;nbsp;{'description': 'ENTER DESCRIPTION HERE', 'name': name+'_V2'}&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;extent = offline_area.properties['extent']&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;wkid = extent['spatialReference']['wkid']&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;xmin = extent['xmin']&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;xmax = extent['xmax']&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;ymin = extent['ymin']&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;ymax = extent['ymax']&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I cannot work out how to extract the minimum scale and maximum scale of the existing offline area. This is apparently not one of the properties of the map area itself. Is it possible to call this property of the map area so that I can recreate the map area with the same minimum and maximum scales?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 02:13:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/how-to-call-the-min-scale-and-max-scale-of-a/m-p/1223679#M4718</guid>
      <dc:creator>SamuelMcAuley</dc:creator>
      <dc:date>2022-10-20T02:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to call the min_scale and max_scale of a previously created offline area</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/how-to-call-the-min-scale-and-max-scale-of-a/m-p/1226943#M4759</link>
      <description>&lt;P&gt;SOLVED - I have since spoken with someone at ESRI who provided support for this question. You can view the map area information with this bit of code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#First call your offline area associated with your web map&lt;/P&gt;&lt;P&gt;Offline_area = WebMap(Portal_map_item).offline_areas.list()[0]&lt;/P&gt;&lt;P&gt;#Then call the JSON for the properties of that map area&lt;/P&gt;&lt;P&gt;Map_area_json=Offline_area.get_data(try_json=True)&lt;/P&gt;&lt;P&gt;Map_area_json&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 04:39:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/how-to-call-the-min-scale-and-max-scale-of-a/m-p/1226943#M4759</guid>
      <dc:creator>SamuelMcAuley</dc:creator>
      <dc:date>2022-10-31T04:39:40Z</dc:date>
    </item>
  </channel>
</rss>

