Patrick Brosi 4 years ago
parent
commit
b32998c8d0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/osmfixer/index/StatIdx.cpp

+ 1 - 1
src/osmfixer/index/StatIdx.cpp

@@ -304,7 +304,7 @@ void StatIdx::initGroups() {
304
       if (orGr.mergeId == 0)
304
       if (orGr.mergeId == 0)
305
         orGr.mergeId = _stations[i].group;
305
         orGr.mergeId = _stations[i].group;
306
       else if (orGr.mergeId != _stations[i].group)
306
       else if (orGr.mergeId != _stations[i].group)
307
-        orGr.mergeId = _stations[i].group;
307
+        orGr.mergeId = orGr.id;
308
     }
308
     }
309
 
309
 
310
     assert(_stations[i].group < _groups.size());
310
     assert(_stations[i].group < _groups.size());