<?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 Making Maps in Jupyter Lab with LOCAL Data in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/making-maps-in-jupyter-lab-with-local-data/m-p/844827#M3636</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to use the ArcGIS API for python to create a map with &lt;STRONG&gt;LOCAL&lt;/STRONG&gt; data? All I see on the &lt;A href="https://developers.arcgis.com/python/"&gt;website &lt;/A&gt;are examples with data hosted on ArcGIS Online.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Oct 2020 21:44:41 GMT</pubDate>
    <dc:creator>NilsRatnaweera1</dc:creator>
    <dc:date>2020-10-14T21:44:41Z</dc:date>
    <item>
      <title>Making Maps in Jupyter Lab with LOCAL Data</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/making-maps-in-jupyter-lab-with-local-data/m-p/844827#M3636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to use the ArcGIS API for python to create a map with &lt;STRONG&gt;LOCAL&lt;/STRONG&gt; data? All I see on the &lt;A href="https://developers.arcgis.com/python/"&gt;website &lt;/A&gt;are examples with data hosted on ArcGIS Online.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2020 21:44:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/making-maps-in-jupyter-lab-with-local-data/m-p/844827#M3636</guid>
      <dc:creator>NilsRatnaweera1</dc:creator>
      <dc:date>2020-10-14T21:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Making Maps in Jupyter Lab with LOCAL Data</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/making-maps-in-jupyter-lab-with-local-data/m-p/844828#M3637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/307774" target="_blank"&gt;Nils Ratnaweera&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;Yes, you can.&lt;/P&gt;&lt;P&gt;By using Pandas, GeoAccessor and GeoSeriesAccessor&amp;nbsp;&lt;SPAN style="color: #404040; background-color: #fcfcfc;"&gt;DataFrame Accessors you can access local shapefiles and gdb feature classes,...&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;SPAN class=""&gt;from arcgis.features import GeoAccessor, GeoSeriesAccessor
import pandas as pd&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="color: #404040; background-color: #fcfcfc;"&gt;Then these feature classes can be plotted as spatial data frames to a web map in this instance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #404040; background-color: #fcfcfc;"&gt;The following links give more insights:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #404040; background-color: #fcfcfc;"&gt;&lt;SPAN&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.esri.com/thread/261148-jupyter-lab-spatialplot-local-gdb-multiple-feature-classes?commentID=958657#comment" title="https://community.esri.com/message/958657-re-jupyter-lab-spatialplot-local-gdb-multiple-feature-classes?commentID=958657#comment-958657" target="_blank"&gt;https://community.esri.com/message/958657-re-jupyter-lab-spatialplot-local-gdb-multiple-feature-classes?commentID=958657…&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #404040; background-color: #fcfcfc;"&gt;&lt;SPAN&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/python/guide/introduction-to-the-spatially-enabled-dataframe/" title="https://developers.arcgis.com/python/guide/introduction-to-the-spatially-enabled-dataframe/" rel="nofollow noopener noreferrer" target="_blank"&gt;Introduction to the Spatially Enabled DataFrame | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #404040; background-color: #fcfcfc;"&gt;&lt;SPAN&gt;or use&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;SPAN class=""&gt;mp.add_layer(layer_item)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="color: #404040; background-color: #fcfcfc;"&gt;&lt;SPAN&gt;to add layers to the web map,&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #404040; background-color: #fcfcfc;"&gt;&lt;SPAN&gt;then web map can be saved in Portal or AGOL. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #fcfcfc; color: #404040;"&gt;Here's an example&amp;nbsp;of how to set up item properties of a web map and save it:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="font-size: 13px;"&gt;&lt;SPAN class=""&gt;webmap_properties&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666;"&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;{&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121;"&gt;'title'&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121;"&gt;'Web Map Sample'&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121;"&gt;'snippet'&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class="" style="color: #ba2121;"&gt;'Jupyter notebook saved as a web map'&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121;"&gt;'tags'&lt;/SPAN&gt;&lt;SPAN class=""&gt;:[&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121;"&gt;'automation'&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="color: #ba2121;"&gt;'python'&lt;/SPAN&gt;&lt;SPAN class=""&gt;]}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;mp&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;save&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;item_properties = webmap_properties&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;, &lt;/SPAN&gt;mode&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;None&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;, &lt;/SPAN&gt;thumbnail&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;None&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;, &lt;/SPAN&gt;metadata&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;None&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;, &lt;/SPAN&gt;owner&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;None&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;, &lt;/SPAN&gt;folder&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;None&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:21:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/making-maps-in-jupyter-lab-with-local-data/m-p/844828#M3637</guid>
      <dc:creator>MehdiPira1</dc:creator>
      <dc:date>2021-12-12T10:21:01Z</dc:date>
    </item>
  </channel>
</rss>

