Skip To Content

Create Floor Transitions (Indoors)

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

Zusammenfassung

Creates or updates transition line features that connect floors vertically.

Selected unit polygons are used to generate a vertical line between facility levels. These transition features are used in conjunction with pathway features to generate a network for routing.

Hinweis:

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

Verwendung

  • Output features are created in the PrelimTransitions feature class.

  • The tool finds the closest vertex of a PrelimPathways feature on each floor to the center of polygons with selected types. A vertical line is created between levels at this vertex. The z-values of the start and end vertex in the PrelimTransitions feature match the z-values for the PrelimPathways feature.

  • The LENGTH_3D attribute is calculated for all output PrelimTransitions features. For stairway type transitions, it is given a factor of 3x, to more accurately reflect travel time of walking stairs.

    Hinweis:

    If transition features are manually edited, this value will need to be recalculated.

  • To update floor transitions, the tool finds and deletes the transition line features in the preliminary pathways for the selected unit polygon types and re-creates the transitions.

  • This tool creates transition features for the entire site or a set of facilities.

  • The z-value for PrelimTransitions vertices is taken from the ELEVATION_RELATIVE attribute from the corresponding Units feature class.

  • PrelimPathways must be z-enabled and have z-values populated.

  • For elevator type transitions, the ACCESS_WHEELCHAIR value is set to TRUE. For stairway type transitions, the value is set to FALSE.

  • Adds elevator delay time to the pathways for the selected elevator transition. Once added, the Thin Pathways tool can be used to add the delay to the Pathways feature class and indoors network dataset.

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

    • ACCESS_PEDESTRIAN
    • LOCATION_TYPE
    • TRANSITION_RANK
    • TRANSITION_TYPE
    • TRAVEL_DIRECTION

  • For the output PrelimTransitions features, the following attributes are populated from existing Units features:

    • FACILITY_ID
    • FACILITY_NAME
    • HEIGHT_FROM
    • HEIGHT_TO
    • LEVEL_NAME_FROM
    • LEVEL_NAME_TO
    • VERTICAL_ORDER_FROM
    • VERTICAL_ORDER_TO

  • For the output transition features, the LEVEL_NAME_FROM and LEVEL_NAME_TO attributes are populated with the NAME_SHORT value from the corresponding Levels feature.

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

    Feature classFields

    Facilities

    NAME, ROTATION, FACILITY_ID

    Levels

    NAME, NAME_SHORT

    PrelimPathways

    FACILITY_ID, HEIGHT_FROM, LENGTH_3D, LEVEL_NAME_FROM, VERTICAL_ORDER

    Units

    <selected Unit Type attribute>, ELEVATION_RELATIVE, FACILITY_ID, FACILITY_NAME, LEVEL_ID, LEVEL_NAME, UNIT_ID, VERTICAL_ORDER

    PrelimTransitions (fields only need to exist)

    ACCESS_PEDESTRIAN, ACCESS_WHEELCHAIR, FACILITY_ID, FACILITY_NAME, HEIGHT_FROM, HEIGHT_TO, LEVEL_NAME_FROM, LEVEL_NAME_TO, LOCATION_TYPE, TRANSITION_RANK, TRANSITION_TYPE, TRAVEL_DIRECTION, VERTICAL_ORDER_FROM, VERTICAL_ORDER_TO

Syntax

CreateFloorTransitions(in_workspace, unit_type_field, {unit_elevator_transitions}, {elevator_delay}, {unit_stairway_transitions}, {delete_existing_features}, {filter_facility})
ParameterErklärungDatentyp
in_workspace

The ArcGIS Indoors Information Model workspace containing the feature classes and tables necessary for creation of floor transitions.

Workspace
unit_type_field

The Units attribute that describes the polygon type, such as elevator shaft.

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

The attribute values from the field selected in the Units feature class that describe elevator features. Elevator transition features are created within those Units features.

String
elevator_delay
(optional)

The elevator delay time, in seconds.

This should be half of the total amount of time a person spends waiting to enter and exit the elevator.

Long
unit_stairway_transitions
[unit_stairway_transitions,...]
(optional)

Attribute values from the field selected in the Units feature class that is used to create stairway transition features within those features.

String
delete_existing_features
(optional)

Specifies whether existing transition features for selected unit types will be deleted before creating new transitions. If facilities are specified for the filter_facility parameter, only features from those facilities will be deleted.

  • DELETE_FEATURESExisting features will be deleted. This is the default.
  • NO_DELETE_FEATURESExisting features will not be deleted.
Boolean
filter_facility
[filter_facility,...]
(optional)

The names of facilities where floor transitions will be created or updated.

String

Abgeleitete Ausgabe

NameErklärungDatentyp
Building_Interior_Spaces_Layer

In the Indoors model, this will be the Units layer. Information from this layer will be used to identify transition spaces.

Feature Layer
out_pathways_workspace

The input workspace with the created floor PrelimTransition features.

Output

Codebeispiel

CreateFloorTransitions example 1 (Python window)

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

# Name: Indoors_CreateFloorTransitions_example1
# Description: Generates Floor Transition line features for selected unit types without delay

import arcpy

arcpy.Indoors.CreateFloorTransitions("C:/Indoors/ExampleCampus.gdb", "USE_TYPE", "Elevator;'Elevator Cab';'Elevator Shaft'", None, "Stairs;Stairway", "DELETE_FEATURES", 'L;O;Q')
CreateFloorTransitions example 2 (stand-alone script)

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

# Name: Indoors_CreateFloorTransitions_example2
# Description: Generates Floor Transition line features for selected unit types and adds elevator delay

import arcpy

# define inputs
in_ws = 'C:/Indoors/ExampleCampus.gdb'
unit_field = 'USE_TYPE'
elev_types = ['Elevator Cab', 'Maintenance Lift', 'Glass Elevator']
delay = 20
stair_types = ['Stairs', 'Stairway']

# run tool
arcpy.Indoors.CreateFloorTransitions(in_ws, unit_field, elev_types, delay, stair_types, 'NO_DELETE_FEATURES', '#')

Umgebungen

Dieses Werkzeug verwendet keine Geoverarbeitungsumgebungen.

Lizenzinformationen

  • Basic: Nein
  • Standard: Nein
  • Advanced: Erfordert Indoors

Verwandte Themen