Class LaneType

java.lang.Object
com.here.sdk.navigation.LaneType

public final class LaneType extends Object

A class 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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    boolean
    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.
    boolean
    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.
    boolean
    Bicycle lanes are lanes added to the road bed that only allow bicycle travel as indicated by lane markings, signs, buffers or barriers.
    boolean
    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).
    boolean
    A deceleration lane is the same as an acceleration lane but used for the opposite scenario.
    boolean
    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.
    boolean
    A lane which is restricted for high occupancy vehicles.
    boolean
    Parking lanes are portions of the road bed that may be used for parking legally.
    boolean
    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).
    boolean
    Regular lane is a lane that does not have a specific use.
    boolean
    A regulated lane access is a lane designated as a holding zone, used to regulate traffic using time intervals.
    boolean
    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.
    boolean
    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.
    boolean
    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.
    boolean
    Truck parking lanes is a wide shoulder lane that may be used for truck parking as well as for emergency.
    boolean
    Turn lane is a dedicated lane that is used for making a turn in order not to disrupt ongoing traffic.
    boolean
    Variable driving lanes are lanes added to a road that open and close to accommodate traffic volume and flow using variable indicators.
  • Constructor Summary

    Constructors
    Constructor
    Description
    LaneType(boolean isRegular, boolean isHighOccupancyVehicle, boolean isReversible, boolean isExpress, boolean isAcceleration, boolean isDeceleration, boolean isAuxiliary, boolean isSlow, boolean isPassing, boolean isShoulder, boolean isRegulatedAccess, boolean isTurn, boolean isCenterTurn, boolean isTruckParking, boolean isParking, boolean isVariableDriving, boolean isBicycle)
    Creates a new instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • isRegular

      public boolean isRegular

      Regular lane is a lane that does not have a specific use.

    • isHighOccupancyVehicle

      public boolean isHighOccupancyVehicle

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

    • isReversible

      public boolean isReversible

      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.

    • isExpress

      public boolean isExpress

      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.

    • isAcceleration

      public boolean isAcceleration

      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.

    • isDeceleration

      public boolean isDeceleration

      A deceleration lane is the same as an acceleration lane but used for the opposite scenario.

    • isAuxiliary

      public boolean isAuxiliary

      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.

    • isSlow

      public boolean isSlow

      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.

    • isPassing

      public boolean isPassing

      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.

    • isShoulder

      public boolean isShoulder

      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.

    • isRegulatedAccess

      public boolean isRegulatedAccess

      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).

    • isTurn

      public boolean isTurn

      Turn lane is a dedicated lane that is used for making a turn in order not to disrupt ongoing traffic.

    • isCenterTurn

      public boolean isCenterTurn

      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).

    • isTruckParking

      public boolean isTruckParking

      Truck parking lanes is a wide shoulder lane that may be used for truck parking as well as for emergency.

    • isParking

      public boolean isParking

      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.

    • isVariableDriving

      public boolean isVariableDriving

      Variable driving lanes are lanes added to a road that open and close to accommodate traffic volume and flow using variable indicators.

    • isBicycle

      public boolean isBicycle

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

  • Constructor Details

    • LaneType

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

      Creates a new instance.

      Parameters:
      isRegular -

      Regular lane is a lane that does not have a specific use.

      isHighOccupancyVehicle -

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

      isReversible -

      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.

      isExpress -

      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.

      isAcceleration -

      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.

      isDeceleration -

      A deceleration lane is the same as an acceleration lane but used for the opposite scenario.

      isAuxiliary -

      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.

      isSlow -

      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.

      isPassing -

      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.

      isShoulder -

      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.

      isRegulatedAccess -

      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).

      isTurn -

      Turn lane is a dedicated lane that is used for making a turn in order not to disrupt ongoing traffic.

      isCenterTurn -

      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).

      isTruckParking -

      Truck parking lanes is a wide shoulder lane that may be used for truck parking as well as for emergency.

      isParking -

      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.

      isVariableDriving -

      Variable driving lanes are lanes added to a road that open and close to accommodate traffic volume and flow using variable indicators.

      isBicycle -

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

  • Method Details