<?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: How to add basemap to MapDocument using arcpy? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-to-add-basemap-to-mapdocument-using-arcpy/m-p/646616#M50403</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Peter,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One way to do this is search for the basemap(s) that you want to add to ArcMap in ArcGIS.com.&amp;nbsp; Ex:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.arcgis.com/home/search.html?q=basemaps&amp;amp;t=content"&gt;http://www.arcgis.com/home/search.html?q=basemaps&amp;amp;t=content&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Open &amp;gt; Open in ArcGIS for Desktop &amp;gt; save this as a layer file.&amp;nbsp; You can then add the layer file to ArcMap using Python.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jun 2014 15:21:24 GMT</pubDate>
    <dc:creator>JakeSkinner</dc:creator>
    <dc:date>2014-06-20T15:21:24Z</dc:date>
    <item>
      <title>How to add basemap to MapDocument using arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-add-basemap-to-mapdocument-using-arcpy/m-p/646615#M50402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello - I am using ArcGIS 10.1 with Python 2.6.&amp;nbsp; I am using arcpy to work with an MXD template that I read using arcpy.mapping.MapDocument.&amp;nbsp; I want to add a basemap to the default dataframe (I have a URL to the basemap), but after searching high and low, I can't find a way to use the URL to add the basemap.&amp;nbsp; I see alot of examples of adding a layer (.lyr file) but nothing on how to add a basemap.&amp;nbsp; Any info on where I can find out how to do this would be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks - Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 13:38:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-add-basemap-to-mapdocument-using-arcpy/m-p/646615#M50402</guid>
      <dc:creator>PeterLen</dc:creator>
      <dc:date>2014-06-20T13:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to add basemap to MapDocument using arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-add-basemap-to-mapdocument-using-arcpy/m-p/646616#M50403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Peter,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One way to do this is search for the basemap(s) that you want to add to ArcMap in ArcGIS.com.&amp;nbsp; Ex:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.arcgis.com/home/search.html?q=basemaps&amp;amp;t=content"&gt;http://www.arcgis.com/home/search.html?q=basemaps&amp;amp;t=content&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Open &amp;gt; Open in ArcGIS for Desktop &amp;gt; save this as a layer file.&amp;nbsp; You can then add the layer file to ArcMap using Python.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 15:21:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-add-basemap-to-mapdocument-using-arcpy/m-p/646616#M50403</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2014-06-20T15:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to add basemap to MapDocument using arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-add-basemap-to-mapdocument-using-arcpy/m-p/646617#M50404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reponse.&amp;nbsp; Manually creating a .lyr file won't work for us however.&amp;nbsp; We get the basemap URL sent in to us so it could be from anywhere and it needs to be loaded dynamically.&amp;nbsp; They basemaps can't be staged in this case because we don't know what basemap will be asked for.&amp;nbsp; We only know that it will be accessible from the URL.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 15:29:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-add-basemap-to-mapdocument-using-arcpy/m-p/646617#M50404</guid>
      <dc:creator>PeterLen</dc:creator>
      <dc:date>2014-06-20T15:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to add basemap to MapDocument using arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/how-to-add-basemap-to-mapdocument-using-arcpy/m-p/646618#M50405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter, I am wondering if now that 4 years have passed you found a way to accomplish this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 22:32:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-add-basemap-to-mapdocument-using-arcpy/m-p/646618#M50405</guid>
      <dc:creator>AhnaMiller2</dc:creator>
      <dc:date>2018-10-03T22:32:31Z</dc:date>
    </item>
  </channel>
</rss>

