Introduction to arcpyproduction.mapping (arcpyproduction.mapping)

Arcpyproduction.mapping is a Python scripting module that is part of the ArcPyProduction site package in Esri Production Mapping. It is installed with the Production Mapping desktop product and is available with ArcGIS for Desktop Standard. This module allows you to access key cartographic and mapping functions that are provided with the Production Mapping extension.

Mapping functions

Function

Description

ClipDataFrameToGeometry

Clips the drawing of the data frame to a polygon geometry.

DisableDataFrameClipping

Removes any existing clipping setting on the data frame.

EnableLayerMasking

Enables or disables masking functionality on a data frame.

ExportToLayoutGeoTIFF

Exports the page layout of an .mxd file to the Tagged Image File Format (TIFF) with spatial reference information, which is also known as a GeoTIFF.

ExportToProductionPDF

Exports the page layout or data frame of an .mxd file to a Production Portable Document Format (PDF) file. The Production PDF exporter includes the following capabilities:

  • Spot colors—Provides Spot color support using PDF, including tint control
  • Overprint—Allows a color to blend with another color for CMYK or Spot colors
  • Replace colors—Maps one color to another during export from ArcGIS for Desktop
  • Convert colorspaces—Converts between RGB and CMYK colorspaces, allowing PDF files to have a mix of colorspaces
ExportToSeparatedTIFF

Exports the page layout or data frame of an .mxd to separate Tagged Image File Format (TIFF) files based on color mapping settings.

ListGrids

Returns a list of Grid objects in a specified feature dataset.

MaskLayer

Configures and applies layer masking settings for a specific data frame.

Mapping classes

Class

Description

Grid

The Grid object provides access to grid properties for a grids and graticules layer. A reference to the Grid object is often used as an argument for functions to access grid properties.

4/26/2014