Map Layout Report (Business Analyst)

Zusammenfassung

Creates a snapshot of your map in a layout format and inserts it into a report.

Verwendung

Syntax

MapLayoutReport_ba (ReportTitle, OutputFolder, {ReportFormats})
ParameterErläuterungDatentyp
ReportTitle

The name of the map layout report title.

String
OutputFolder

The directory that the report will be saved to.

Folder
ReportFormats
(optional)

Select the desired report output format.

  • Simple XML
  • PDF
  • HTML
  • CSV
  • ZIP
  • XLSV
  • Stripped XLSX
String

Codebeispiel

MapLayoutReport Example (Stand-alone Script)
# Name: MapLayoutReport.py
# Description: Exports a map of the current map extent to a report.
# Author: ESRI

# Import system modules
import arcview
import arcpy

arcpy.ImportToolbox("C:\Program Files\ArcGIS\Desktop10.0\ArcToolbox\Toolboxes\Business Analyst Tools.tbx")
 
try:
# Acquire extension license
  arcpy.CheckOutExtension("Business")
    
# Define input and output parameters for the Map Layout Report tool

MapLayoutDir = "C:/My Output Data/Map Layout"
    
 
# Create a map layout reports
arcpy.MapLayoutReport_ba("New Mapping Report", MapLayoutDir)

# Release extension license 
arcpy.CheckInExtension("Business") 
 
except:
  print arcpy.GetMessages(2)

Umgebungen

Dieses Werkzeug verwendet keine Geoverarbeitungsumgebungen.

Verwandte Themen

Lizenzinformationen

ArcView: Erfordert Business Analyst
ArcEditor: Erfordert Business Analyst
ArcInfo: Erfordert Business Analyst

10/4/2010