laptop and a wrench

不具合

The Spatial Join tool returns different results if it is used in ModelBuilder or via a Python script.

最後に公開された状態: April 11, 2022 ArcGIS Pro
不具合 ID 番号 BUG-000147813
送信されましたMarch 22, 2022
最終更新日February 11, 2025
適用対象ArcGIS Pro
見つかったバージョン2.9.2
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0 64 Bit
ステータスWill Not Be Addressed

参考情報

The difference in behavior happens due to projection on the fly when the spatial join target and join features are in different coordinate systems or datums. When the tool is run with the data added to the map in ArcGIS Pro (either in the geoprocessing tool user interface (UI) or in ModelBuilder), it uses the Datum Transformations from the map which were automatically selected when adding the layers to the map. When running the tool from a standalone Python, or if the transformation is cleared from the map, or if a new map is created, do not add layers, and run the tool, the same projection on the fly does not occur, and the results may be different. Use the Project tool to project both datasets into a common spatial reference and the result of Spatial Join and other spatial operations are always consistent. Learn more about how coordinate systems affect geoprocessing results at the following link: https://pro.arcgis.com/en/pro-app/latest/tool-reference/appendices/spatial-reference-and-geoprocessing.htm#ESRI_SECTION1_47C963B12E2B4D32AE65BBB9D6D747D7.

再現の手順

不具合 ID: BUG-000147813

ソフトウェア:

  • ArcGIS Pro

バグのステータスが変更されたときに通知を受け取る

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

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

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

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

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

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