PROBLEM
In ArcGIS Pro, feature lengths are automatically calculated and populated in the Shape_Length field of the feature layer’s attribute table. Occasionally, the Shape_Length field in the feature layer’s attribute table displays inaccurate feature length values.
Use one of the following options to display accurate feature length values in the feature layer’s attribute table in ArcGIS Pro:
Use the geodesic calculation option and Length Unit parameter in the Calculate Geometry tool
In ArcGIS Pro, use the geodesic calculation option and Length Unit parameter in the Calculate Geometry tool to populate a new field with accurate feature length values. Refer to FAQ: Is it possible to change the Shape_Length field unit measurement in ArcGIS Pro? for steps to do so.
Use the Arcade expression in the Calculate Field tool
In ArcGIS Pro, use the Arcade expression in the Calculate Field tool to run a geodesic calculation and change the unit of measurement of the feature length values in the new field. Follow the steps below to do so.
Note: This method is limited to geometries with a Web Mercator (WKID 3857) or a WGS 84 (WKID 4326) spatial reference. In this example, the Arcade expression uses the geodesic calculation method to populate a new field with feature length values in meters.
LengthGeodetic($feature, 'meters')
The image below demonstrates the Shape_Length_2 field displaying accurate feature length values after using the Arcade geometry function in the Calculate Field tool in ArcGIS Pro.
Article ID: 000027305
Get help from ArcGIS experts
Download the Esri Support App