Get Job AOI (Workflow Manager)

Lizenzstufe:BasicStandardAdvanced

Zusammenfassung

Gets the job's area of interest (AOI) layer as a feature layer. This layer can be used to perform other analysis by plugging the output into other geoprocessing tools in a model.

Verwendung

Syntax

GetJobAOI_wmx (Input_JobID, aoi_Layer, {Input_DatabasePath})
ParameterErläuterungDatentyp
Input_JobID

The ID for the job's AOI retrieved.

String
aoi_Layer

The layer name for the AOI retrieved.

Feature layer
Input_DatabasePath
(optional)

The Workflow Manager database connection file for the input job.

File

Codebeispiel

GetJobAOI example (stand-alone Python script)

Gets the job's area of interest (AOI) layer as a feature layer.

# Import arcpy module
import arcpy

# Check out any necessary licenses
arcpy.CheckOutExtension("JTX")

# Script arguments
Input_DatabasePath = arcpy.GetParameterAsText(0)
Input_JobID = arcpy.GetParameterAsText(1)

# Local variables:
AOI_Layer = "AOILayer_Job1"

# Process: Get Job AOI
arcpy.GetJobAOI_WMX(Input_JobID, AOI_Layer, Input_DatabasePath)

Umgebung

Dieses Werkzeug verwendet keine Geoverarbeitungsumgebungen.

Lizenzierungsinformationen

ArcGIS for Desktop Basic: Nein
ArcGIS for Desktop Standard: Erfordert Workflow Manager
ArcGIS for Desktop Advanced: Erfordert Workflow Manager
9/12/2013