laptop and a wrench

不具合

There are performance issues when using the 'size' property of the content class in ArcGIS API for Python.

最後に公開された状態: September 23, 2021 ArcGIS API for Python
不具合 ID 番号 BUG-000117150
送信されましたOctober 1, 2018
最終更新日June 5, 2024
適用対象ArcGIS API for Python
見つかったバージョン1.4.1
オペレーティング システムWindows OS
オペレーティング システムのバージョン2016 64 Bit
ステータスWill Not Be Addressed

参考情報

This is by design since the size is normally incorrect. The item class states to erase the property value in the __init__ of the item.

対処法

The workaround is to assign the item in the loop to a new variable:

from arcgis.gis import GIS

gis = GIS("<portal/ArcGIS Online>","<user>","<password>")

content = gis.content.search(query="")

for c in content:

test = c

print(test.size)

再現の手順

不具合 ID: BUG-000117150

ソフトウェア:

  • ArcGIS API for Python

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

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

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

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

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

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

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