From ab8bc87f7fda8afbd395dcae82d548b09366ac35 Mon Sep 17 00:00:00 2001 From: Zsolt Ero Date: Mon, 16 Sep 2024 19:18:18 +0200 Subject: [PATCH] planetiler updates --- modules/tile_gen/tile_gen_lib/planetiler.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/tile_gen/tile_gen_lib/planetiler.py b/modules/tile_gen/tile_gen_lib/planetiler.py index 779730b..af99953 100644 --- a/modules/tile_gen/tile_gen_lib/planetiler.py +++ b/modules/tile_gen/tile_gen_lib/planetiler.py @@ -43,14 +43,17 @@ def run_planetiler(area: str) -> Path: '--download-chunk-size-mb=1000', '--fetch-wikidata', '--output=tiles.mbtiles', - '--nodemap-type=array', '--storage=mmap', '--force', ] if area == 'planet': + command.append('--nodemap-type=array') command.append('--bounds=planet') + if area == 'monaco': + command.append('--nodemap-type=sortedtable') + print(command) out_path = run_folder / 'planetiler.out'