forked from MapComplete/MapComplete
Scripts(offline): skip already existing columns
This commit is contained in:
parent
6a842031b2
commit
072f3f1140
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ class GeneratePmTilesExtracts extends Script {
|
|||
const boundary = 2 << (z - 1)
|
||||
for (let x = 0; x < boundary; x++) {
|
||||
console.log("Checking ", this.getFilename(z, x, boundary - 1))
|
||||
if (existsSync(this.getFilename(z, x, boundary - 1))) {
|
||||
if (existsSync(this.targetDir + "/" + this.getFilename(z, x, boundary - 1))) {
|
||||
// Skip this column, already exists
|
||||
console.log("Skipping column ", x, "at zoom", z)
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue