mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
planetiler updates
This commit is contained in:
@@ -43,14 +43,17 @@ def run_planetiler(area: str) -> Path:
|
|||||||
'--download-chunk-size-mb=1000',
|
'--download-chunk-size-mb=1000',
|
||||||
'--fetch-wikidata',
|
'--fetch-wikidata',
|
||||||
'--output=tiles.mbtiles',
|
'--output=tiles.mbtiles',
|
||||||
'--nodemap-type=array',
|
|
||||||
'--storage=mmap',
|
'--storage=mmap',
|
||||||
'--force',
|
'--force',
|
||||||
]
|
]
|
||||||
|
|
||||||
if area == 'planet':
|
if area == 'planet':
|
||||||
|
command.append('--nodemap-type=array')
|
||||||
command.append('--bounds=planet')
|
command.append('--bounds=planet')
|
||||||
|
|
||||||
|
if area == 'monaco':
|
||||||
|
command.append('--nodemap-type=sortedtable')
|
||||||
|
|
||||||
print(command)
|
print(command)
|
||||||
|
|
||||||
out_path = run_folder / 'planetiler.out'
|
out_path = run_folder / 'planetiler.out'
|
||||||
|
|||||||
Reference in New Issue
Block a user