laptop and a wrench

漏洞

When cloning a hosted feature service which has a lot of vertices, the cloning process fails, and returns the following error message, "_ItemCreateException: ('Failed to create Feature Service [serviceName]: Expecting value: line 1 column 1 (char 0)', <Item title:"[serviceName]" type:Feature Layer Collection owner:[owner]>)."

上次发布: July 5, 2021 ArcGIS API for Python
漏洞 ID 编号 BUG-000122287
已提交May 9, 2019
上次修改时间June 5, 2024
适用范围ArcGIS API for Python
找到的版本1.5.1
操作系统Windows OS
操作系统版本2016 64 Bit
状态Known Limit

附加信息

The clone_items() method works in most cases to clone hosted feature services. There are certain circumstances, most notably with feature layers containing geometries which have large numbers of vertices or a large number of features. In these circumstances, workarounds have to be used to successfully migrate. The feature services can be migrated through exporting, or through the use of duplicating the schema and then appending rows into the layer.

解决办法

Generalize the data to decrease the number of vertices in the data and republish the data. Refer to, https://pro.arcgis.com/en/pro-app/tool-reference/editing/generalize.htm.

重现步骤

漏洞 ID: BUG-000122287

软件:

  • ArcGIS API for Python

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项