From 5e89c80f29e25b74440f7979d6490d02979aed25 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Thu, 31 Jul 2025 11:59:57 +0200 Subject: [PATCH] Scripts(offline): skip already existing columns --- scripts/generatePmTilesExtracts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generatePmTilesExtracts.ts b/scripts/generatePmTilesExtracts.ts index 18551c47c..ecde64b89 100644 --- a/scripts/generatePmTilesExtracts.ts +++ b/scripts/generatePmTilesExtracts.ts @@ -40,7 +40,7 @@ class GeneratePmTilesExtracts extends Script { private* generateField(z: number, maxzoom?: number): Generator> { const boundary = 2 << (z - 1) for (let x = 0; x < boundary; x++) { - console.log("Checking ", this.getFilename(z, x, boundary), z, x, y) + console.log("Checking ", this.getFilename(z, x, boundary), z, x, boundary) if (existsSync(this.getFilename(z, x, boundary))) { // Skip this column, already exists console.log("Skipping column ", x, "at zoom", z)