<?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 Publish a Spatially Enabled Dataframe on AGOL? in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-publish-a-spatially-enabled-dataframe-on/m-p/733562#M220</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should work (I'm using 1.7.1) and only the title is required.&amp;nbsp; Can it be something with the data you are trying to&amp;nbsp;publish?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Feb 2020 19:52:11 GMT</pubDate>
    <dc:creator>Per_Åke_MattiasWallin</dc:creator>
    <dc:date>2020-02-05T19:52:11Z</dc:date>
    <item>
      <title>How to Publish a Spatially Enabled Dataframe on AGOL?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-publish-a-spatially-enabled-dataframe-on/m-p/733561#M219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am currently trying to publish a SEDF&amp;nbsp;on AGOL but am unable to do so. I have been&amp;nbsp;referring to the documentation, and have been using&amp;nbsp;df.spatial.to_featurelayer() to no avail.&amp;nbsp;Here is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mygis = GIS(website, username,&amp;nbsp; password)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loc_lyr&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #208ffb;"&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;loc_nyc_sdf&lt;SPAN class="" style="color: #208ffb;"&gt;.&lt;/SPAN&gt;spatial&lt;SPAN class="" style="color: #208ffb;"&gt;.&lt;/SPAN&gt;to_featurelayer&lt;SPAN class="" style="color: #208ffb;"&gt;(&lt;/SPAN&gt;title&lt;SPAN class="" style="color: #208ffb;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #208ffb;"&gt;'locations'&lt;/SPAN&gt;&lt;SPAN class="" style="color: #208ffb;"&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;gis&lt;SPAN class="" style="color: #208ffb;"&gt;=&lt;/SPAN&gt;mygis)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here is the error that I receive:&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px; padding: 1px 0px;"&gt;&lt;PRE style="border: 0px; margin: 0px;"&gt;&lt;P style="color: #3d3d3d;"&gt;&lt;SPAN class="" style="color: #e75c58;"&gt;TypeError&lt;/SPAN&gt;: expected str, bytes or os.PathLike object, not int&lt;/P&gt;&lt;/PRE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interestingly, when I remove the 'gis=' part, I get a syntax error, and when I write out the full &lt;SPAN&gt;GIS(website, username,&amp;nbsp; password), I get the same TypeError as when I&amp;nbsp;call it as a&amp;nbsp;variable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any help is greatly appreciated!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2020 00:33:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-publish-a-spatially-enabled-dataframe-on/m-p/733561#M219</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-01-30T00:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to Publish a Spatially Enabled Dataframe on AGOL?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-publish-a-spatially-enabled-dataframe-on/m-p/733562#M220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should work (I'm using 1.7.1) and only the title is required.&amp;nbsp; Can it be something with the data you are trying to&amp;nbsp;publish?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2020 19:52:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-publish-a-spatially-enabled-dataframe-on/m-p/733562#M220</guid>
      <dc:creator>Per_Åke_MattiasWallin</dc:creator>
      <dc:date>2020-02-05T19:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to Publish a Spatially Enabled Dataframe on AGOL?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-publish-a-spatially-enabled-dataframe-on/m-p/1001792#M5209</link>
      <description>&lt;P&gt;I have the same problem -- did you solve it?&amp;nbsp; Somewhere in the big error message above the type error, it says,&lt;/P&gt;&lt;PRE&gt;"Cannot Export the data without ArcPy or PyShp modules."&lt;/PRE&gt;&lt;P&gt;But even adding PyShp (Mac) and importing shapefile from it doesn't help.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2020 16:40:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-publish-a-spatially-enabled-dataframe-on/m-p/1001792#M5209</guid>
      <dc:creator>JillRKelly</dc:creator>
      <dc:date>2020-11-16T16:40:08Z</dc:date>
    </item>
  </channel>
</rss>

