Skip To Content

Generate Pathways

Verfügbar mit einem Portal, das mit der Indoors-Funktionalität lizenziert ist.​

Zusammenfassung

Generates preliminary pathways that are cut according to obstructions, such as walls or columns, on each floor plan of a facility. Once stair or elevator floor transition features are added, the Thin Pathways tool is used to create the final indoor network dataset.

Hinweis:

The ArcGIS Indoors geoprocessing tools released at ArcGIS Pro 2.4 are not final and may change in a subsequent release.

Verwendung

  • When using this tool, it is assumed that the Input Workspace parameter has a valid ArcGIS Indoors Information Model created by the Create Indoors Database tool.

  • Load your floor plan data using the Floorplans To Indoors tool.

    Vorsicht:

    Data that is manually loaded into the Indoors model may not be supported.

  • The Floorplans To Indoors tool will populate the Use Type attribute for your Details and Units features based on the naming conventions of your source CAD information.

  • The Floorplans To Indoors tool will populate the Rotation field in the Facilities feature class. The Generate Pathways tool uses this value to orient the PrelimPathways features to run parallel to the main direction of travel. For more information, see Map floor plans to Indoors.

  • Configuring the Detail Type Field and Unit Type Field parameters to use the Use Type attribute is the most common workflow.

    Hinweis:

    Refer to your original CAD source information, if necessary, to determine the correct values to use as input to the Detail Barriers and Restricted Unit Types parameters.

  • For the output PrelimPathways features, the following attributes have default values:

    • ACCESS_PEDESTRIAN
    • ACCESS_WHEELCHAIR
    • LOCATION_TYPE
    • TRANSITION_RANK
    • TRANSITION_TYPLOCATION_TYPE
    • TRAVEL_DIRECTION

  • The following feature classes and attributes must be included in the geodatabase:

    FieldFeature class

    FACILITY_ID, ROTATION

    Facilities

    LEVEL_ID, FACILITY_ID, RELATIVE_ELEVATION, VERTICAL_ORDER

    Levels

    FACILITY_ID, LEVEL_ID, <User-selected Unit Type attribute>

    Units

    FACILITY_ID, LEVEL_ID, <User-selected Detail Type attribute>

    Details

Syntax

GeneratePathways(in_workspace, detail_type_field, detail_barriers, network_density, {unit_type_field}, {restricted_unit_types}, {filter_facility}, {filter_level})
ParameterErklärungDatentyp
in_workspace

The Indoors model workspace containing the feature classes and tables necessary for generation of pathways.

Workspace
detail_type_field

The Details attribute that describes the line type, such as walls, columns, or permanent furniture.

Field
detail_barriers
[detail_barriers,...]

The details attribute values from the populated list that will be used to cut the preliminary pathways to restrict travel across any line types you cannot walk through, such as walls, columns, windows, and so on.

String
network_density

The network node density, in meters. This is the distance between nodes in the preliminary pathways. The node density value should be as large as possible, but small enough to extend through the narrowest doorway opening in your floor plan or floor plans. The value must be between 0.25 and 0.9. The default value is 0.6.

Double
unit_type_field
(optional)

The Units attribute that will be used to erase parts of the transportation pathway. For example, the Use Type attribute value of Private can be used to erase private or inaccessible areas from the preliminary pathways.

Field
restricted_unit_types
[restricted_unit_types,...]
(optional)

The Units attribute values that will be removed from the preliminary pathways. Select all that apply.

String
filter_facility
[filter_facility,...]
(optional)

The facility for which pathways will be generated or updated.

String
filter_level
[filter_level,...]
(optional)

The level of the facility for which pathways will be generated or updated.

String

Abgeleitete Ausgabe

NameErklärungDatentyp
Details_Layer

In the Indoors model, this will be the Details layer. Information from this layer will be used to define barriers to pathway generation.

Feature Layer
Building_Interior_Spaces_Layer

In the Indoors model, this will be the Units layer. Information from this layer will be used to limit pathway generation.

Feature Layer
out_workspace

The input workspace with the preliminary pathways generated from the tool.

Workspace

Codebeispiel

GeneratePathways example (Python window)

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

import arcpy

arcpy.Indoors.GeneratePathways("C:/Indoors/ExampleCampus.gdb", "USE_TYPE", "I-WALL;A-WALL-EXTR;A-WALL-GLAS;A-WALL-INFR;A-WALL-PRHT", 0.5, None, None, None, None)
GeneratePathways example 2 (stand-alone script)

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

# Name: Indoors_GeneratePathways_example2.py
# Description: Generates pathways for an Indoors model input workspace.

# import system modules
import arcpy

# configure environment settings
arcpy.env.overwriteOutput = True

# set local variables
in_ws = 'C:/Indoors/ExampleCampus.gdb'
detail_type_field = 'USE_TYPE'
detail_barriers = 'I-WALL;A-WALL-EXTR;A-WALL-GLAS;A-WALL-INFR;A-WALL-PRHT'
network_density = 0.45
unit_type_field = 'USE_TYPE'
restricted_unit_types = "Closet;Electrical;Janitor;'Mechanical Room';None;Storage"


# generate pathways for all floors in all facilities within the input workspace
arcpy.Indoors.GeneratePathways(in_ws, detail_type_field, detail_barriers, network_density, unit_type_field, restricted_unit_types, '#', '#')

Umgebungen

Dieses Werkzeug verwendet keine Geoverarbeitungsumgebungen.

Lizenzinformationen

  • Basic: Nein
  • Standard: Nein
  • Advanced: Erfordert Indoors and 3D Analyst

Verwandte Themen