laptop and a wrench

漏洞

The arcgis.geometry.Polygon.is_valid() method for polygons does not work.

上次发布: February 26, 2019 ArcGIS API for Python
漏洞 ID 编号 BUG-000119560
已提交January 23, 2019
上次修改时间June 30, 2025
适用范围ArcGIS API for Python
找到的版本1.5.1
修正版本1.6.2
状态Fixed

解决办法

Modify the _types.py file mentioned in errors. For example, in this case: /data/anaconda3/lib/python3.6/site-packages/arcgis/geometry/_types.pyEdit _types.py to include the following lines after the import statements:
list_types = (list, tuple)
number_type = (int, float, complex)Save the file. Restart the kernel if using Jupyter Notebook to reflect the update (i.e, click >>).

重现步骤

漏洞 ID: BUG-000119560

软件:

  • ArcGIS API for Python

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项