AnsweredAssumed Answered

FGDB FC field name too long for Oracle SDE

Question asked by fallingdog on Nov 19, 2018
Latest reply on Nov 28, 2018 by fallingdog

We have some python code the scrapes fgdb's off a public site and loads them into an oracle sde. However, one of the feature classes has a very long field name that is making arcpy copy features puke. What is the best way to truncate this field name?

 

I have thought of a few options -- none of which I am thrilled with...

 

1) export to shapefile then copy that into sde

2) read the fc shcema info with arcpy and build a new fc with that truncates field names as needed. Then append the original data into the new fc with field mapping objects

 

Anyone have a more elegant solution? 

Outcomes