Add data structure to allow identification of via-way turns during creation of edge-based-graph

initial version of handling via-way turn restrictions (this is dirty)

 - requires update of data structures
 - requires clean-up
 - requires optimisation
This commit is contained in:
Moritz Kobitzsch
2017-07-11 14:22:28 +02:00
parent b1809d1667
commit 8d0202d240
17 changed files with 833 additions and 353 deletions
+1 -1
View File
@@ -511,7 +511,7 @@ updateConditionalTurns(const UpdaterConfig &config,
// only add restrictions to the lookups if the restriction is valid now
if (node_or_way.flags.is_only)
if (node_or_way.is_only)
{
is_only_lookup.lookup.push_back({std::make_tuple(c.from, c.via), c.to});
}