Skip to content

Commit

Permalink
fix GetJunctionNode
Browse files Browse the repository at this point in the history
  • Loading branch information
Karry committed Sep 8, 2024
1 parent 92b4433 commit f639d86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libosmscout/src/osmscout/routing/RoutePostprocessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2199,7 +2199,7 @@ namespace osmscout {
TypeInfoSet junctionTypeSet=it->second;
for (const auto &obj : node.GetObjects()) {
if (obj.IsNode()) {
NodeRef n = GetNode(node.GetDBFileOffset());
NodeRef n = GetNode(DBFileOffset(node.GetDatabaseId(), obj.GetFileOffset()));
if (junctionTypeSet.IsSet(n->GetType())) {
return n;
}
Expand Down

0 comments on commit f639d86

Please sign in to comment.