laptop and a wrench

不具合

The SceneLayerManager class has an incorrect source type attribute in ArcGIS API for Python.

ArcGIS API for Python
不具合 ID 番号 BUG-000169804
送信されましたAugust 8, 2024
最終更新日August 22, 2024
適用対象ArcGIS API for Python
見つかったバージョン2.3.0
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0 64 Bit
修正されたバージョンQ4 2024 (version 2.4.0)
ステータスFixed

対処法

In the case where the source type of the SceneLayer is known to be a feature service, set the private property of the SceneLayerManager class to the following:

from arcgis.gis import GIS

from arcgis.mapping import SceneLayer

gis = GIS('https://arcgis.com', '<username>', '<password>')

scene_layer = SceneLayer('<URL to scene service>', gis=gis)

scene_layer_manager = scene_layer.manager

scene_layer_manager._source_type = 'Feature Service'

result = scene_layer_manager.rebuild_cache(layers=0)

print(result)

再現の手順

不具合 ID: BUG-000169804

ソフトウェア:

  • ArcGIS API for Python

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

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

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

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

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

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

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