Show Navigation | Hide Navigation
You are here:
Geoprocessing tool reference > Data Management toolbox > Feature Class toolset > Tools

Calculate Default Cluster Tolerance (Data Management)

Release 9.2
Last modified November 29, 2010
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Tools"


Related Topics

Calculates a default cluster tolerance value. Cluster tolerance and XY Tolerance are synonymous. The value returned by this tool will be identical to the xy tolerance property on a geodatabase feature class. With non-geodatabase feature classes (ie coverage feature class, shapefile, cad feature class) the value will be based on the default tolerance for the feature class' coordinate system (ie approximately 1/10th mm on the ground). For more information see Feature class basics.

The same value is available in scripting by describing the feature class, and getting the SpatialReference.XYTolerance value.


Usage tips

Command line syntax
An overview of the Command Line window
CalculateDefaultClusterTolerance_management <in_features>

Parameter Explanation Data Type
<in_features>

The feature class for which the default cluster tolerance will be calculated.

Feature Layer
Data types for geoprocessing tool parameters


Command line example

calculatedefaultclustertolerance_management roads.shp

Scripting syntax
About getting started with writing geoprocessing scripts
CalculateDefaultClusterTolerance_management (in_features)

Parameter Explanation Data Type
in_features (Required)

The feature class for which the default cluster tolerance will be calculated.

Feature Layer

Data types for geoprocessing tool parameters


Script example

import arcgisscripting
gp = arcgisscripting.create()

gp.workspace = "c:/temp"
print gp.calculatedefaultclustertolerance("roads.shp")
# The following code will give the same value
dsc = gp.describe("roads.shp")
print dsc.SpatialReference.XYTolerance

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