From 2d56a7edaa3b93cd26d7937aa231be363dd9e8be Mon Sep 17 00:00:00 2001 From: Colin Dellow Date: Sat, 5 Oct 2024 00:15:58 -0400 Subject: [PATCH] move population outside vector sizing --- src/tilemaker.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tilemaker.cpp b/src/tilemaker.cpp index e7b919ec..3a068a93 100644 --- a/src/tilemaker.cpp +++ b/src/tilemaker.cpp @@ -100,7 +100,9 @@ int main(const int argc, const char* argv[]) { std::numeric_limits::min() }); } + } + for (auto& input : inputs) { // Determine which tiles exist in this mbtiles file. // // This lets us optimize the case where only a single mbtiles has @@ -111,6 +113,7 @@ int main(const int argc, const char* argv[]) { } std::vector matching; + for (int zoom = 0; zoom < 15; zoom++) { Bbox bbox = inputs[0]->bbox[zoom]; for (const auto& input : inputs) {