ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Ayuda
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plataforma de representación cartográfica para tu organización

ArcGIS Desktop

Un completo SIG profesional

ArcGIS Enterprise

SIG en tu empresa

ArcGIS Developers

Herramientas para crear aplicaciones basadas en la ubicación

ArcGIS Solutions

Plantillas de aplicaciones y mapas gratuitas para tu sector

ArcGIS Marketplace

Obtén aplicaciones y datos para tu organización.

  • Documentación
  • Soporte
Esri
  • Iniciar sesión
user
  • Mi perfil
  • Cerrar sesión

ArcMap

  • Inicio
  • Introducción
  • Cartografiar
  • Analizar
  • Administrar datos
  • Herramientas
  • Extensiones

GetPackageInfo

  • Resumen
  • Sintaxis
  • Muestra de código

Resumen

The GetPackageInfo function returns a dictionary of package information.

Sintaxis

GetPackageInfo (input_package)
ParámetroExplicaciónTipo de datos
input_package

The path to the package file.

String

Valor de retorno

Tipo de datosExplicación
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:

Muestra de código

Returns information about a package.

import arcpy
import pprint

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

ArcGIS Desktop

  • Inicio
  • Documentación
  • Soporte

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

Acerca de Esri

  • Quiénes somos
  • Empleo
  • Blog de Esri
  • Conferencia de usuarios
  • Cumbre de desarrolladores
Esri
Díganos su opinión.
Copyright © 2021 Esri. | Privacidad | Legal