<?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 Failure to publish spatially enabled dataframe in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/failure-to-publish-spatially-enabled-dataframe/m-p/771682#M740</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;I am running into issues publishing a spatially enabled dataframe as a feature layer through the arcgis python api. I execute the following:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;gis &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; GIS&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;my portal&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;user&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;pw&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
feature_layer &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; df_sub1&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;spatial&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;to_featurelayer&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"test_df_to_fl"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; gis&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'test'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Looking at the portal logs I am getting&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #f1e1e1; font-size: 14.4px;"&gt;ERROR 001369: Failed to create the service&lt;/SPAN&gt;&amp;nbsp;. My general workflow is:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;import csv as spatially enabled dataframe (sedf)&lt;/LI&gt;&lt;LI&gt;import states feature class as sedf&lt;/LI&gt;&lt;LI&gt;process csv&lt;/LI&gt;&lt;LI&gt;merge processed csv derived sedf with states sedf&lt;/LI&gt;&lt;LI&gt;publish as feature layer&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Here is a screenshot of my&amp;nbsp;portal logs:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/490929_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 08:37:27 GMT</pubDate>
    <dc:creator>PatrickHill</dc:creator>
    <dc:date>2021-12-12T08:37:27Z</dc:date>
    <item>
      <title>Failure to publish spatially enabled dataframe</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/failure-to-publish-spatially-enabled-dataframe/m-p/771682#M740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;I am running into issues publishing a spatially enabled dataframe as a feature layer through the arcgis python api. I execute the following:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;gis &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; GIS&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;my portal&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;user&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;pw&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
feature_layer &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; df_sub1&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;spatial&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;to_featurelayer&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"test_df_to_fl"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; gis&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'test'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Looking at the portal logs I am getting&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #f1e1e1; font-size: 14.4px;"&gt;ERROR 001369: Failed to create the service&lt;/SPAN&gt;&amp;nbsp;. My general workflow is:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;import csv as spatially enabled dataframe (sedf)&lt;/LI&gt;&lt;LI&gt;import states feature class as sedf&lt;/LI&gt;&lt;LI&gt;process csv&lt;/LI&gt;&lt;LI&gt;merge processed csv derived sedf with states sedf&lt;/LI&gt;&lt;LI&gt;publish as feature layer&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Here is a screenshot of my&amp;nbsp;portal logs:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/490929_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:37:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/failure-to-publish-spatially-enabled-dataframe/m-p/771682#M740</guid>
      <dc:creator>PatrickHill</dc:creator>
      <dc:date>2021-12-12T08:37:27Z</dc:date>
    </item>
  </channel>
</rss>

