laptop and a wrench

不具合

The ArcGIS API for Python Item.tables property returns an empty array of tables when the item type is a map service.

ArcGIS API for Python
不具合 ID 番号 BUG-000171384
送信されましたOctober 10, 2024
最終更新日April 9, 2025
適用対象ArcGIS API for Python
見つかったバージョン2.4
オペレーティング システムWindows OS
オペレーティング システムのバージョン11.0 64 bit
修正されたバージョン2.4.1
ステータスFixed

対処法

Cast the item to FeatureLayerCollection:

from arcgis.features import FeatureLayerCollection

if not item is None:

  f_l_coll = FeatureLayerCollection.fromitem(item)

  print(f_l_coll.layers) # this prints the layers

  print(f_l_coll.tables) # this prints the tables

再現の手順

不具合 ID: BUG-000171384

ソフトウェア:

  • ArcGIS API for Python

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

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

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

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

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

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

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