laptop and a wrench

Bug

The JSON To Features tool fails and returns the error message, "Expected to find comma, colon or start of array; state : Empty; buffer : ��{" when run against a specific JSON file.

Zuletzt veröffentlicht: September 22, 2021 ArcGIS Pro
Bug-ID-Nummer BUG-000140402
EingereichtJune 2, 2021
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS Pro
Gefunden in Version2.8
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
StatusWill Not Be Addressed

Zusätzliche Informationen

These characters are not supported when the GeoJSON text is saved with the current encoding. Change the file encoding using a text editor like Notepad, select the Unicode encoding, and the operation can run successfully.

Workaround

  1. Load the data into a FeatureSet, and export the data as an SDF file. Refer to https://developers.arcgis.com/python/api-reference/arcgis.features.toc.html?highlight=from%20geojson#arcgis.features.FeatureSet.from_geojson for more information.
  2. Export the SDF file to a feature class using the to_featureclass property. Refer to https://developers.arcgis.com/python/guide/introduction-to-the-spatially-enabled-dataframe/ for more information.

Schritte zur Reproduzierung

Bug-ID: BUG-000140402

Software:

  • ArcGIS Pro

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln