Classify Indoor Pathways (Indoors)

Available for an ArcGIS organization licensed with the Indoors extension.

Summary

Classifies pathways as primary or secondary for routing priority.

Pathways within the selected space (unit) features are ranked as secondary, with the remaining ranked as primary. These pathways are used to generate a network for routing. Secondary pathways in the network are low priority pathways and are only used for routing when needed to reach a destination.

Learn more about hierarchy in network analysis

Usage

  • The Input Unit Features parameter must be a polygon feature layer or feature class that conforms to the Indoors Model for the Units feature class. The classification of pathways can be limited to specific spaces (units) by making a selection on the input layer or by providing a definition query. A selection on an input feature layer is required for the tool to proceed.

  • The Target Pathways parameter 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.

  • Pathways that intersect secondary space polygons are split from the point of intersection.

    Note:

    The feature contained within the secondary space polygon is classified as secondary, and features outside the polygon are classified as primary.

  • If the network dataset already exists, it must be rebuilt 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

Syntax

ClassifyIndoorPathways(in_unit_features, target_pathways)
ParameterExplanationData Type
in_unit_features

The input polygon features representing spaces within a building for which Target Pathways are classified. In the ArcGIS Indoors Model, this will be the Units layer.

Feature Layer
target_pathways

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

Feature Layer

Derived Output

NameExplanationData Type
updated_pathways

The updated Target Pathways 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\Network\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.SelectLayerByAttribute_management(r"C:\Indoors\ExampleCampus.gdb\Indoors\Units", "NEW_SELECTION", "USE_TYPE = 'Conference Room'")
pathway_features = r"C:\Indoors\ExampleCampus.gdb\Network\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 Indoors

Related topics