Show Navigation | Hide Navigation
You are here:
Geoprocessing tool reference > Environment Settings > Geodatabase settings

Output XY domain

Release 9.3
Last modified December 17, 2008
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Geodatabase settings"


Related Topics

Allowable coordinate range for x,y coordinates.
Datasets created in 9.2 (and later) geodatabases have logic to automatically calculate 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 Data type
<xydomain> Datasets created in 9.2 (and later) geodatabases have logic to automatically calculate 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 Data type
Expression Explanation
XYDomain (Required)
Datasets created in 9.2 (and later) geodatabases have logic to automatically calculate 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"



Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.