Modify Route ID Padding (Location Referencing Tools)
Summary
Modifies the padding, null, and length properties for fields that are part of a multifield route ID.
In the image example below, a multifield route ID is configured with four fields: RouteType, CityCode, RouteNumber, and RampNumber. Sample padding, null settings, and lookup table for the four fields are as follows:
RouteTypeis a text field with a length of 2 and has a coded value domain configured. The maximum number of characters in the domain values is two. However, some routes may only have a domain value with one character, and a zero (0) is used as a padding character to the right.CityCodeis a text field with a length of 4 and has a lookup table configured to allow searching for the key value using a display field. Since all theCityCodevalues have a length of 4 in the lookup table, no padding is needed for this field.RouteNumberis a short field type. This field has values ranging from 0 to 99999. A hyphen is used as a padding character to the left and right.RampNumberis a text field with a length of 7. Some routes do not have all the 7 characters entered for this field, while others do not have a value for this field and must be left blank; therefore, no padding is needed.
Learn more about configuring and modifying route ID padding settings
Illustration
Usage
Each field that makes up a multifield route ID supports the following:
- Can have the maximum length shortened
- Can be of variable or fixed length
- Can have padding characters added to the left, right, or both left and right sides
- Can have padding added when the field has a null value
The route ID for each record will be stored with padding and null values included. Each field that makes up a multifield route ID will be stored without any padding character.
Padding and null settings can be changed once the network is created. Any routes loaded and created before changing the settings remain the same. Any routes loaded and created after changing the settings will use the updated settings.
Changing the Length value only affects the maximum number of characters expected by ArcGIS Roads and Highways tools for each field. The sum of the lengths of the fields that make up the multifield route ID must not exceed the length of the route ID field in the geodatabase.
The Allow Null Values padding option must be checked if the Pad if Null padding option is checked.
If you allow null values in a field, all fields to the right of that field must also allow null values.
A number sign (#) is not supported as a padding character.
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
LRS Network Feature Class |
The input multifield route ID network layer that contains fields for padding, null, and length values that need to be modified. |
Feature Layer |
|
Route ID Padding |
A table of values that specifies the field that will be modified and its corresponding padding, null, and length values. Value table columns:
|
Value Table |
Derived output
| Label | Explanation | Data type |
|---|---|---|
|
Output Network Feature Class |
The updated network feature layer. |
Feature Layer |
Environments
Licensing information
- Basic: Requires ArcGIS Location Referencing (ArcGIS Pipeline Referencing or ArcGIS Roads and Highways)
- Standard: Requires ArcGIS Location Referencing (ArcGIS Pipeline Referencing or ArcGIS Roads and Highways)
- Advanced: Requires ArcGIS Location Referencing (ArcGIS Pipeline Referencing or ArcGIS Roads and Highways)