Populating geometric attributes with the Geometry Reporter
此主题仅适用于 ArcEditor 和 ArcInfo。
When you create a new polyline or polygon feature, you can populate the length, width, or perimeter using the Geometry Reporter tool. To populate any of the geometric attributes, the target feature class must have the following fields as appropriate:
- Area—This varies based on what is listed on the Attributes tab on the Defense Mapping Properties dialog box.
- Length—This varies based on what is listed on the Attributes tab on the Defense Mapping Properties dialog box.
- Perimeter: Only the PRM field is supported.
However, if you have a polygon feature class with a length field, this value is not populated using the Geometry Reporter tool. Only the perimeter and area are calculated for polygon features.
The length of a line feature can be affected by any elevation (z-value) differences between vertices in a feature. For example, if the z-values for a line range from 0 to 50 to 600 to 25, these differences affect the length of the feature.
- Start ArcMap.提示:
If the ArcMap - Getting Started dialog box appears, you can open a new or existing map document. You can also check the Do not show this dialog box in the future check box and click Open.
- 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.
注意:
The Manage Features and Create Attributes, Update Attributes, or Metadata Attributes windows automatically appear when you start an edit session using the Production Start Editing tool.
提示:If the Create Attributes, Update Attributes, or Metadata Attributes window does not appear when you start an edit session, click the Link Feature Manager To Attributes Window button on the Manage Features window.
-
Select or draw a polygon or polyline.
If you select or draw a polygon, values for area, perimeter, parts, and vertices are calculated.
If you select or draw a polyline feature, values are calculated for the length, parts, and vertices.
-
Click the Geometry Reporter button on the Defense Mapping toolbar.
The Geometry Reporter dialog box appears.
- To take z-values into consideration when calculating the length of a selected feature, check the Use Z values check box.
-
Click Populate.
The area, length, and perimeter fields are populated as needed.
- Click the Update tab on the Manage Features window.
The values for the area, length, and perimeter fields are updated as appropriate.