ArcGIS Desktop

  • Documentación
  • Soporte

  • 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 for 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

Help

  • Inicio
  • Introducción
  • Mapa
  • Analizar
  • Administrar datos
  • Herramientas
  • Más...

Export Map Document

  • Resumen
  • Uso
  • Sintaxis
  • Muestra de código
  • Entornos
  • Información sobre licencias

Resumen

Exports a map document to either PDF, Production PDF, or a map package.

Uso

  • When using MAP_PACKAGE as the export type, all the layers in the TOC must be sourced, and the map document properties must be filled out. For more requirements to export as a map package, see Package Map.

  • The PDF Setting File parameter is only used for exporting to Production PDF. The setting files installed can be found at <Installion Location>\ArcGIS\Desktop10.3.1\Styles.

Sintaxis

ExportMapDocument_defense (Input_Map_Document, Export_Type, {PDF_Setting_File})
ParámetroExplicaciónTipo de datos
Input_Map_Document

The path to the map document.

Nota:

This needs to be an .mxd file and not a map document object.

ArcMap Document
Export_Type

Defines the type of export.

  • PDF —Exports into a standard PDF file.
  • PRODUCTION_PDF —Exports using a settings file that determines accurate color mappings for the PDF file.
  • MAP_PACKAGE —Exports a .zip file of the data and the MXD.
String
PDF_Setting_File
(Opcional)

A PDF settings file. The XML files are installed in <Installation path>ArcGIS\\Desktop10.3.1\Styles.

File

Muestra de código

Export Map Document example (Python window)

The following code sample demonstrates how to execute ExportMapDocument.

from arcpy import defense,CheckOutExtension,CheckInExtension

# Checking out Defense Mapping extension
CheckOutExtension('defense')

# Setting variables used in the tool
mapDocument=r'C:\Testing\V795X16573.mxd'
exportType="PRODUCTION_PDF"
pdfSettingsXML=r'C:\Program Files (x86)\ArcGIS\Desktop10.3\Styles\MGCP_Production_PDF.xml'

# Calling Export Map Document tool
defense.ExportMapDocument(mapDocument,exportType,pdfSettingsXML)

# Checking in Defense Mapping extension
CheckInExtension('defense')

Entornos

  • Espacio de trabajo actual
  • Espacio de trabajo temporal
  • Extensión

Información sobre licencias

  • ArcGIS Desktop Basic: No
  • ArcGIS Desktop Standard: Requiere Defense Mapping
  • ArcGIS Desktop Advanced: Requiere Defense Mapping

Temas relacionados

  • An overview of the Utilities toolset

ArcGIS Desktop

  • Inicio
  • Documentación
  • Soporte

Plataforma ArcGIS

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

Acerca de Esri

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