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 Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動