ArcGIS banner

Running a Python script from ArcToolbox

Geoprocessing

Segment 6 of 8

Top  Previous  Next

Double-click the Clip Feature Classes script in the ArcToolbox window to open it. The parameters you defined are displayed on its dialog box.

Notice how each parameter contains a default value. For the Input Folder, Input Clip Feature Class, and Output Workspace parameters, these are the values you set up for the Default property of each parameter.

The XY Tolerance is the distance that determines the range in which features are made coincident. You’ll leave the default (blank) and the units Unknown for the XY Tolerance parameter. You set the value for the XY Tolerance parameter to be taken from the Environment Settings dialog box when you set up the properties for this parameter. As you haven’t specified a value for this parameter in the Environment Settings dialog box, a default value will be calculated. The default value calculated will ensure the precision of the data, as it always integrates the data at the smallest possible XY Tolerance value.

The units for the XY Tolerance parameter are set to Unknown. The units given to the spatial reference of the output feature classes will be used by the XY Tolerance parameter. If you were to set the units to be anything other than Unknown, they would be converted to the same units as the output. The output feature classes get their units from the spatial reference set for the first input, that is, the first shapefile in the GP_Tutorial folder to be clipped, provided you haven’t specified otherwise in the Spatial Reference section of the Environment Settings dialog box.

Click OK.

The clipped feature classes are added to the Habitat_Analysis geodatabase. You will use these feature classes in the next exercise to locate potential high-quality habitat areas for the California gnatcatcher.


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