Returns a dictionary that contains information about a package file.
Syntax
GetPackageInfo(input_package)
Parameter
Explanation
Data Type
input_package
The path to the package file.
String
Return value
Data Type
Explanation
Dictionary
A dictionary containing the properties of the package file.
The dictionary keys are as follows:
credits—The credits for the package. This is generally the name of the organization that is given credit for authoring and providing the content for the package.
description—The description of the package.
name—The name of the package.
summary—The summary of package.
tags—The tags used to describe and identify the package.
type—The package type.
Geoprocessing Package—The package is a geoprocessing package (.gpkx).
Layer Package—The package is a layer package (.lpkx).
Locator Package—The package is a locator package (.gcpk).
Map Package—The package is a map package (.mpkx).
Mobile Map Package—The package is a mobile map package (.mmpk).
Mobile Scene Package—The package is a mobile scene package (.mspk).
Project Package—The package is a project package (.ppkx).
Vector Tile Package —The package is a vector tile package (.vtpk).