mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 21:13:35 +00:00
[generator] Improve logging, add comments
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
d7f73f4b9b
commit
5de22c6de8
@@ -92,7 +92,7 @@ OSM_TOOLS_PATH = os.path.join(_WORK_PATH, "osmctools")
|
||||
|
||||
# Generator tool section:
|
||||
USER_RESOURCE_PATH = os.path.join(OMIM_PATH, "data")
|
||||
NODE_STORAGE = "mem" if total_virtual_memory() / 10 ** 9 >= 64 else "map"
|
||||
NODE_STORAGE = "map"
|
||||
|
||||
# Stages section:
|
||||
NEED_PLANET_UPDATE = False
|
||||
|
||||
@@ -21,6 +21,11 @@ MAIN_OUT_PATH: ${Developer:OMIM_PATH}/../maps_build
|
||||
USER_RESOURCE_PATH: ${Developer:OMIM_PATH}/data
|
||||
# Features stage only parallelism level. Set to 0 for auto detection.
|
||||
THREADS_COUNT_FEATURES_STAGE: 0
|
||||
# How to store all nodes with their coords.
|
||||
# "map" (default) - fast, suitable to generate a few countries, but is not suitable for the whole planet
|
||||
# "mem" - fastest, best for the whole planet generation, needs ~100GB memory (as of 2025)
|
||||
# "raw" - read from a mmapped file, slow, but uses the least memory
|
||||
NODE_STORAGE: mem
|
||||
|
||||
|
||||
[Osm tools]
|
||||
|
||||
Reference in New Issue
Block a user