ArcGIS Pro

Maintain Measure Attributes

ArcGIS has the tools you need for linear referencing applications, whether for roadways and railroads or pipelines and water resources. ArcGIS Pro 2.9 with ArcGIS Enterprise 10.9.1, added significant enhancements to Linear Referencing and Location Referencing.

These manifest as:

  1. core linear referencing in ArcGIS Pro
  2. advanced location referencing in ArcGIS Pro extension of Roads and Highways
  3. advanced location referencing in ArcGIS Pro extension of Pipeline Referencing

Route feature class is central to linear reference systems (LRS) in ArcGIS. Depending on the toolset used, there are multiple methods to create and edit route features along with the measures inherent to the geometry. Alongside the measure embedded in the route geometry, persisting these measures as attributes is common practice.

Use cases

The following use cases for measure attribution are predominant in the industry segments that use LRS:

Core capabilities in ArcGIS Pro like Calculate Geometry, Python expressions, Arcade functions and Attribute Rules have made it easier than ever before to maintain measurement systems. This blog provides examples on each of these methods, enabling users to choose the best option that meets their use case.

Calculate Geometry

You can use the attribute table that offers Calculate Geometry to update measure attributes as shown below.

Calculate measure attributes

Additionally, the Calculate Geometry Attributes in Features toolset provides the same capability and may be used for batch processing and running scheduled jobs.

Calculate measure attributes

Python Expressions

Alternately, use the attribute table that also offers Calculate Field to insert a Python expression as shown below.

Calculate measure attributes

There are numerous Calculate Field Python examples. The following expressions come in handy for measure attributes.

Calculate the start and end  measure of a route polyline

Expression: !shape.extent.MMin!  !shape.extent.MMax!

Calculate the length of a route polyline

Expression: !shape.length!

Calculate the length with unit conversion

Expression: !shape.length@miles!  !shape.length@meters!

Attribute Rules

Preferably, use an arcade script to configure an attribute rule, that will trigger immediately after edits to automatically calculate measure attributes.  Explicit triggers can be defined for data inserts, updates and deletes. Use Data Design > Attribute Rules Ribbon to configure an attribute rule.

Calculate measure attributes

The arcade snippet for measure attribute calculation is posted at respective Esri Community places:

About the author

Principal Consultant @Esri with over 20 years of GIS experience in the Energy and Utilities verticals.


Next Article

Basemap Releases Include Over 180 New and Updated Communities

Read this article