From f639d86cd9380ddfc98c419ca52030c8b0a7464b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Karas?= Date: Sun, 8 Sep 2024 14:53:59 +0200 Subject: [PATCH] fix GetJunctionNode --- libosmscout/src/osmscout/routing/RoutePostprocessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libosmscout/src/osmscout/routing/RoutePostprocessor.cpp b/libosmscout/src/osmscout/routing/RoutePostprocessor.cpp index db9517c84..124e776f2 100644 --- a/libosmscout/src/osmscout/routing/RoutePostprocessor.cpp +++ b/libosmscout/src/osmscout/routing/RoutePostprocessor.cpp @@ -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; }