Available with Location Referencing license.
An LRS feature count data product provides information on the number of line events, point events, and intersections per route. You can find the number of traffic signals on a route or the number of traffic signs along a highway that is traversing through multiple counties. This type of information can be useful for planning and maintenance purposes.
A sample feature count data product is produced for the SR 38 route depicted in the diagram below.
SR 38 goes through two cities: Ames and Dover. The table below shows the distribution of signs, intersections, and speed limit line events for the route.
City | Route ID | Intersections | Speed Limit Signs | Stop Signs | Approaching Signal Signs | Speed Limit 20 | Speed Limit 40 |
---|---|---|---|---|---|---|---|
Ames | SR38 | 1 | 3 | 1 | 1 | 1 | |
Dover | SR38 | 2 | 2 | 1 | 1 | 1 | 1 |
To produce this data product, you must first create an LRS data template using the Data Product Designer wizard. Then, you can input the LRS data template into the Generate LRS Data Product tool.
The workflow below uses the Data Product Designer wizard to create a template to produce an LRS feature count data product similar to the one shown in the table above.
Choose an LRS data product type
The first step in the Data Product Designer wizard is to specify the data product type.
To specify the Feature Count data product type, complete the following steps:
- Start ArcGIS Pro and open a project with LRS data in the map.
- On the Location Referencing tab, in the LRS Data Products group, click Data Product Designer
.
The Choose an LRS data product type page of the Data Product Designer wizard appears.
- Click the Data Product Type drop-down arrow and choose Feature Count.
- Click Next.
The Set template properties page appears.
Set template properties
To set the template properties once the template type is specified, complete the following steps:
- Provide a template name.
By default, the template is saved in the project folder. Optionally, browse to a different location, provide a name for the template, and click OK.
- Click the Network drop-down arrow and choose a network.
Route characteristics will be provided for this network when the Generate LRS Data Product tool is run with the template.
- Optionally, provide a description.
- Optionally, click Preview to preview the information in a canvas.
Note:
If the chosen network is a line network, the Line Name column appears next to the route identifier field in the feature count data product.
- Click Next.
The Add summary fields page appears.
Add summary fields
The next step is to choose summary layers and summary fields. A feature count can be based on unique values in the summary layer on a per-route basis. You can configure multiple summary layers. The summary layers are arranged and divided by levels based on their spatial relationships.
For example, you can configure a county boundary layer as level one, and a city boundary layer as level two.
Note:
Adding summary fields is optional. If you don't want to add summary fields to the template, click Next to proceed to selecting a route identifier field.
To add summary fields, complete the following steps:
- Click Add to create a blank row in the Summary Fields table.
- Click the Summary Layer drop-down arrow and choose a summary layer.
The layer can be a polygon feature class or a line event that is registered to the network specified when setting the template properties. It must be stored in the same geodatabase or feature service and have the same coordinate system as the specified network.
For this example, City Boundary is the summary layer for the first level.
- Click the Field drop-down arrow and choose a summary field.
For this example, Name is the summary field. This field contains the city names.
Once a summary field is chosen, the Display Value Map section shows a table of the unique values in the summary field.
- Optionally, edit the values in the Display Value column in the table.
Preview after adding a summary field is shown. - Optionally, update the display name for the summary layer in the Name in Table text box.
For this example, the display name is City.
- Optionally, click the Filter Expression drop-down arrow and define an expression to filter display values in the Display Value Map section.
- Optionally, check the Summarize unclassified values check box to summarize display values that are not included in the Display Value Map table.
Another value, Unclassified, will be returned in the summary field.
By default, the Summarize unclassified values check box is unchecked. This check box applies to all summary layers.
For this example, the Summarize unclassified values check box remains unchecked.
- To add multiple summary levels, repeat the previous steps for each level.
- Click Next.
The Select a route identifier field page appears.
Select a route identifier field
The next step to produce a template for an LRS feature count data product is to add a route identifier field. The route identifier can be a route name or a route ID.
This example uses ROUTE_ID as the network's route identifier field.
To specify a route identifier field, complete the following steps:
- Click the Route Identifier drop-down arrow and choose a field.
The default option is Route ID if the specified network is a non-line network, or Route Name if the specified network is a line network.
If the specified network has both route ID and route name configured, you can choose one of the options using the drop-down arrow.
- Optionally, update the display name in the Name in Table text box.
The default display name is the Route Identifier value.
Choosing a route identifier field ensures that the route log data product generated using this template will include route information fields.
- Click Next.
The Add feature count layers page appears.
Add feature count layers
The LRS feature count data product counts line events, point events, and intersections on a per-route basis.
There are two options to configure the feature count fields: Single Value and Unique Values. You can configure the feature count fields one by one using the Single Value option and applying a filter to create categories. Alternatively, you can use the Unique Values option to configure all the unique values needed as feature count fields in the output.
To add feature count layers, complete the following steps:
- Click Add to create a blank row in the Feature Count Fields table.
- Click the Feature Count Layer drop-down arrow and choose a feature count layer.
The layer must be stored in the same geodatabase or feature service and have the same coordinate system as the specified network.
The first feature count layer configured in the example is the Intersections layer.
- Click the Selection Method drop-down arrow and choose a selection method:
- Single Value—Add a single feature count field.
- Unique Values—Add multiple unique values for a feature count layer. Each unique value becomes an individual field. This option is only available when a feature count layer is provided without a name or filter.
For this example, Single Value is used to configure the Intersections layer.
- Provide a display name in the Name in Table text box.
The text entered here populates the blank row in the Feature Count Fields table.
Preview after adding the Intersections feature count field is shown. The next three feature count fields in the example are Speed Limit Signs, Stop Signs, and Approaching Signal Signs. All three sign types belong to the Signs point event layer. The following steps demonstrate how to add these fields together using the Unique Values selection method.
- Repeat step 1.
- Click the Feature Count Layer drop-down arrow and choose a feature count layer.
For this example, the Signs point event layer is chosen as the feature count layer.
- Click the Selection Method drop-down arrow and choose Unique Values.
A pop-up window appears.
- Click the Field drop-down arrow in the pop-up window to choose a field and do the following:
- Check the check box next to each field to choose the unique values.
- Optionally, update the name of each selected field under the Name column.
The name becomes the name of the feature count field when the unique values are added to the Feature Count Fields table.
- Click Add to add the selected unique values as feature count fields.
Each feature count field automatically has Single Value as the selection method, as well as a filter expression that corresponds to the unique values.
Note:
The Unique Values selection method honors the values in coded value domains and subtypes.
The final two feature count fields in the example are Speed Limit 20 and Speed Limit 40. Both values originate from the Speed line event layer. The following steps demonstrate how to add these fields by defining a filter expression.
- Repeat step 1.
- Click the Feature Count Layer drop-down arrow and choose a feature count layer.
For this example, the Speed line event layer is chosen as the feature count layer.
- Click the Selection Method drop-down arrow and choose Single Value.
- Provide a display name in the Name in Table text box.
The text entered here populates the blank row in the Feature Count Fields table.
In the example, the display name is Speed Limit 20.
- Click New expression to define an expression that filters line events that have a speed limit of 20.
- If you want to add another feature count field by defining a filter expression, repeat steps 9 to 13.
For this example, another feature count field that includes line events that have a speed limit of 40 is configured.
- Click Preview to verify the fields in a canvas.
- Click Finish to save the template.
The template is complete and can be used in the Generate LRS Data Product tool to generate an LRS data product.
Note:
To review or edit an existing template, on the Set template properties page, click Browse for the template location next to the Template text box. You can choose a template from the project folder or from other locations.