Select to view content in your preferred language

How to avoid float rounding when publishing featurelayers from geojson

491
0
03-18-2021 10:45 AM
JustinCollins
New Contributor

Hello,

 

layer.publish() from the python arcgis library for arcgis online tools will upload geojson to a FeatureLayer. This layer's underlying data contains numeric fields of float data type. The publish method coerces float values < 1 and rounds them to the nearest integer. How can this be avoided during the etl process?

 

Thank you

Tags (1)
0 Kudos
0 Replies