XY Tolerance (Environment setting)

Tools that honor this environment will override the default x,y tolerance on geodatasets created inside a geodatabase.

The x,y tolerance refers to the minimum distance between coordinates before they are considered equal. For a description of the default x,y tolerance, see Spatial reference and geoprocessing.

Usage notes

Dialog syntax

XY ToleranceThe x,y tolerance to be set on the geodatasets created by geoprocessing tools. If the default x,y tolerance is inadequate, set this environment.

Scripting syntax

arcpy.env.XYTolerance = linear_unit

Parameter

Explanation

linear_unit

The x,y tolerance to be set on the geodatasets created by geoprocessing tools. If the default x,y tolerance is inadequate, set this environment.

XYTolerance syntax

Script example

import arcpy

# Set the XYTolerance to 0.02 Meters
arcpy.env.XYTolerance = "0.02 Meters"

Related Topics

2/10/2014