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 支持应用程序

转至下载选项

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