laptop and a wrench

漏洞

The compare() method fails and returns the error message "TypeError: '<' not supported between instances of 'Point' and 'Point'" when comparing geometries in ArcGIS API for Python 2.4.1.

ArcGIS API for Python
漏洞 ID 编号 BUG-000177928
已提交July 16, 2025
上次修改时间July 23, 2025
适用范围ArcGIS API for Python
找到的版本2.4.1
操作系统Windows OS
操作系统版本11.0 64 bit
修正版本2.4.2
状态Fixed

解决办法

# Geometry comparison

geom_difference= ~sdf1['SHAPE'].equals(sdf2['SHAPE']) # gives True if they are unequal

geom_difference

重现步骤

漏洞 ID: BUG-000177928

软件:

  • ArcGIS API for Python

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项