Map Layout Report (Business Analyst)

Уровень лицензии:BasicStandardAdvanced

Краткая информация

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

Использование

Синтаксис

MapLayoutReport_ba (ReportTitle, OutputFolder, {ReportFormats})
ПараметрОбъяснениеТип данных
ReportTitle

The name of the map layout report title.

String
OutputFolder

The directory that the report will be saved to.

Folder
ReportFormats
(дополнительно)

Select the desired report output format.

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

Пример кода

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 (x86)\ArcGIS\Desktop10.2\Business Analyst\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 report
  arcpy.MapLayoutReport_ba("New Mapping Report", MapLayoutDir)

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

Параметры среды

Этот инструмент не использует параметры среды геообработки

Связанные темы

Информация о лицензировании

ArcGIS for Desktop Basic: Требует Business Analyst
ArcGIS for Desktop Standard: Требует Business Analyst
ArcGIS for Desktop Advanced: Требует Business Analyst
4/27/2014