The Calculate Metrics tool populates the Angle of Orientation, Area, Length/Diameter, and ZV2 (optionally) attribute fields in your data. The angle of orientation, area, and length/diameter attributes vary based on what is listed on the Attributes tab on the Defense Mapping Properties dialog box and are separate from the ArcGIS internal attributes for area and length (Shape_Area and Shape_Length). To calculate the attributes for the feature attributes, the data is projected using the appropriate UTM zone. This differs from the internal attributes, which are based on the native coordinate system for the geodatabase; this is usually WGS 1984.
The angle of orientation, area, length, and ZV2 values can be calculated for entire feature classes or selected features that contain these fields.
The table below illustrates which attributes can be calculated for each geometry type:
|Geometry type||Attributes calculated|
The optional attributes are only calculated if you check a specific check box on the Calculate Metrics dialog box. For example, the ZV2 values are only calculated if the Populate ZV2/ZVH from Zs on the feature check box is checked.
- Start ArcMap.
- If necessary, load data in the map.
- On the main menu, click Customize > Toolbars > Production Editing.
- On the main menu, click Customize > Toolbars > Defense Mapping.
- Click the Production Start Editing button on the Production Editing toolbar.
- If you only want to use this tool with a selected set of features, select the features in the map.
If you do not select features, you can only use this tool with entire feature classes.
- Click the Calculate Metrics button on the Defense Mapping toolbar.
The Calculate Metrics dialog box appears.
- Uncheck layers for which you do not want to populate attribute values.
- If you want to populate the length values for polygons, check the Populate Length check box.
- If you want to populate the width values for polygons, check the Populate Width check box.
- If you want to populate the angle values, check the Populate Angle of Orientation check box.
This calculates the Angle of Orientation (AOO), Direction of Flow (DOF), or Feature Element Orientation (FEO) value for the features, as applicable.
- If you want to populate the z-values, check the Populate ZV2/ZVH from Zs on features check box.
The highest z-values are used to populate the ZV2 field.
- Click the Decimal Places up or down arrow to change the decimal places for the attributes.
- Click Apply.
A message box appears that notifies you that the process is complete.
- Click OK.