Calculate Metrics (Topographic Production Tools)
Summary
Populates metrics for features in a geodatabase. Metrics include length, width, area, and elevation attributes.
Usage
Caution:
This tool modifies the input data. See Tools that modify or update the input data for more information and strategies to avoid undesired data changes.
The following are supported feature attribute metrics:
Length—The default attributes are LEG, LEN, LEN_, LGN, and LZN.Width—The default attributes are WID, WID_, and WGP.Area—The default attributes are ARA, ARE, and ARE_.Angle of orientation—The default attributes are AOO, DOF, and FEO.Elevation—The default attributes are ZV2 and ZVH (must be z-enabled data).Note:
Elevation metrics that the tool derives from a raster file specified for the Elevation Raster parameter value will overwrite existing elevation data.
Military Grid Reference System—The default attributes are MGRSValue and MGRS.
Input metric types are processed based on the geometry of the feature class as follows:
Points—Elevation
Lines—Length and Elevation
Polygons—Length, Width, Area, Angle of Orientation, and Elevation
The Input Length Attributes, Input Width Attributes, Input Area Attributes, Input Angle of Orientation Attributes, and Input Elevation Attributes parameter values reference a comma-delimited list of field names in the data model. If one or more fields exist in the Input Features parameter value, the field will be calculated according to the metrics specified for the Input Metric Types parameter value.
You can add custom field names to the list of options in the Input Length Attributes, Input Width Attributes, Input Area Attributes, Input Angle of Orientation Attributes, and Input Elevation Attributes parameter values. This tool will attempt to compute metrics in a custom field.
This tool can calculate the Military Grid Reference System (MGRS) coordinates for features using the standard precision formats as well as the format used for Image City Map (ICM) annotation features. For ICM format, the value is a combination of the column and row number in which the feature is located.
License:
The ArcGIS Spatial Analyst extension allows this tool to rotate features such as springs and natural pools to face downhill. The ArcGIS Topographic Mapping product data files include certain point feature layers with a
CBO_Rotationattribute field that is set up to be updated by this tool using the Elevation Raster parameter value and specifying Angle of orientation for the Input Metric Types parameter value.
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Input Features |
The features for which metrics will be calculated. |
Feature Layer |
|
Input Metric Types |
Specifies the types of metrics that will be calculated. License:The Spatial Analyst extension is required when using an elevation raster and the Angle of orientation option to rotate point features so that they face downhill.
|
String |
|
Input Length Attributes (Optional) |
A comma-delimited string of field names from which the length metrics will be calculated. The default is |
String |
|
Input Width Attributes (Optional) |
A comma-delimited string of field names from which the width metrics will be calculated. The default is |
String |
|
Input Area Attributes (Optional) |
A comma-delimited string of field names from which the area metrics will be calculated. The default is |
String |
|
Input Angle of Orientation Attributes (Optional) |
A comma-delimited string of field names from which the angle of orientation metrics will be calculated. The default is |
String |
|
Input Elevation Attributes (Optional) |
A comma-delimited string of field names from which the elevation metrics will be calculated. The default is |
String |
|
Input Floating Point Precision (Optional) |
The precision of the metrics written to the target attributes. |
Long |
|
Input MGRS Attributes (Optional) |
A comma-delimited string of field names from which the MGRS coordinates will be calculated. The default is |
String |
|
MGRS Precision (Optional) |
Specifies the precision of the coordinates that will be calculated for the target attributes.
|
String |
|
Elevation Raster (Optional) |
The raster file from which the elevation metrics will be derived. Elevation metrics derived from a raster file specified here will overwrite existing elevation data. License:The Spatial Analyst extension is required when using an elevation raster and the angle of orientation to rotate point features so that they face downhill. |
Raster Layer; Mosaic Layer |
|
Only populate NULL values (Optional) |
Specifies whether only null metric values will be calculated.
|
Boolean |
Derived output
| Label | Explanation | Data type |
|---|---|---|
|
Output Features |
The features on which metrics were calculated. |
Feature Layer |
Environments
Licensing information
- Basic: No
Some parameters require the Spatial Analyst extension—see the tool reference page for more detail. - Standard: No
Some parameters require the Spatial Analyst extension—see the tool reference page for more detail. - Advanced: Requires Topographic Mapping
Some parameters require the Spatial Analyst extension—see the tool reference page for more detail.