<?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: Value Error when adding layer to map ArcPro in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/value-error-when-adding-layer-to-map-arcpro/m-p/168980#M13052</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could this be helpful?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://gis.stackexchange.com/questions/332387/value-error-when-adding-adding-a-layer-in-arcgis-pro-arcpy-script/332394#332394" title="https://gis.stackexchange.com/questions/332387/value-error-when-adding-adding-a-layer-in-arcgis-pro-arcpy-script/332394#332394"&gt;Value Error when adding adding a layer in ArcGIS Pro arcpy script - Geographic Information Systems Stack Exchange&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Dec 2019 10:25:22 GMT</pubDate>
    <dc:creator>JohannesBierer</dc:creator>
    <dc:date>2019-12-11T10:25:22Z</dc:date>
    <item>
      <title>Value Error when adding layer to map ArcPro</title>
      <link>https://community.esri.com/t5/python-questions/value-error-when-adding-layer-to-map-arcpro/m-p/168978#M13050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a script, I'm creating a feature layer and trying to add it to a map in ArcGIS Pro 2.3.0. When I try to add it though, I get a ValueError. Any ideas why and how to fix it?&lt;/P&gt;&lt;P&gt;FYI, I'm running the script in Spyder, Python 3.6.6, which I installed (maybe correctly, maybe not) in the default ArcGIS Pro environment. It seems to recognize the arcpy module, although there's no intellisense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arcpy.MakeFeatureLayer_management('GPP', 'Area501')&lt;/P&gt;&lt;P&gt;m.addLayer('Area501')&amp;nbsp; # ValueError: Area501&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2019 13:50:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/value-error-when-adding-layer-to-map-arcpro/m-p/168978#M13050</guid>
      <dc:creator>Zeke</dc:creator>
      <dc:date>2019-08-14T13:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Value Error when adding layer to map ArcPro</title>
      <link>https://community.esri.com/t5/python-questions/value-error-when-adding-layer-to-map-arcpro/m-p/168979#M13051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I faced this problem recently. My solution was to load the file using a path rather:&lt;/P&gt;&lt;P&gt;m.addDataFromPath(myFilePath)&lt;/P&gt;&lt;P&gt;with myFilePath being the feature class URL. Reach out to me if you need further assistance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All is well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2019 08:32:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/value-error-when-adding-layer-to-map-arcpro/m-p/168979#M13051</guid>
      <dc:creator>Ebenezer_AttuaJnr</dc:creator>
      <dc:date>2019-12-11T08:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Value Error when adding layer to map ArcPro</title>
      <link>https://community.esri.com/t5/python-questions/value-error-when-adding-layer-to-map-arcpro/m-p/168980#M13052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could this be helpful?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://gis.stackexchange.com/questions/332387/value-error-when-adding-adding-a-layer-in-arcgis-pro-arcpy-script/332394#332394" title="https://gis.stackexchange.com/questions/332387/value-error-when-adding-adding-a-layer-in-arcgis-pro-arcpy-script/332394#332394"&gt;Value Error when adding adding a layer in ArcGIS Pro arcpy script - Geographic Information Systems Stack Exchange&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2019 10:25:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/value-error-when-adding-layer-to-map-arcpro/m-p/168980#M13052</guid>
      <dc:creator>JohannesBierer</dc:creator>
      <dc:date>2019-12-11T10:25:22Z</dc:date>
    </item>
  </channel>
</rss>

