simplify passing annotation data through OSRM pipeline using the node-based datastore

- separates node-based graph creation and compression from edge-based graph creation
 - moves usage of edge-based node data-container to pre-processing as well, unifying access to node-based data
 - single struct instead of separate vectors for annotation data in engine (single place of modification)
This commit is contained in:
Moritz Kobitzsch
2017-09-25 15:37:11 +02:00
committed by Michael Krasnyk
parent 9b044aaa42
commit 2ddd98ee6d
64 changed files with 1610 additions and 1190 deletions
+2 -2
View File
@@ -55,12 +55,12 @@ std::size_t loadGraph(const std::string &path,
continue;
}
if (input_edge.forward)
if (input_edge.flags.forward)
{
graph_edge_list.emplace_back(input_edge.source, input_edge.target);
}
if (input_edge.backward)
if (input_edge.flags.backward)
{
graph_edge_list.emplace_back(input_edge.target, input_edge.source);
}