<?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 Tile Package not found in content in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/tile-package-not-found-in-content/m-p/1052642#M39786</link>
    <description>&lt;P&gt;I made an Administrative Report and I see the majority of my file storage is used by "World_Topo_Map-(longstringofchars)" Tile Packages:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BertKraan1_0-1619691758257.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/12125iEDB1E3DB7237B9AD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BertKraan1_0-1619691758257.png" alt="BertKraan1_0-1619691758257.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But when I look in the content section in Argis Online I can't find any of those files.&lt;/P&gt;&lt;P&gt;I have two Tile layers and two Vector Tile Packages but these I can't find anywhere.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I get hold of those "World_Topo_Map-xxxx" to see to what map they belong and to determine if I still need them? They account for 90+% of my storage credits.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Bert&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Apr 2021 10:27:42 GMT</pubDate>
    <dc:creator>Gisbert61</dc:creator>
    <dc:date>2021-04-29T10:27:42Z</dc:date>
    <item>
      <title>Tile Package not found in content</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/tile-package-not-found-in-content/m-p/1052642#M39786</link>
      <description>&lt;P&gt;I made an Administrative Report and I see the majority of my file storage is used by "World_Topo_Map-(longstringofchars)" Tile Packages:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BertKraan1_0-1619691758257.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/12125iEDB1E3DB7237B9AD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BertKraan1_0-1619691758257.png" alt="BertKraan1_0-1619691758257.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But when I look in the content section in Argis Online I can't find any of those files.&lt;/P&gt;&lt;P&gt;I have two Tile layers and two Vector Tile Packages but these I can't find anywhere.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I get hold of those "World_Topo_Map-xxxx" to see to what map they belong and to determine if I still need them? They account for 90+% of my storage credits.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Bert&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 10:27:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/tile-package-not-found-in-content/m-p/1052642#M39786</guid>
      <dc:creator>Gisbert61</dc:creator>
      <dc:date>2021-04-29T10:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Tile Package not found in content</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/tile-package-not-found-in-content/m-p/1052685#M39790</link>
      <description>&lt;P&gt;Hm. I'd thought it would be related to the basemap items, but I don't actually see them when I run my own report.&lt;/P&gt;&lt;P&gt;Could these be "offline areas" that were created from the Esri basemaps?&lt;/P&gt;&lt;P&gt;Unfortunately, AGOL lacks the capability to use the python functions "dependent_to" and "dependent_on", but you could iterate over web map items and pull their operational layers to try and find these packages. That is, if they're being used in web maps, not in some offline space.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from arcgis.gis import GIS
from arcgis.mapping import WebMap

tile_ids = ['list', 'of', 'itemIDs']

webmaps = gis.content.search('', item_type='Web Map', max_items=-1)

map_list = []

for w in webmaps:
    wm = WebMap(w)
    for b in wm.basemap.baseMapLayers:
        try:
            b.itemId
        except AttributeError:
            continue
        else:
            if b.itemId in tile_ids:
                map_list.append(w)
                
    for l in wm.layers:
        try:
            l.itemId
        except AttributeError:
            continue
        else:
            if l.itemId in tile_ids:
                map_list.append(w)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The resulting &lt;STRONG&gt;map_list&lt;/STRONG&gt; should be all the web maps which reference the item IDs specified.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 13:35:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/tile-package-not-found-in-content/m-p/1052685#M39790</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-04-29T13:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Tile Package not found in content</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/tile-package-not-found-in-content/m-p/1053727#M39852</link>
      <description>&lt;P&gt;Hi Josh,&lt;/P&gt;&lt;P&gt;Your suggestion about them being part of the "offline area's" seems to be right: a 'World-Topo-Map" item is part of the map_area files (which I use quite a lot since we often have spotty connections in the forest.)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BertKraan1_0-1620038363154.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/12384i1168C080256686E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BertKraan1_0-1620038363154.png" alt="BertKraan1_0-1620038363154.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;To test I created another offline area and ran an administrative report afterwards, this resulted in four new items amongst which the World_Topo_Map_xxxxx:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BertKraan1_1-1620040416545.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/12388i1067AE965140A200/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BertKraan1_1-1620040416545.png" alt="BertKraan1_1-1620040416545.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Deleting the offline map removes those files including the tile package.&lt;/P&gt;&lt;P&gt;So one offline map results in a maparea, a tile package and a sqlite geodatabase for eacht layer in the offline map. I can find which tilepackage belongs to which offline map area by comparing the creation date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your tip!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 11:20:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/tile-package-not-found-in-content/m-p/1053727#M39852</guid>
      <dc:creator>Gisbert61</dc:creator>
      <dc:date>2021-05-03T11:20:38Z</dc:date>
    </item>
  </channel>
</rss>

