XY Resolution (Environment setting)

Tools that honor this environment will apply the x,y resolution to output geodatasets.

The x,y resolution, expressed as a very small distance, refers to the number of significant digits used to store x,y coordinate values. For a description of how a geodataset's default x,y resolution is calculated, see Spatial reference and geoprocessing.

Usage notes

Dialog syntax

XY ResolutionThe x,y resolution to be set on the output geodatasets. Set this environment if the default x,y resolution is inadequate.

Scripting syntax

arcpy.env.XYResolution = linear_unit

Parameter

Explanation

linear_unit

Sets the x,y resolution to be used on output geodatasets. The x,y resolution, expressed as a very small distance, refers to the number of significant digits used to store x,y coordinate values.

XYResolution syntax

Script example

import arcpy

# Set the XYResolution environment to a linear unit
arcpy.env.XYResolution = "0.002 Meters"

Related Topics


3/13/2012