Map Layout Report (Business Analyst)
Summary
Creates a snapshot of your map in a layout format and inserts it into a report.
Usage
-
Make sure to have your map formatted and in an acceptable presentation format before running this tool.
-
This tool reads the orientation of your Layout setting in ArcMap and applies it to the report.
Syntax
MapLayoutReport_ba (ReportTitle, OutputFolder, {ReportFormats})
Parameter | Explanation | Data Type |
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.
| String |
Code Sample
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)
Environments
This tool does not use any geoprocessing environments
Related Topics
Licensing Information
ArcGIS for Desktop Basic: Requires Business Analyst
ArcGIS for Desktop Standard: Requires Business Analyst
ArcGIS for Desktop Advanced: Requires Business Analyst
3/3/2014