laptop and a wrench

Erro

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.

Última Publicação: September 22, 2021 ArcGIS Pro
Número de ID do Erro BUG-000140402
EnviadoJune 2, 2021
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS Pro
Versão encontrada2.8
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
StatusWill Not Be Addressed

Informações Adicionais

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.

Solução Provisória

  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.

Etapas para Reproduzir

ID do Erro: BUG-000140402

Software:

  • ArcGIS Pro

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download