laptop and a wrench

不具合

In the Create Vector Tile Package tool documentation, the 'CURRENT' keyword in CreateVectorTilePackage example 1 is not a valid input map.

最後に公開された状態: May 28, 2018 ArcGIS Pro
不具合 ID 番号 BUG-000100491
送信されましたOctober 31, 2016
最終更新日April 27, 2022
適用対象ArcGIS Pro
見つかったバージョン1.3
サーバー プラットフォームN/A
Version Fixed2.2
ステータスFixed

対処法

The following code works:p = <a href="http://arcpy.mp" target="_blank">arcpy.mp</a>.ArcGISProject("CURRENT")m = p.listMaps("MAP_NAME")[0]arcpy.CreateVectorTilePackage_management(<a href="http://m.name" target="_blank">m.name</a>, <a href="http://m.name" target="_blank">m.name</a> + '.vtpk', "ONLINE")This code uses ArcGISProject to access the current project with the CURRENT keyword, and then use listMaps to call the map within the project. Please refer to BUG-000098329 for more information regarding using map name instead of map as in_map parameter of the CreateVectorTilePackage function.

再現の手順

不具合 ID: BUG-000100491

ソフトウェア:

  • ArcGIS Pro

ArcGIS の専門家からヘルプを受ける

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

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

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

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