There are 3 kinds of events that appear while driving along a Lane Plan:
An any point on the lane plan the next appearance of each event can be queried:
A Lane Change is described by the lane change side in driving direction and the number of lane changes that are necessary:
The exact geometry about where the lane change must happen can be extracted from the Lane Plan Segment, where the lane change happens.
A Lane Split is a case where a lane has more than one outgoing connections. The exact point of the lane split is the point on the Lane Plan that corresponds to the returned laneSplitPointIndex.
The involved lanes are described in the dwLanePlanLaneSplit struct:
The key fields in this structure are:
A Lane Merge is a case where a lane has more than one incoming connections. The exact point where the joining lanes merge into a single lane is the point on the Lane Plan that corresponds to the returned lanePlanMergeIndex. The involved lanes in the merge are described in the dwLanePlanLaneMerge
struct:
‘laneAfterMerge’ is the lane after the merge point. All incoming connections forming the merge are listed in the ‘mergingLanes’ list, with ‘mergingLaneIndex’ referring to the connection that comes from the Lane Plan.