Populating attributes with m-values
In instances where route features do not have from- and to-measure fields populated, you can update them using the LRS Convert Measures To Attributes tool. This tool copies the first m-value and last m-value into fields on the route feature. This allows you to store the starting and ending points for the route features relative to their positions on an entire route. For example, if you have a route that represents a section of Interstate 10, the starting value is not necessarily going to be 0, and the ending value does not represent the end of the freeway.
The m-values can be copied to two fields of type double on the route feature class.
Exporting m-enabled data from the geodatabase to other data formats may remove the measure values in the geometry. Storing the starting and ending measures as attributes on the route ensures that events can still be referenced to the route when using other data formats.
- Start ArcMap.Sugerencia:
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.
- Load route features in the map or open an existing map document.
- On the main menu, click Customize > Toolbars > Production Linear Referencing.
- On the main menu, click Customize > Toolbars > Production Editing.
-
Click the Production Start Editing button on the Production Editing toolbar.
Nota:
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.
Sugerencia: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.
- If necessary, enable classic snapping on the Production Editing toolbar by clicking Production Editing > Use Classic Snapping.
- Select one or more features from the route layer using the Select tool on the Tools toolbar or the Edit tool on the Production Editing toolbar.
-
Click the LRS Convert Measures To Attributes button on the Production Linear Referencing toolbar.
The Convert Ms To Attributes dialog box appears.
Nota:This dialog box does not appear if the route feature class does not have two fields of type double that can accept the measure values.
- Click the From Measure Field drop-down arrow and choose the field you want to populate with the starting m-value.
- Click the To Measure Field drop-down arrow and choose the field you want to populate with the ending m-value.
- Click OK.
You can make the route layer the only selectable layer by clicking the List By Selection button on the table of contents, then right-clicking the route layer and choosing Make This the Only Selectable Layer.
The measure values for the selected line features are copied to the specified fields on the route feature class.
You can see the from- and to-measure values on the feature by choosing it on the Update tab on the Manage Features window.