handle segregated roads (merge for turn analysis)

This commit is contained in:
Moritz Kobitzsch
2016-02-29 16:24:42 +01:00
committed by Patrick Niklaus
parent 2ba417cf9f
commit f1aa03c360
5 changed files with 171 additions and 22 deletions
+1 -4
View File
@@ -79,10 +79,7 @@ std::vector<RouteStep> assembleSteps(const DataFacadeT &facade,
std::vector<RouteStep> steps;
steps.reserve(number_of_segments);
// TODO do computation based on distance and choose better next vertex
BOOST_ASSERT(leg_geometry.locations.size() >= 4); // source, phantom, closest positions on way
auto segment_index = 0;
std::size_t segment_index = 0;
if (leg_data.size() > 0)
{