<?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: Spatially Enabled Dataframe to Feature Service - how to avoid shapefile conversion? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/spatially-enabled-dataframe-to-feature-service-how/m-p/1231978#M66065</link>
    <description>&lt;P&gt;A better way would probably be to avoid it entirely. I've had lots of similar trouble publishing from a dataframe directly to a layer.&lt;/P&gt;&lt;P&gt;Personally, I would built the destination layer first in order to control the data types, then use the Python API to append data to it.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Nov 2022 21:05:47 GMT</pubDate>
    <dc:creator>jcarlson</dc:creator>
    <dc:date>2022-11-15T21:05:47Z</dc:date>
    <item>
      <title>Spatially Enabled Dataframe to Feature Service - how to avoid shapefile conversion?</title>
      <link>https://community.esri.com/t5/python-questions/spatially-enabled-dataframe-to-feature-service-how/m-p/1231925#M66064</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Fairly new to publishing spatially enabled dataframes, looking for advice on the following&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;python env either does not have arcpy, or has arcpy but does not have a license (not checked out or connected to license server&lt;/LI&gt;&lt;LI&gt;create a spatially enabled dataframe from various data inputs&lt;/LI&gt;&lt;LI&gt;publish to AGOL/Portal using either &lt;STRONG&gt;df.spatial.to_featurelayer()&lt;/STRONG&gt; or &lt;STRONG&gt;gis.content.import_data()&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Both of the above methods seem to export the dataframe out to shapefile first before publishing to feature class. This is causing a couple issues on the back end (field values are being converted to different datatypes resulting in a failed publish)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is there a better way to publish spatially enabled dataframes in an environment that is not using arcpy?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 19:37:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spatially-enabled-dataframe-to-feature-service-how/m-p/1231925#M66064</guid>
      <dc:creator>I_AM_ERROR</dc:creator>
      <dc:date>2022-11-15T19:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Spatially Enabled Dataframe to Feature Service - how to avoid shapefile conversion?</title>
      <link>https://community.esri.com/t5/python-questions/spatially-enabled-dataframe-to-feature-service-how/m-p/1231978#M66065</link>
      <description>&lt;P&gt;A better way would probably be to avoid it entirely. I've had lots of similar trouble publishing from a dataframe directly to a layer.&lt;/P&gt;&lt;P&gt;Personally, I would built the destination layer first in order to control the data types, then use the Python API to append data to it.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 21:05:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spatially-enabled-dataframe-to-feature-service-how/m-p/1231978#M66065</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-11-15T21:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Spatially Enabled Dataframe to Feature Service - how to avoid shapefile conversion?</title>
      <link>https://community.esri.com/t5/python-questions/spatially-enabled-dataframe-to-feature-service-how/m-p/1231980#M66066</link>
      <description>&lt;P&gt;I was considering that and, yeah it would probably give better control over the destination schema.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 21:26:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spatially-enabled-dataframe-to-feature-service-how/m-p/1231980#M66066</guid>
      <dc:creator>I_AM_ERROR</dc:creator>
      <dc:date>2022-11-15T21:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: Spatially Enabled Dataframe to Feature Service - how to avoid shapefile conversion?</title>
      <link>https://community.esri.com/t5/python-questions/spatially-enabled-dataframe-to-feature-service-how/m-p/1231982#M66067</link>
      <description>&lt;P&gt;Just feels pretty odd having to write a file out to disk just to immediately read it back in....&lt;span class="lia-unicode-emoji" title=":neutral_face:"&gt;😐&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 21:30:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spatially-enabled-dataframe-to-feature-service-how/m-p/1231982#M66067</guid>
      <dc:creator>I_AM_ERROR</dc:creator>
      <dc:date>2022-11-15T21:30:13Z</dc:date>
    </item>
  </channel>
</rss>

