forked from openmaptiles/planetiler-openmaptiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjustfile
28 lines (23 loc) · 854 Bytes
/
justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
default:
@just --list
jar_path := "target/*with-deps.jar"
clean-build AREA: build-planetiler
java -Xmx20g \
`# return unused heap memory to the OS` \
-XX:MaxHeapFreeRatio=40 \
-jar {{jar_path}} --force \
--area={{AREA}} \
--output=data/planetiler-{{AREA}}-cycling.mbtiles \
`# Store temporary node locations at fixed positions in a memory-mapped file` \
--nodemap-type=array --storage=mmap \
--config=config-cycling.properties
build AREA:
java -jar {{jar_path}} \
--area={{AREA}} \
--output=data/planetiler-{{AREA}}-cycling.mbtiles \
--nodemap-type=array --storage=mmap \
--config=config-cycling.properties
build-planetiler:
./mvnw -DskipTests=true clean package
download AREA:
java -jar {{jar_path}} --only-download --area={{AREA}}