laptop and a wrench

Bug

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

Zuletzt veröffentlicht: May 28, 2018 ArcGIS Pro
Bug-ID-Nummer BUG-000100491
EingereichtOctober 31, 2016
Zuletzt geändertAugust 14, 2025
Gilt fürArcGIS Pro
Gefunden in Version1.3
BetriebssystemN/A
Behoben in Version2.2
StatusFixed

Workaround

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.

Schritte zur Reproduzierung

Bug-ID: BUG-000100491

Software:

  • ArcGIS Pro

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln