AnsweredAssumed Answered

When Spatially Enabled Dataframes are Published to Feature Layers Can We Specifiy the Format?

Question asked by kevin.wright_CRSO on Apr 28, 2020
Latest reply on Apr 30, 2020 by kevin.wright_CRSO

I am using the following code to export the results of my spatial dataframe to a new feature layer:


lyr = sdfToPublish.spatial.to_featurelayer('Analysis_Export', folder='Export Folder')

This runs beautifully, however it first coverts it to a .shp then publishes that as a service.   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.  Is there a way to specify another type that does not truncate the length.




REF: arcgis.features module — arcgis 1.8.0 documentation