diff --git a/src/read_pbf.cpp b/src/read_pbf.cpp index 2d1e73fc..9b8b2f15 100644 --- a/src/read_pbf.cpp +++ b/src/read_pbf.cpp @@ -243,7 +243,7 @@ bool PbfReader::ReadRelations( if (role==innerKey || role==outerKey) isInnerOuter=true; WayID wayId = static_cast(lastID); - if (firstWay && effectiveShards > 0 && !osmStore.ways.contains(shard, wayId)) { + if (firstWay && effectiveShards > 1 && !osmStore.ways.contains(shard, wayId)) { skipToNext = true; break; }