<?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: When Spatially Enabled Dataframes are Published to Feature Layers Can We Specifiy the Format? in ArcGIS Notebooks Questions</title>
    <link>https://community.esri.com/t5/arcgis-notebooks-questions/when-spatially-enabled-dataframes-are-published-to/m-p/655570#M190</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured this out with some help from &lt;A href="https://community.esri.com/migrated-users/3757"&gt;Brady Hoak&lt;/A&gt; of Esri.&amp;nbsp; If you want to create services based on geodatabase then you must use an Advanced notebook since it contains arcPy and the basic version does not.&amp;nbsp; This will then export your sedf's to geodatabases before publishing and will therfore retain your longer field names.&amp;nbsp; Hope this helps someone else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 May 2020 01:27:31 GMT</pubDate>
    <dc:creator>KevinMWright13</dc:creator>
    <dc:date>2020-05-01T01:27:31Z</dc:date>
    <item>
      <title>When Spatially Enabled Dataframes are Published to Feature Layers Can We Specifiy the Format?</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/when-spatially-enabled-dataframes-are-published-to/m-p/655569#M189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the following code to export the results of my &lt;SPAN class=""&gt;spatial&lt;/SPAN&gt; dataframe to a new feature layer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;EM&gt;lyr = sdfToPublish.spatial.to_featurelayer('Analysis_Export', folder='Export Folder')&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;lyr&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This runs beautifully, however it first coverts it to a .shp then publishes that as a service.&amp;nbsp;&amp;nbsp; The problem there is that .shp limit the field lengths to 10 characters, thus truncating our thoughtfully designed (a.k.a. very long) field names.&amp;nbsp; Is there a way to specify another type that does not truncate the length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REF: &lt;A class="link-titled" href="https://developers.arcgis.com/python/api-reference/arcgis.features.toc.html?highlight=spatial%20to_featurelayer#arcgis.features.SpatialDataFrame.to_featurelayer" title="https://developers.arcgis.com/python/api-reference/arcgis.features.toc.html?highlight=spatial%20to_featurelayer#arcgis.features.SpatialDataFrame.to_featurelayer"&gt;arcgis.features module — arcgis 1.8.0 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2020 20:45:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/when-spatially-enabled-dataframes-are-published-to/m-p/655569#M189</guid>
      <dc:creator>KevinMWright13</dc:creator>
      <dc:date>2020-04-28T20:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: When Spatially Enabled Dataframes are Published to Feature Layers Can We Specifiy the Format?</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/when-spatially-enabled-dataframes-are-published-to/m-p/655570#M190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured this out with some help from &lt;A href="https://community.esri.com/migrated-users/3757"&gt;Brady Hoak&lt;/A&gt; of Esri.&amp;nbsp; If you want to create services based on geodatabase then you must use an Advanced notebook since it contains arcPy and the basic version does not.&amp;nbsp; This will then export your sedf's to geodatabases before publishing and will therfore retain your longer field names.&amp;nbsp; Hope this helps someone else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2020 01:27:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/when-spatially-enabled-dataframes-are-published-to/m-p/655570#M190</guid>
      <dc:creator>KevinMWright13</dc:creator>
      <dc:date>2020-05-01T01:27:31Z</dc:date>
    </item>
  </channel>
</rss>

