Create a template for an LRS feature count data product

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.

Events and intersections on the SR 38 route

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.

CityRoute IDIntersectionsSpeed Limit SignsStop SignsApproaching Signal SignsSpeed Limit 20Speed Limit 40

Ames

SR38

1

3

1

1

1

Dover

SR38

2

2

1

1

1

1

Feature count table for SR 38

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:

  1. Start ArcGIS Pro and open a project with LRS data in the map.
  2. On the Location Referencing tab, in the LRS Data Products group, click Data Product Designer LRS Data Template.

    The Choose an LRS data product type page of the Data Product Designer wizard appears.

  3. Click the Data Product Type drop-down arrow and choose Feature Count.
    Feature Count data product type on the Choose an LRS data product type page
  4. 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:

  1. 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.

  2. 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.

  3. Optionally, provide a description.
    Template properties are set in the Set template properties page
  4. Optionally, click Preview to preview the information in a canvas.
    The canvas after setting template properties
    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.

  5. 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:

  1. Click Add to create a blank row in the Summary Fields table.
  2. 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.

  3. 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.

  4. Optionally, edit the values in the Display Value column in the table.
    Add summary fields to be included in the feature count data product
    The canvas after adding a summary field
    Preview after adding a summary field is shown.
  5. Optionally, update the display name for the summary layer in the Name in Table text box.

    For this example, the display name is City.

  6. Optionally, click the Filter Expression drop-down arrow and define an expression to filter display values in the Display Value Map section.
  7. 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.

  8. To add multiple summary levels, repeat the previous steps for each level.
  9. 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:

  1. 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.

    Choose a route identifier field for the selected network
  2. 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.

  3. 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:

  1. Click Add to create a blank row in the Feature Count Fields table.
  2. 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.

  3. 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.

    Add a feature count layer to be included in the feature count data product
  4. 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.

    The canvas after adding a feature count field
    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.

  5. Repeat step 1.
  6. 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.

  7. Click the Selection Method drop-down arrow and choose Unique Values.
    Add a feature count field using the Unique Values selection method

    A pop-up window appears.

  8. Click the Field drop-down arrow in the pop-up window to choose a field and do the following:
    1. Check the check box next to each field to choose the unique values.
    2. 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.

    3. 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.

      Select fields when using the Unique Values selection method
      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.

  9. Repeat step 1.
  10. 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.

  11. Click the Selection Method drop-down arrow and choose Single Value.
  12. 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.

  13. Click New expression to define an expression that filters line events that have a speed limit of 20.
    Add a feature count field using the Single Value selection method
  14. 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.

  15. Click Preview to verify the fields in a canvas.
    The canvas after adding all the fields
  16. 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.

Related topics