Skip to content

Commit

Permalink
Fixed segregated identification code to not mark circular edges as …
Browse files Browse the repository at this point in the history
…segregated
  • Loading branch information
dgearhart authored and oxidase committed Mar 21, 2018
1 parent b56a757 commit 535bb49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/guidance/segregated_intersection_classification.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ std::unordered_set<EdgeID> findSegregatedNodes(const extractor::NodeBasedGraphFa
// Also they must be a road use (not footway, cycleway, etc.)
// TODO - consider whether alleys, cul-de-sacs, and other road uses
// are candidates to be marked as internal intersection edges.
// TODO adjust length as needed with lamda
if (edge_length > INTERNAL_LENGTH_MAX || current.flags.roundabout)
// TODO adjust length as needed with lambda
if (edge_length > INTERNAL_LENGTH_MAX || current.flags.roundabout || current.flags.circular)
{
return false;
}
Expand Down

0 comments on commit 535bb49

Please sign in to comment.