Configure route barriers

Available with the ArcGIS Indoors Maps extension.

Barriers are features that reflect temporary changes to the network (for example, due to building renovations or repair work). The Indoors mobile apps honor barriers that are present when routing between locations if they are included in the indoor map.

The default barrier type is a restriction barrier, which means directions avoid going through the barrier and route around it. You can also configure cost barriers to allow routing through barriers, with an added delay that affects the travel time.

Learn more about barriers

Barriers can be point, line, or polygon features. Consider the following when determining which type of barrier to create:

  • Point barriers can be configured as floor aware and applied to a specific level of a facility when a barrier exists on a single level. For example, if the west wing of a building's third floor is under construction, you could place floor-aware point barriers at the entrances to the west wing on only the third floor.
  • Line and polygon barriers cannot be configured as floor aware and are applied to all levels of a facility. Barriers that are not floor aware can be used when the same area is affected on all levels in a facility, such as elevators or stairwells that are closed for maintenance, or for outdoor barriers, such as closed parking lots or construction zones.
  • All barrier layers can be configured as time aware.

You can include barrier features as a local layer in the mobile map package (MMPK) or as a feature service-based layer from your ArcGIS organization. Changes made to local barrier features in an MMPK require an update to the MMPK to make changes available to Indoors mobile app users. Changes made to feature service-based barrier layers are instantly available to Indoors mobile app users.

You can add and configure barriers to your Indoors mobile map from stand-alone feature classes or from network analysis layers.

Barriers from a stand-alone feature class

To create restriction barriers from a stand-alone feature class, complete the following steps:

  1. Open an Indoors mobile map in ArcGIS Pro.
  2. Right-click the Indoors workspace in the Catalog pane and click New > Feature Class.

    Alternatively, you can create the features in an indoor dataset.

  3. Create a point, line, or polygon feature class for the barrier features based on your organization’s needs.

    You can create one of each.

    Note:

    Only the OBJECTID and SHAPE fields are required. You can add more fields to store details based on your organization's needs.

  4. Add the feature class to the Indoors mobile map and change the symbology as needed.
  5. Name the layer Point Barriers, Line Barriers, or Polygon Barriers.

    Only one layer of each type can be included in an Indoors mobile map. For example, there cannot be two Point Barriers layers in the map.

  6. Create point, line, or polygon features or copy existing features.
    Tip:

    You can temporarily turn on the visibility of the Pathways layer to aid in visualization while creating barriers. Turn on snapping to control the accuracy of the pointer when creating barrier features.

  7. Optionally, configure the point barriers as floor aware.
    Note:

    Only point barriers can be configured as floor aware.

  8. Optionally, configure the barriers as time aware.
  9. Save the map.
  10. Create and share a mobile map package.

The route between two locations will avoid these barrier locations and go around them when getting directions in the Indoors mobile apps.

Barriers from network analysis layers

To create restriction or cost barriers using network analysis layers, complete the following steps:

  1. Open an Indoors mobile map in ArcGIS Pro.
  2. Create a route analysis layer by doing the following:
    Note:

    If you created a route analysis layer for Indoor Viewer in the same Indoors workspace, you do not need to create another one.

    1. On the Analysis  tab, in the Workflows  group, click Network Analysis > Route.

      The Route group layer is added to the Contents  pane. It includes several sublayers that hold the inputs and outputs of the analysis.

    2. Right-click the Route layer, click Properties, and click Source.

      Note the analysis data source location that is displayed. This is the file location of the Route layer.

    3. Remove the Route group layer from the Contents pane.
  3. Browse to the Route layer in the Catalog pane and add only the point, line, and polygon barrier layers to the map.
    Note:

    You may need to refresh the Catalog pane to view the analysis layers.

  4. On the Edit tab, click Create.

    The Create Features pane appears.

  5. In the Create Features pane, click the layer where you want to add barriers and create point, line, or polygon features.
  6. On the Edit tab, in the Selection group, click Attributes.

    The Attributes pane appears.

  7. Choose the type of barrier to create from the BarrierType drop-down menu:
    • Restriction—Directions avoid going through the barrier and route around it. This is the default.
    • Added Cost—A delay is added to the route for a point barrier.
    • Scaled Cost—A delay is added to the route for a line or polygon barrier.
  8. For cost barriers, set the following attributes as needed to increase travel time when passing through the barrier:
    • Added Cost—Set a value for the Attr_WalkTime attribute.
    • Scaled Cost—Set values for the Attr_WalkTime and Attr_Length attributes.
  9. Optionally, configure the point barriers as floor aware.
    Note:

    Only point barriers can be configured as floor aware.

  10. Optionally, configure the barriers as time aware.
  11. Save the map.
  12. Create and share a mobile map package.

The travel time will be adjusted when routing through these barriers in the Indoors mobile apps.

Configure floor-aware point barriers

If you configured the map as floor aware, you can configure point barriers as floor aware.

To make a point barrier layer floor aware, complete the following steps:

  1. Right-click the Point Barriers layer and click Design > Fields.
  2. Add a new field named LEVEL_ID of type Text.
  3. Click Save and close the Fields pane.
  4. Double-click the point barrier layer in the Contents pane to open the Layer Properties dialog box.
  5. Click the Floors tab and set the LEVEL_ID field for the Floor Field parameter.
  6. Right-click the Point Barriers layer and click Attribute Table.
  7. Add a value to the LEVEL_ID field for each barrier feature that matches the LEVEL_ID value of the level on which the barrier is located.

The Point Barriers layer is configured as floor aware, and you can use the floor filter to visualize barrier data. Floor-aware point barriers are honored in the Indoors mobile apps for directions that route through the level where they are located.

Note:

You must place multiple point barriers if multiple pathways run parallel in a hallway.

Configure time-aware barriers

All barrier layers can be configured as time aware. The Indoors mobile apps honor the barrier features if the directions are generated within the specified date and time range. If directions are generated outside the specified date and time range, the Indoors mobile apps ignore the barriers even if they are present in the map.

To make the barrier layers time aware, complete the following steps:

  1. Right-click the barrier layer and click Design > Fields.
  2. Add a new field named START_TIME of type Date if the feature class does not have a field for start time.
  3. Add a new field named END_TIME of type Date if the feature class does not have a field for end time.
  4. Click Save and close the Fields pane.
  5. Right-click the barrier layer, click Properties, and click the Time tab.
  6. Click the Layer Time drop-down arrow and choose Each feature has start and end time fields.
  7. Set the Start Time Field and End Time Field parameter values.
    Note:

    If no end time field is defined or if the end time field is defined but no value is specified, the barrier is considered valid indefinitely beginning from the start time.

  8. Click OK.
  9. Right-click the barrier layer and click Attribute Table.
  10. Add values to the START_TIME and END_TIME fields as needed.

    Time values must be in coordinated universal time.

The barrier layer is time aware, and barriers will be used for routing in the Indoors mobile app based on the configured start and end times.

Related topics