laptop and a wrench

不具合

Creating a hosted feature layer view using ArcGIS API for Python fails to create the expected visualization if the layer is set with a non-sequential layer ID in ArcGIS Pro.

ArcGIS API for Python
不具合 ID 番号 BUG-000159162
送信されましたJune 16, 2023
最終更新日August 18, 2025
適用対象ArcGIS API for Python
見つかったバージョン2.1.1
オペレーティング システムWindows OS
オペレーティング システムのバージョン11.0 64 bit
ステータスAs Designed

参考情報

To preserve the order, preserve_layer_ids must be set to True, and the layers/tables must be provided to the view. res2 = mgr.create_view( name=f"my_view_{uuid.uuid4().hex[:4]}", view_layers=[item.layers[3], item.layers[1]], preserve_layer_ids=True, ) This results in a layer with two layers in the view. The layer IDs are preserved as 83 and 1.

対処法

  • Use the ArcGIS Online user interface (UI) to create the layer view.
  • Keep the default sequential layer IDs (0,1, 2, 3, and so forth).

再現の手順

不具合 ID: BUG-000159162

ソフトウェア:

  • ArcGIS API for Python

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

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

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

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

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

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

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