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
上次修改时间August 14, 2025
适用范围ArcGIS Pro
找到的版本1.3
操作系统N/A
修正版本2.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

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项