only consider allowed entries when continuing on motorways

This commit is contained in:
Moritz Kobitzsch
2017-07-12 10:45:50 +02:00
committed by Patrick Niklaus
parent 54530a14e9
commit 30b8225812
2 changed files with 6 additions and 3 deletions
@@ -118,6 +118,9 @@ Intersection MotorwayHandler::fromMotorway(const EdgeID via_eid, Intersection in
const auto getContinueAngle = [this, in_data](const Intersection &intersection) {
for (const auto &road : intersection)
{
if (!road.entry_allowed)
continue;
const auto &out_data = node_based_graph.GetEdgeData(road.eid);
const auto same_name = !util::guidance::requiresNameAnnounced(