Skip to content

Commit

Permalink
make debug output more verbose during renumbering of turn restriction…
Browse files Browse the repository at this point in the history
… members
  • Loading branch information
DennisOSRM committed Jan 16, 2015
1 parent 8d6d7d1 commit 7cf34a6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Util/graph_loader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,23 +102,24 @@ NodeID readBinaryOSRMGraphFromStream(std::istream &input_stream,
auto internal_id_iter = ext_to_int_id_map.find(current_restriction.from.node);
if (internal_id_iter == ext_to_int_id_map.end())
{
SimpleLogger().Write(logDEBUG) << "Unmapped from Node of restriction";
SimpleLogger().Write(logDEBUG) << "Unmapped from node " << current_restriction.from.node << " of restriction";
continue;
}
current_restriction.from.node = internal_id_iter->second;

internal_id_iter = ext_to_int_id_map.find(current_restriction.via.node);
if (internal_id_iter == ext_to_int_id_map.end())
{
SimpleLogger().Write(logDEBUG) << "Unmapped via node of restriction";
SimpleLogger().Write(logDEBUG) << "Unmapped via node " << current_restriction.via.node << " of restriction";
continue;
}

current_restriction.via.node = internal_id_iter->second;

internal_id_iter = ext_to_int_id_map.find(current_restriction.to.node);
if (internal_id_iter == ext_to_int_id_map.end())
{
SimpleLogger().Write(logDEBUG) << "Unmapped to node of restriction";
SimpleLogger().Write(logDEBUG) << "Unmapped to node " << current_restriction.to.node << " of restriction";
continue;
}
current_restriction.to.node = internal_id_iter->second;
Expand Down

0 comments on commit 7cf34a6

Please sign in to comment.