An overview of the Utilities toolset

These utility scripts perform a variety of data conversion tasks. They were designed to be used in conjunction with other tools in the Spatial Statistics toolbox.


Calculate Distance Band from Neighbor Count

Returns the minimum, the maximum, and the average distance to the specified Nth nearest neighbor (N is an input parameter) for a set of features. Results are written as tool execution messages.

Collect Events

Converts event data, such as crime or disease incidents, to weighted point data.

Convert Spatial Weights Matrix To Table

Converts a binary spatial weights matrix file (.swm) to a table.

Dimension Reduction

Reduces the number of dimensions of a set of continuous variables by aggregating the highest possible amount of variance into fewer components using Principal Component Analysis (PCA) or Reduced-Rank Linear Discriminant Analysis (LDA). The variables are specified as fields in an input table or feature layer, and new fields representing the new variables are saved in the output table or feature class. The number of new fields will be fewer than the number of original variables while maintaining the highest possible amount of variance from all the original variables.

Export Feature Attributes To ASCII

Exports feature class coordinates and attribute values to a space-, comma-, tab-, or semicolon-delimited ASCII text file.


The Calculate Areas tool is no longer included in the Utilities toolset because there are easier and more efficient ways to find the area of features. Use the Calculate Field tool or the Add Geometry Attributes tool instead of the Calculate Areas tool in your workflows. If you are using feature classes in a geodatabase, the shape_area attribute field is automatically maintained.