From e3a85349ceae65d1137c82c8408eb3b14fb66f05 Mon Sep 17 00:00:00 2001 From: Zsolt Ero Date: Mon, 16 Sep 2024 13:44:04 +0200 Subject: [PATCH] readme --- README.md | 2 ++ modules/tile_gen/tile_gen_lib/btrfs.py | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8a010be..0b4aaf7 100644 --- a/README.md +++ b/README.md @@ -120,6 +120,8 @@ https://btrfs.openfreemap.comareas/planet/20240910_001001_pt/tiles.btrfs.gz // 8 Replace the `20240910_001001_pt` part with any newer run, from the [index file](https://btrfs.openfreemap.com/files.txt). +Starting next week, we'll also upload the source mbtiles files to the same bucket. + ### Public buckets There are two public buckets: diff --git a/modules/tile_gen/tile_gen_lib/btrfs.py b/modules/tile_gen/tile_gen_lib/btrfs.py index d13252e..ce6fd35 100644 --- a/modules/tile_gen/tile_gen_lib/btrfs.py +++ b/modules/tile_gen/tile_gen_lib/btrfs.py @@ -56,7 +56,9 @@ def make_btrfs(run_folder: Path): stderr=err, ) - os.unlink('tiles.mbtiles') + # remove mbtiles, only keep the btrfs file + # disabled for now, saving both files currently + # os.unlink('tiles.mbtiles') shutil.copy('mnt_rw/extract/osm_date', '.')