ArcGIS Desktop

  • Documentation
  • Support

  • My Profile
  • Aide
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plateforme cartographique de votre organisation

ArcGIS Desktop

Un SIG professionnel complet

ArcGIS Enterprise

SIG dans votre entreprise

ArcGIS for Developers

Outils de création d'applications de localisation

ArcGIS Solutions

Modèles d'applications et de cartes gratuits pour votre secteur d'activité

ArcGIS Marketplace

Téléchargez des applications et des données pour votre organisation.

  • Documentation
  • Support
Esri
  • Se connecter
user
  • Mon profil
  • Déconnexion

ArcMap

  • Accueil
  • Commencer
  • Carte
  • Analyser
  • Gérer les données
  • Outils
  • Extensions

GetPackageInfo

  • Résumé
  • Syntaxe
  • Exemple de code

Résumé

The GetPackageInfo function returns a dictionary of package information.

Syntaxe

GetPackageInfo (input_package)
ParamètreExplicationType de données
input_package

The path to the package file.

String

Valeur renvoyée

Type de donnéesExplication
Dictionary

Returns a dictionary of key-value pairs.

KeysValues

credits

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

Description of the package.

name

Name of the package.

summary

Summary of package.

tags

Tags used to describe and identify the package.

type

The package type: Layer Package, Map Package, Geoprocessing Package, Map Tile Package, Address Locator Package, or Project Package.

version

The package version.

The GetPackageInfo dictionary object keys:

Exemple de code

Returns information about a package.

import arcpy
import pprint

pprint.pprint(arcpy.GetPackageInfo("c:/packages/maps/Leith.mpk"))

ArcGIS Desktop

  • Accueil
  • Documentation
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

A propos d'Esri

  • A propos de la société
  • Carrières
  • Blog des initiés
  • Conférence des utilisateurs
  • Sommet des développeurs
Esri
Donnez-nous votre avis.
Copyright © 2018 Esri. | Confidentialité | Légal