laptop and a wrench

Error

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

Última publicación: May 28, 2018 ArcGIS Pro
Número de ID del error BUG-000100491
EnviadoOctober 31, 2016
Última modificaciónAugust 14, 2025
Relacionado conArcGIS Pro
Versión encontrada1.3
Sistema operativoN/A
Versión corregida2.2
EstadoFixed

Solución alternativa

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.

Pasos para reproducir

ID del error: BUG-000100491

Software:

  • ArcGIS Pro

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga