fix emitting invalid turn types, now surfacing due to changes in obvious detection

This commit is contained in:
Moritz Kobitzsch
2017-01-17 12:53:39 +01:00
committed by Daniel J. H
parent 226ee62981
commit 6b06c5bd32
4 changed files with 50 additions and 3 deletions
@@ -140,8 +140,9 @@ IntersectionGenerator::ComputeIntersectionShape(const NodeID node_at_center_of_i
}
return util::bearing::reverse(intersection.begin()->bearing);
}();
std::sort(
intersection.begin(), intersection.end(), makeCompareShapeDataByBearing(base_bearing));
std::sort(intersection.begin(),
intersection.end(),
makeCompareShapeDataAngleToBearing(base_bearing));
}
return intersection;
}