ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • 帮助
  • Sign Out
ArcGIS Desktop

ArcGIS Online

专为贵组织打造的制图平台

ArcGIS Desktop

全面的专业性 GIS

ArcGIS Enterprise

面向企业的 GIS

ArcGIS Developers

用于构建位置感知应用程序的工具

ArcGIS Solutions

适用于行业的免费模板地图和应用程序

ArcGIS Marketplace

获取适用于组织的应用程序和数据

  • 文档
  • 支持
Esri
  • 登录
user
  • 我的个人资料
  • 登出

ArcMap

  • 主页
  • 入门
  • 地图
  • 分析
  • 管理数据
  • 工具
  • 扩展模块

Map Series Report

获得 Business Analyst 许可后可用。

  • 描述
  • 使用方法
  • 语法
  • 代码示例
  • 环境
  • 许可信息

描述

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

使用方法

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

语法

arcpy.ba.MapSeriesReport(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.

  • ALL —Runs the report on all the features in the boundary layer.
  • SINGLE —Runs 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.

  • TRUE —Removes all features from being displayed in the report except for the selected feature.
  • FALSE —Includes all features for display in the report. This is the default.
Boolean
ByID_Or_ByName
(可选)

Field used to select a feature.

  • ID —Selects a feature using the boundary ID field.
  • Name —Selects a feature using the boundary NAME field.
String
Single_Site
(可选)

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

String
CreateReport
(可选)

Generates an output report.

  • TRUE —Creates a map series report. This is the default.
  • FALSE —Does not create a map series report.
Boolean
ReportTitle
(可选)

Creates a title for the report.

String
OutputFolder
(可选)

The output directory that will contain the report.

Folder
ExportToImages
(可选)

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

  • TRUE —Outputs images to folder.
  • FALSE —Does 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.

  • JPEG
  • BMP
  • GIF
  • EMF
  • PNG
  • TIFF
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.

Folder
ReportMapSeriesLandscapeOrientation

Locator report page orientation.

  • LANDSCAPE —Generates a landscape-oriented report.
  • PORTRAIT —Generates a portrait-oriented report.
String
ReportFormats
[ReportFormats,...]
(可选)

Select the desired report output format.

  • Simple XML
  • PDF
  • HTML
  • CSV
  • ZIP
  • XLSX
  • 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(r"C:\Program Files (x86)\ArcGIS\Desktop10.8\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")

环境

此工具不使用任何地理处理环境。

许可信息

  • Basic: 需要 Business Analyst
  • Standard: 需要 Business Analyst
  • Advanced: 需要 Business Analyst

相关主题

  • An overview of the Business Analyst Reports toolset

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

关于 Esri

  • 关于我们
  • 招贤纳士
  • Esri 博客
  • 用户大会
  • 开发者峰会
Esri
分享您的想法。
Copyright © 2022 Esri. | 隐私政策 | 法律声明