Output XY domain


Allowable coordinate range for x,y coordinates.

Datasets created in 9.2 (and later) geodatabase have logic to automatically calculates a valid xy domain based on the data's coordinate system. Therefore this environment is only honored when creating datasets in a pre-9.2 geodatabase OR when the output dataset has an Unknown coordinate system. XY Resolution can still be controlled by setting the XY Resolution environment setting.

Usage tips

Command line syntax

An overview of the command line window

xydomain <xydomain>


Parameters Explanation Datatype
<xydomain> Datasets created in 9.2 (and later) geodatabase have logic to automatically calculates a valid xy domain based on the data's coordinate system. Therefore this environment is only honored when creating datasets in a pre-9.2 geodatabase OR when the output dataset has an Unknown coordinate system.

Allowable coordinate range for x,y coordinates.

Specify the following values:

  • X Min—Minimum x coordinate value.
  • Y Min—Minimum y coordinate value.
  • X Max—Maximum x coordinate value.
  • Y Max—Maximum y coordinate value.

String

Data types for geoprocessing tool parameters

Command line example

XYDomain "-180 -90 180 90"

Scripting syntax

An overview of scripting in geoprocessing

xydomain (xydomain)


Parameters Explanation Datatype
Expression Explanation

XYDomain (Required)
Datasets created in 9.2 (and later) geodatabase have logic to automatically calculates a valid xy domain based on the data's coordinate system. Therefore this environment is only honored when creating datasets in a pre-9.2 geodatabase OR when the output dataset has an Unknown coordinate system.

Allowable coordinate range for x,y coordinates.

Specify the following values:

  • X Min—Minimum x coordinate value.
  • Y Min—Minimum y coordinate value.
  • X Max—Maximum x coordinate value.
  • Y Max—Maximum y coordinate value.
String

Data types for geoprocessing tool parameters

Script example

# Create the geoprocessor
import arcgisscripting
gp = arcgisscripting.create()

gp.XYDomain ="-180 -90 180 90"


See Also