Classify Indoor Pathways (Indoors)

Available with the ArcGIS Indoors Pro or ArcGIS Indoors Maps extension.

Summary

Classifies pathways that pass through selected unit spaces, such as conference rooms or service areas, as lower priority.

Pathways located in the selected unit features are ranked as secondary. When the classified pathways are used to generate an indoor network, network elements ranked as primary will be preferred, so that travel along primary pathways will have a lower cost than travel along secondary pathways.

Learn more about preferred network elements

Usage

  • The Input Unit Features parameter value can be a feature layer from an indoor dataset or an Indoors geodatabase. The Target Pathways parameter value can be a feature layer from an indoor network dataset or an Indoors geodatabase.

  • The Input Unit Features parameter value must be a polygon feature layer that conforms to the Indoors model for the Units feature class. You can use the Select Layer By Attribute tool to select unit features in which pathways will be ranked as secondary, such as conference rooms. A selection on the input feature layer is required for the tool to run.

  • The Target Pathways parameter value must be an existing polyline feature layer or feature class that conforms to the Indoors model for the Pathways feature class. The existing pathways in this layer will be updated with classification for use in creating the network dataset.

  • The input unit features layer and the target pathways layer must use the same spatial reference.

  • Pathways that intersect selected unit polygons will be split at the point of intersection.

    Note:

    The portion of a pathway feature located within a selected unit polygon will be classified as secondary. The classification of portions of a pathway feature located outside the selected unit polygons will not be changed.

  • If the network dataset already exists, it must be rebuilt after running the Classify Indoor Pathways tool for changes to take effect in the network.

  • Rebuilding spatial indexes and adding attribute indexes to the following feature classes can improve performance in enterprise geodatabases:

    Feature classIndex type/Field

    Facilities, Units, Pathways

    SPATIAL

    Pathways

    LEVEL_NAME_FROM

    Pathways

    LEVEL_NAME_TO

    Pathways

    PATHWAY_RANK

Parameters

LabelExplanationData Type
Input Unit Features

The input polygon features representing spaces in a building for which the Target Pathways parameter values will be classified. In the ArcGIS Indoors Information Model, this is the Units layer. Select features in the units layer before running the tool.

Feature Layer
Target Pathways

The existing feature class or feature layer in which pathways will be updated. In the Indoors model, this is the Pathways layer.

Feature Layer

Derived Output

LabelExplanationData Type
Updated Pathways

The updated Target Pathways parameter layer.

Feature Class

arcpy.indoors.ClassifyIndoorPathways(in_unit_features, target_pathways)
NameExplanationData Type
in_unit_features

The input polygon features representing spaces in a building for which the Target Pathways parameter values will be classified. In the ArcGIS Indoors Information Model, this is the Units layer. Select features in the units layer before running the tool.

Feature Layer
target_pathways

The existing feature class or feature layer in which pathways will be updated. In the Indoors model, this is the Pathways layer.

Feature Layer

Derived Output

NameExplanationData Type
updated_pathways

The updated Target Pathways parameter layer.

Feature Class

Code sample

ClassifyIndoorPathways example 1 (Python window)

The following Python window script demonstrates how to use the ClassifyIndoorPathways function in immediate mode.

import arcpy
arcpy.indoors.ClassifyIndoorPathways("Units", 
                                      r"C:\Indoors\ExampleCampus.gdb\IndoorNetwork\Pathways")
ClassifyIndoorPathways example 2 (stand-alone script)

The following stand-alone script demonstrates how to use the ClassifyIndoorPathways function.

# Name: Indoors_ClassifyIndoorPathways_Example2
# Description: Classifies indoor pathways.

# Import system modules
import arcpy

# Set tool parameters
unit_features = arcpy.management.SelectLayerByAttribute(r"C:\Indoors\ExampleCampus.gdb\Indoor\Units", "NEW_SELECTION", "USE_TYPE = 'Conference Room'")
pathway_features = r"C:\Indoors\ExampleCampus.gdb\IndoorNetwork\Pathways"

# Run the tool
arcpy.indoors.ClassifyIndoorPathways(unit_features, pathway_features)

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: No
  • Standard: No
  • Advanced: Requires ArcGIS Indoors Pro or ArcGIS Indoors Maps

Related topics