TraversedJunction

Synthèse

Represents a single junction of a route.

Discussion

This object is acquired through DirectionsQuery and cannot be created. A typical route is an alternating sequence of edges and junctions, for example, RouteJunction -> RouteEdge -> RouteJunction -> RouteEdge -> RouteJunction.

The TraversedJunction class is inherited from the TraversedElement class, therefore, all the properties of the TraversedElement class are also accessible from the TraversedJunction class.

Propriétés

PropriétéExplicationType de données
arrivalTime
(Lecture seule)

The calculated time of arrival (in local time).

DateTime
arriveCurbApproach
(Lecture seule)

The curb approach of a destination (if any) in the junction.

CurbApproach
departureTime
(Lecture seule)

The time of departure (in local time).

DateTime
directionPoints
(Lecture et écriture)

An iterable of the direction points associated with the junction.

DirectionPoint
element
(Lecture seule)

The network junction element.

Junction
level
(Lecture seule)

The level of the junction.

Integer
names
(Lecture seule)

An iterable of the names of the junction.

DirectionsName
referenceLandmark
(Lecture seule)

The reference landmark related to the junction.

ReferenceLandmark
roadSplitID
(Lecture seule)

The object ID of the related road split.

Integer
signpostID
(Lecture seule)

The object ID of the related signpost.

Integer
spatialLandmarks
(Lecture seule)

An iterable of spatial landmarks related to the junction.

SpatialLandmark
timeWindowEnd
(Lecture seule)

The end value of a time window in which a stop on the junction will be visited (in local time).

DateTime
timeWindowStart
(Lecture seule)

The start value of a time window in which a stop on the junction will be visited (in local time).

DateTime
violationTime
(Lecture seule)

The violation time, expressed in the network's time attribute units.

Float
waitTime
(Lecture seule)

The wait time between the arrival and the departure for a stop.

The value is expressed in the network's time attribute units.

Float

Vue d’ensemble des méthodes

MéthodeExplication
getName (index, mapping, fallback)

Gets the name of the junction. The full name or a portion of the name can be returned depending on the mapping parameter value.

getNames (mapping, fallback)

Gets the name of the junction.

Méthodes

getName (index, mapping, fallback)
ParamètreExplicationType de données
index

The type of name that will be retrieved (for example, PrimaryName = 0, AlternateName1 = 1, AlternateName2 = 2, and so on depending on the network dataset’s direction configuration).

(La valeur par défaut est 0)

Integer
mapping

The portion of the name that will be returned.

(La valeur par défaut est DirectionsFieldMapping.FullName)

DirectionsFieldMapping
fallback

The value if the junction does not contain the requested mapped property.

(La valeur par défaut est "")

String
Valeur renvoyée
Type de donnéesExplication
String

The name from the junction pursuant to the input parameters. None is also a valid return value.

getNames (mapping, fallback)
ParamètreExplicationType de données
mapping

The portion of the name that will be returned.

(La valeur par défaut est DirectionsFieldMapping.FullName)

DirectionsFieldMapping
fallback

The value if the junction does not contain the requested mapped property.

(La valeur par défaut est "")

String
Valeur renvoyée
Type de donnéesExplication
Iterable

An iterable of the string consisting of names (primary and alternatives) from the junction.