Map Series Report (Business Analyst)

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

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

Generates a series of maps based on one or more features of a trade area.

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

Синтаксис

MapSeriesReport_ba (InputBoundaryLayer, All_Or_Single_Or_Selected, IDField, ReportMapSeriesHeadersAndFields, HideInactiveTAs, {ByID_Or_ByName}, {Single_Site}, {CreateReport}, {ReportTitle}, {OutputFolder}, {ExportToImages}, {ImagesFormat}, {ImagesFormatResolution}, {OutputFolderImages}, ReportMapSeriesLandscapeOrientation, {ReportFormats})
ПараметрОбъяснениеТип данных
InputBoundaryLayer

The input feature class that contains the boundaries that will be embedded into the report.

Feature Layer
All_Or_Single_Or_Selected

Runs a Map Series Report on one or more features.

  • ALLRuns the report on all the features in the boundary layer.
  • SINGLERuns the report only a single selected feature in the boundary layer.
String
IDField

The ID of each boundary which will be reported. These IDs will be located at the top of the report when it is output.

Field
ReportMapSeriesHeadersAndFields

Select from a list of available fields in the Boundary Layer to appear as headers in the report.

Value Table
HideInactiveTAs

Removes all features in the boundary layer from being displayed in the report except for the selected feature.

  • TRUERemoves all features from being displayed in the report except for the selected feature.
  • FALSEIncludes all features for display in the report. This is the default.
Boolean
ByID_Or_ByName
(дополнительно)

Field used to select a feature.

  • IDSelects a feature using the boundary ID field.
  • NameSelects a feature using the boundary NAME field.
String
Single_Site
(дополнительно)

Identifies the single feature ID or name to be used in the report.

CreateReport
(дополнительно)

Generates an output report.

  • TRUECreates a map series report. This is the default.
  • FALSEDoes not create a map series report.
Boolean
ReportTitle
(дополнительно)

Creates a title for the report.

OutputFolder
(дополнительно)

The output directory that will contain the report.

ExportToImages
(дополнительно)

Exports the images in the map series report to a specified folder.

  • TRUEOutputs images to folder.
  • FALSEDoes not output images to folder. This is the default.
Boolean
ImagesFormat
(дополнительно)

The units used with the distance values. By default, the units defined in the Business Analyst preferences will be selected.

  • JPEGMissing Value
  • BMPMissing Value
  • GIFMissing Value
  • EMFMissing Value
  • PNGMissing Value
  • TIFFMissing Value
String
ImagesFormatResolution
(дополнительно)

Enter the dots per inch (DPI) for each exported map image.

Double
OutputFolderImages
(дополнительно)

The output directory that the boundary images will be saved to.

ReportMapSeriesLandscapeOrientation

Locator report page orientation.

  • LANDSCAPEGenerates a landscape-oriented report.
  • PORTRAITGenerates a portrait-oriented report.
String
ReportFormats
[ReportFormats,...]
(дополнительно)

Select the desired report output format.

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

Пример кода

MapSeriesReport Example (Stand-alone Script)
# Name: MapSeriesReport.py
# Description: Creates a mapping report using predefined drive times.
# 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 Series Report tool

  BoundaryInput = "C:/My Output Data/Projects/Default Project/TradeAreas/DriveTime/US_Drive_Times.shp"
  Id = "ID"
  ReportName = "Map Series Report"
  ReportOut = "C:/My Output Data/Projects/Default Project/Reports/Map Series.shp"
	   	   
# Create the Map Series Report
  arcpy.MapSeriesReport_ba(BoundaryInput, ALL, "#", "#", Id, false, true, ReportName, ReportOut)
 
# 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