<?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: Changing basemap to a gallery_basemaps item in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/changing-basemap-to-a-gallery-basemaps-item/m-p/1506686#M10356</link>
    <description>&lt;P&gt;Thank you for this post and these examples. It aided in developing this notebook. I wanted to share in case it was useful.&amp;nbsp;&lt;A href="https://joeguzi.maps.arcgis.com/home/item.html?id=5161d7f097ae40fab7304906ad0f9e67" target="_blank" rel="noopener"&gt;ArcGIS Online Basemap Replacement Notebook Update&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jul 2024 15:19:50 GMT</pubDate>
    <dc:creator>JoeGuziStarkCountyOH</dc:creator>
    <dc:date>2024-07-18T15:19:50Z</dc:date>
    <item>
      <title>Changing basemap to a gallery_basemaps item</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/changing-basemap-to-a-gallery-basemaps-item/m-p/1089735#M6510</link>
      <description>&lt;P&gt;Hello:&lt;BR /&gt;I'm using custom basemap's defined as a WebMaps gallery_basemaps (&lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.mapping.toc.html#arcgis.mapping.WebMap.gallery_basemaps" target="_blank"&gt;https://developers.arcgis.com/python/api-reference/arcgis.mapping.toc.html#arcgis.mapping.WebMap.gallery_basemaps&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;According to the example under a WebMaps property, basemap, I should be able to set my webmap to a gallery_basemap item. If I'm creating a new webmap, this works perfectly. However, if I'm updating an existing basemap, it fails saying there is not a gallery-basemaps&lt;/P&gt;&lt;P&gt;ie.&amp;nbsp;&lt;/P&gt;&lt;P&gt;wm = WebMap(webmap_item)&lt;/P&gt;&lt;P&gt;wm.basemap = &amp;lt;my_unique_basemap_name_from_the_gallery&amp;gt;&lt;/P&gt;&lt;P&gt;Exception: 'WebMap' object has no attribute '_gallery_basemaps'&lt;/P&gt;&lt;P&gt;Ideas?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 19:32:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/changing-basemap-to-a-gallery-basemaps-item/m-p/1089735#M6510</guid>
      <dc:creator>KarenRobine1</dc:creator>
      <dc:date>2021-08-17T19:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Changing basemap to a gallery_basemaps item</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/changing-basemap-to-a-gallery-basemaps-item/m-p/1177200#M7428</link>
      <description>&lt;P&gt;I am experiencing the same.&amp;nbsp; How do I add our enterprise portal basemaps to an enterprise portal web map?&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 14:46:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/changing-basemap-to-a-gallery-basemaps-item/m-p/1177200#M7428</guid>
      <dc:creator>ChrisWiebke</dc:creator>
      <dc:date>2022-05-25T14:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Changing basemap to a gallery_basemaps item</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/changing-basemap-to-a-gallery-basemaps-item/m-p/1178033#M7436</link>
      <description>&lt;P&gt;I have attached a notebook in the zip file.&lt;/P&gt;&lt;P&gt;I was able to switch the basemap of a portal webmap to a basemap from another portal web map with the notebook.&amp;nbsp; Hopefully this will help.&amp;nbsp; Let me know if you have questions.&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 17:01:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/changing-basemap-to-a-gallery-basemaps-item/m-p/1178033#M7436</guid>
      <dc:creator>ChrisWiebke</dc:creator>
      <dc:date>2022-05-27T17:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Changing basemap to a gallery_basemaps item</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/changing-basemap-to-a-gallery-basemaps-item/m-p/1506686#M10356</link>
      <description>&lt;P&gt;Thank you for this post and these examples. It aided in developing this notebook. I wanted to share in case it was useful.&amp;nbsp;&lt;A href="https://joeguzi.maps.arcgis.com/home/item.html?id=5161d7f097ae40fab7304906ad0f9e67" target="_blank" rel="noopener"&gt;ArcGIS Online Basemap Replacement Notebook Update&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 15:19:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/changing-basemap-to-a-gallery-basemaps-item/m-p/1506686#M10356</guid>
      <dc:creator>JoeGuziStarkCountyOH</dc:creator>
      <dc:date>2024-07-18T15:19:50Z</dc:date>
    </item>
  </channel>
</rss>

