Select to view content in your preferred language

Preserve field types for sedf.spatial.to_featureclass

223
0
02-12-2025 12:36 PM
Status: Open
EugeneSosnin_GSI
Emerging Contributor

The problem: when I export a spatially enabled dataframe with sedf.spatial.to_featureclass it does not preserve field types, like: LONG -> BigInteger. That makes impossible to apply a domain from the source featureclass.

Possible solutions: try to read field types with pd.DataFrame.spatial.from_featureclass, or add a parameter to force field types, or smth else