How To: Populate the attribute table of 3D points with the z-values of each point
Instructions provided describe how to populate the attribute table of a 3D point feature class using the z-values of each point.
In ArcGIS 9.2, a new tool was implemented that makes this process much easier than it was in previous releases. The point file needs to have 3D z-values stored in the geometry for the attribute table to be populated appropriately.
- In ArcToolbox click Data Management tools > Features > Add XY Coordinates.
This tool refers only to x and y coordinates. It populates x- and y-values but also populates z-values, if they are present in the geometry of the point file.
- Add the point file as the 'Input Dataset' and click OK.
- Now that the attribute table has fields for x, y, and z; the attribute values from the geometry of the points populate these fields.
- Use ArcObjects to get the x and y coordinates of points, polygon centroids, or line midpoints
- Calculate X, Y, and Z values in an attribute table using Field Calculator