Remove test data

This commit is contained in:
Maximilian Ammann 2022-01-09 14:49:36 +01:00
parent 71ac754ec3
commit 026b54c088
3 changed files with 13 additions and 10 deletions

View File

@ -20,13 +20,17 @@ fn main() {
}
let source = Path::new(&root_dir).join(format!("test-data/munich-{}.mbtiles", MUNICH_Z));
// Pack tiles around Munich HBF (100 tiles in each direction)
extract(
source,
out,
MUNICH_Z,
(MUNICH_X - 100)..(MUNICH_X + 100),
(MUNICH_Y - 100)..(MUNICH_Y + 100),
)
.unwrap();
if source.exists() {
// Pack tiles around Munich HBF (100 tiles in each direction)
extract(
source,
out,
MUNICH_Z,
(MUNICH_X - 100)..(MUNICH_X + 100),
(MUNICH_Y - 100)..(MUNICH_Y + 100),
)
.unwrap();
} else {
// Do not statically embed tiles
}
}

View File

@ -1,2 +1 @@
*.mbtiles
!munich-12.mbtiles

Binary file not shown.