laptop and a wrench

漏洞

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.

上次发布: September 22, 2021 ArcGIS Pro
漏洞 ID 编号 BUG-000140402
已提交June 2, 2021
上次修改时间June 5, 2024
适用范围ArcGIS Pro
找到的版本2.8
操作系统Windows OS
操作系统版本10.0 64 Bit
状态Will Not Be Addressed

附加信息

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.

解决办法

  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.

重现步骤

漏洞 ID: BUG-000140402

软件:

  • ArcGIS Pro

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项