Skip to content

Commit

Permalink
todo
Browse files Browse the repository at this point in the history
  • Loading branch information
Karry committed May 31, 2024
1 parent 5d3d58c commit 1497b60
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions libosmscout/src/osmscout/routing/RoutePostprocessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1598,6 +1598,13 @@ namespace osmscout {
auto prevLanes = GetLaneDescription(*backBuffer.back());
assert(prevLanes);

if (node.GetPathObject().GetType()!=refWay) {
return;
}

// TODO: read lanes on the ALL junction ways, use heuristics what lanes we can use to move forward


RouteDescription::DirectionDescriptionRef direction = std::dynamic_pointer_cast<RouteDescription::DirectionDescription>(node.GetDescription(RouteDescription::DIRECTION_DESC));

using Move = RouteDescription::DirectionDescription::Move;
Expand Down

0 comments on commit 1497b60

Please sign in to comment.