<?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: Retrieve Webmap Offline Areas with Python in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/retrieve-webmap-offline-areas-with-python/m-p/1536465#M40534</link>
    <description>&lt;P&gt;How to get actual geometry of it ?&lt;/P&gt;</description>
    <pubDate>Mon, 09 Sep 2024 15:33:27 GMT</pubDate>
    <dc:creator>vijaybadugu</dc:creator>
    <dc:date>2024-09-09T15:33:27Z</dc:date>
    <item>
      <title>Retrieve Webmap Offline Areas with Python</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/retrieve-webmap-offline-areas-with-python/m-p/1264710#M35321</link>
      <description>&lt;P&gt;I'm moving webmaps from on-prem Enterprise to an Azure Enterprise site that we're migrating to. I need help with retrieving the webmap offline area properties, so the offline areas can be re-created on the target Enterprise site using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;webmap.offline_areas.create(area,item_properties)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just can't figure out how to retrieve the offline area "area" property?&lt;/P&gt;&lt;P&gt;Here's what I have so far&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;wm = WebMap(source_item)
    map_areas = wm.offline_areas.list()
    if len(map_areas)&amp;gt;0:
        for ma in map_areas:
            print(ma.title)
            print(ma.get_data())&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Area1
{'mapAreas': {'mapAreaTileScale': {'minScale': 147914382, 'maxScale': 2500}, 'mapAreaRefreshParams': {'startDate': '2022-04-12T12:51:22.179Z', 'type': 'weekly', 'nthDay': 1, 'dayOfWeek': 2}, 'mapAreasScheduledUpdatesEnabled': False}}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But how do I access the &lt;STRONG&gt;area&lt;/STRONG&gt; property of the offline area?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 20:41:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/retrieve-webmap-offline-areas-with-python/m-p/1264710#M35321</guid>
      <dc:creator>danbecker</dc:creator>
      <dc:date>2023-03-06T20:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Webmap Offline Areas with Python</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/retrieve-webmap-offline-areas-with-python/m-p/1267038#M35375</link>
      <description>&lt;P&gt;Here's how to retrieve the x,y extents of a webmap offline area:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;source_wm = WebMap(source_item)
map_areas = source_wm.offline_areas.list()
if len(map_areas)&amp;gt;0:
    for ma in map_areas:
        offline_item_extent = ma.properties['extent']&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 13 Mar 2023 13:15:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/retrieve-webmap-offline-areas-with-python/m-p/1267038#M35375</guid>
      <dc:creator>danbecker</dc:creator>
      <dc:date>2023-03-13T13:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Webmap Offline Areas with Python</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/retrieve-webmap-offline-areas-with-python/m-p/1536465#M40534</link>
      <description>&lt;P&gt;How to get actual geometry of it ?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 15:33:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/retrieve-webmap-offline-areas-with-python/m-p/1536465#M40534</guid>
      <dc:creator>vijaybadugu</dc:creator>
      <dc:date>2024-09-09T15:33:27Z</dc:date>
    </item>
  </channel>
</rss>

