forked from MapComplete/MapComplete
Scripts(offline): skip already existing columns
This commit is contained in:
parent
6896b21bb4
commit
5e89c80f29
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class GeneratePmTilesExtracts extends Script {
|
|||
private* generateField(z: number, maxzoom?: number): Generator<Promise<void>> {
|
||||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue