Available with Business Analyst license.
Summary
Generates a series of maps based on one or more features of a trade area.
Usage
The output will be based the Data View or Layout View set in ArcMap.
All reports will inherit the same scale and properties of the View set in ArcMap.
All formatting of the reports will reflect the page and print setup properties from the File-Page and Print Setup menu in ArcMap.
Syntax
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})
Parameter | Explanation | Data Type |
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.
| 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.
| Boolean |
ByID_Or_ByName (Optional) | Field used to select a feature.
| String |
Single_Site (Optional) | Identifies the single feature ID or name to be used in the report. | String |
CreateReport (Optional) | Generates an output report.
| Boolean |
ReportTitle (Optional) | Creates a title for the report. | String |
OutputFolder (Optional) | The output directory that will contain the report. | Folder |
ExportToImages (Optional) | Exports the images in the map series report to a specified folder.
| Boolean |
ImagesFormat (Optional) | The units used with the distance values. By default, the units defined in the Business Analyst preferences will be selected.
| String |
ImagesFormatResolution (Optional) | Enter the dots per inch (DPI) for each exported map image. | Double |
OutputFolderImages (Optional) | The output directory that the boundary images will be saved to. | Folder |
ReportMapSeriesLandscapeOrientation | Locator report page orientation.
| String |
ReportFormats [ReportFormats,...] (Optional) | Select the desired report output format.
| String |
Code sample
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(r"C:\Program Files (x86)\ArcGIS\Desktop10.7\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)
Environments
This tool does not use any geoprocessing environments.
Licensing information
- ArcGIS Desktop Basic: Requires Business Analyst
- ArcGIS Desktop Standard: Requires Business Analyst
- ArcGIS Desktop Advanced: Requires Business Analyst