GeneralRoadElements
public struct GeneralRoadElements : HorizonElement
Has information about the road itself
Warning
This is an experimental API. It may be changed or removed at any time without notice. Use of this API is strongly discouraged.-
Declaration
Swift
public let pathId: Int
-
Declaration
Swift
public let startOffset: Measurement<UnitLength>
-
Declaration
Swift
public let endOffset: Measurement<UnitLength>
-
Number of lanes on the road in driving direction, value is in the range [0..15] where 0 indicates that the vehicle is moving in the wrong direction on one-way road and 15 means 15 or more lanes. The value includes both normal and exit lanes.
Declaration
Swift
public let numLanesDrivingDirection: Int?
-
Number of lanes on the road in the opposite direction, value is in the range [0..15] where 0 means vehicle is moving on a one-way road and 15 means 15 or more lanes. The value includes both normal and exit lanes.
Declaration
Swift
public let numLanesOppositeDirection: Int?
-
Functional road class. The value is in the range [0..7] with 0 as the most important and higher values as less important.
Declaration
Swift
public let functionalRoadClass: Int?
-
Flag describing driving side.
Declaration
Swift
public let isRightHandDriving: Bool?
-
Enum value describing physical properties of the road.
Declaration
Swift
public let formOfWay: FormOfWayType?
-
Enum value describing the road surface.
Declaration
Swift
public let roadCondition: RoadConditionType?
-
Flag marking if the road is in a tunnel.
Declaration
Swift
public let tunnel: Bool?
-
Flag marking if the road is on a bridge.
Declaration
Swift
public let bridge: Bool?
-
Flag marking if the road is on an overpass.
Declaration
Swift
public let overpass: Bool?
-
Flag marking if the road is in an underpass.
Declaration
Swift
public let underpass: Bool?
-
Flag marking if the road is divided (single or dual carriageway).
Declaration
Swift
public let dividedRoad: Bool?
-
Flag marking if transit on the road is prohibited.
Declaration
Swift
public let transitProhibited: Bool?
-
Flag marking if the road requires a toll payment.
Declaration
Swift
public let tollRoad: Bool?
-
Flag marking if the road is in a built-up area.
Declaration
Swift
public let urbanArea: Bool?
-
Flag marking if the road is a part of a complex intersection.
Declaration
Swift
public let complexIntersection: Bool?
-
Enum value describing the administrative class of the road.
Declaration
Swift
public let adminRoadClass: AdminRoadClassType