Output extent


Defined area of interest for results from running tools. In the case of feature data, all input features to a tool that pass through the area of interest will be included in the calculation. For raster data, results from running tools will be contained within the extent set.

The extent is a rectangle, specified by identifying the coordinates of the window in map space.

Usage tips

In ModelBuilder

Command line syntax

An overview of the command line window

Extent <MINOF | MAXOF | value>


Parameters Explanation Datatype
<MINOF| MAXOF | value> Specifies the extent of the study area.

  • MINOF (Intersection of Inputs)—The minimum area common to all inputs; where all layers overlay. This is the default.
  • MAXOF (Union of Inputs)—The maximum extent of all inputs; the combined extent of all inputs.
  • value (As Specified Below)—Specifies the minimum and maximum extent values:
    • Left—XMin value
    • Right—XMax value
    • Bottom—YMin value
    • Top—YMax value

String

Data types for geoprocessing tool parameters

Command line examples

Extent MINOF
Extent '1 1 512 512'

Scripting syntax

An overview of scripting in geoprocessing

Extent (study_area)


Parameters Explanation Datatype
MINOF | MAXOF | value (Required) Specifies the extent of the study area.

  • MINOF (Intersection of Inputs)—The minimum area common to all inputs; where all layers overlay. This is the default.
  • MAXOF (Union of Inputs)—The maximum extent of all inputs; the combined extent of all inputs.
  • value (As Specified Below)—Specifies the minimum and maximum extent values:
    • Left—XMin value
    • Right—XMax value
    • Bottom—YMin value
    • Top—YMax value

String

Data types for geoprocessing tool parameters

Script example

import arcgisscripting
gp = arcgisscripting.create()

gp.workspace = "h:/workspace"
gp.toolbox = "SA"
gp.Extent = "MAXOF"
gp.Extent = "1 1 512 512"

See Also