mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
work
This commit is contained in:
11
scripts/tile_creator/gen_monaco.sh
Normal file
11
scripts/tile_creator/gen_monaco.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
DATE=$(date +"%Y%m%d_%H%M%S")
|
||||
|
||||
RUN_FOLDER="/data/tile_creator/runs/monaco_$DATE"
|
||||
|
||||
mkdir -p "$RUN_FOLDER"
|
||||
cd "$RUN_FOLDER" || exit
|
||||
|
||||
bash /data/tile_creator/bin/run_monaco.sh "$DATE"
|
||||
|
||||
@@ -1,19 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
DATE=$(date +"%Y%m%d_%H%M%S")
|
||||
|
||||
RUN_FOLDER="/data/planetiler/runs/monaco_$DATE"
|
||||
|
||||
mkdir -p "$RUN_FOLDER"
|
||||
cd "$RUN_FOLDER" || exit
|
||||
|
||||
|
||||
# the Xmx value below the most important parameter here
|
||||
# setting is less then 25g means there is too little memory
|
||||
# setting it to too much means there is too much memory used
|
||||
|
||||
java -Xmx30g \
|
||||
-jar /data/planetiler/bin/planetiler.jar \
|
||||
java -Xmx1g \
|
||||
-jar /data/ofm/tile_creator/bin/planetiler.jar \
|
||||
`# Download the latest planet.osm.pbf from s3://osm-pds bucket` \
|
||||
--area=monaco --download \
|
||||
`# Accelerate the download by fetching the 10 1GB chunks at a time in parallel` \
|
||||
@@ -24,7 +16,7 @@ java -Xmx30g \
|
||||
`# Store temporary node locations at fixed positions in a memory-mapped file` \
|
||||
--nodemap-type=array --storage=mmap \
|
||||
--force \
|
||||
> "output_$DATE.log" 2> "err_$DATE.log"
|
||||
> "output.log" 2> "err.log"
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,19 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
DATE=$(date +"%Y%m%d_%H%M%S")
|
||||
|
||||
RUN_FOLDER="/data/planetiler/runs/planet_$DATE"
|
||||
|
||||
mkdir -p "$RUN_FOLDER"
|
||||
cd "$RUN_FOLDER" || exit
|
||||
|
||||
|
||||
# the Xmx value below the most important parameter here
|
||||
# setting is less then 25g means there is too little memory
|
||||
# setting it to too much means there is too much memory used
|
||||
|
||||
java -Xmx30g \
|
||||
-jar /data/planetiler/bin/planetiler.jar \
|
||||
-jar /data/ofm/tile_creator/bin/planetiler.jar \
|
||||
`# Download the latest planet.osm.pbf from s3://osm-pds bucket` \
|
||||
--area=planet --bounds=planet --download \
|
||||
`# Accelerate the download by fetching the 10 1GB chunks at a time in parallel` \
|
||||
@@ -24,7 +16,7 @@ java -Xmx30g \
|
||||
`# Store temporary node locations at fixed positions in a memory-mapped file` \
|
||||
--nodemap-type=array --storage=mmap \
|
||||
--force \
|
||||
> "output_$DATE.log" 2> "err_$DATE.log"
|
||||
> "output.log" 2> "err.log"
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user