LaneType

public struct LaneType : Hashable

A struct that provides information on the available lane properties. The lane type values can be combined as follows:

  • High Occupancy Vehicle, Reversible
  • High Occupancy Vehicle and Express
  • Reversible and Express
  • High Occupancy Vehicle, Reversible and Express
  • High Occupancy Vehicle and Acceleration
  • Reversible, Acceleration Lane
  • High Occupancy Vehicle, Reversible, Acceleration Lane
  • Express and Acceleration
  • High Occupancy Vehicle and Deceleration
  • Reversible, Deceleration Lane
  • High Occupancy Vehicle, Reversible, Deceleration Lane
  • Express and Deceleration
  • Regular lane is a lane that does not have a specific use.

    Declaration

    Swift

    public var isRegular: Bool
  • A lane which is restricted for high occupancy vehicles. Note: High occupancy vehicles are vehicles with a driver and one or more passengers.

    Declaration

    Swift

    public var isHighOccupancyVehicle: Bool
  • A lane in which traffic may travel in either direction, depending on certain conditions such as the time of the day to improve traffic flow during rush hours.

    Declaration

    Swift

    public var isReversible: Bool
  • Express lane is a lane or set of lanes usually physically separated from the major roadway with limited entry and exit points to quickly move traffic in and out of a major metropolitan city. An express lane can be reversible, bidirectional, or one-way.

    Declaration

    Swift

    public var isExpress: Bool
  • An acceleration lane is a lane, typically on the right side of a roadway, that lets a vehicle increase its speed to where it can safely merge with ongoing traffic. These lanes can be accessed from ramps, rest areas, or weigh stations.

    Declaration

    Swift

    public var isAcceleration: Bool
  • A deceleration lane is the same as an acceleration lane but used for the opposite scenario.

    Declaration

    Swift

    public var isDeceleration: Bool
  • An auxiliary lane is a lane that runs parallel to a motorway and connects the entrance ramp/acceleration lane from one interchange exit ramp/deceleration lane of the next interchange.

    Declaration

    Swift

    public var isAuxiliary: Bool
  • A slow lane, also known as truck (US) or crawler lane (UK), is a lane on long and/or steep uphill/downhill stretches of high-speed roads that is designated to facilitate slow traffic.

    Declaration

    Swift

    public var isSlow: Bool
  • A passing lane is a lane that can occur on steep mountain grades or other roads where overtaking needs to be regulated for safety (i.e., curvy roads). They are used to safely pass slow moving vehicles.

    Declaration

    Swift

    public var isPassing: Bool
  • A shoulder lane is a reserved paved area on the side of the road (one or both sides) that is not generally used for driving, although it is possible under certain circumstances.

    Declaration

    Swift

    public var isShoulder: Bool
  • A regulated lane access is a lane designated as a holding zone, used to regulate traffic using time intervals. Regulated lane access is only coded for truck holding zones that are used to regulate truck access into tunnels and over bridges using time intervals (e.g., some tunnel accesses in Switzerland).

    Declaration

    Swift

    public var isRegulatedAccess: Bool
  • Turn lane is a dedicated lane that is used for making a turn in order not to disrupt ongoing traffic.

    Declaration

    Swift

    public var isTurn: Bool
  • Center turn lane is a bidirectional turn lane located in the middle of a road that allows traffic in both directions to turn left (right for left side driving countries).

    Declaration

    Swift

    public var isCenterTurn: Bool
  • Truck parking lanes is a wide shoulder lane that may be used for truck parking as well as for emergency.

    Declaration

    Swift

    public var isTruckParking: Bool
  • Parking lanes are portions of the road bed that may be used for parking legally. They may allow vehicles to use them as driving lanes at times, though.

    Declaration

    Swift

    public var isParking: Bool
  • Variable driving lanes are lanes added to a road that open and close to accommodate traffic volume and flow using variable indicators.

    Declaration

    Swift

    public var isVariableDriving: Bool
  • Bicycle lanes are lanes added to the road bed that only allow bicycle travel as indicated by lane markings, signs, buffers or barriers.

    Declaration

    Swift

    public var isBicycle: Bool
  • Creates a new instance.

    Declaration

    Swift

    public init(isRegular: Bool, isHighOccupancyVehicle: Bool, isReversible: Bool, isExpress: Bool, isAcceleration: Bool, isDeceleration: Bool, isAuxiliary: Bool, isSlow: Bool, isPassing: Bool, isShoulder: Bool, isRegulatedAccess: Bool, isTurn: Bool, isCenterTurn: Bool, isTruckParking: Bool, isParking: Bool, isVariableDriving: Bool, isBicycle: Bool)