Skip to content

Commit 5f0a6fc

Browse files
authored
Merge pull request #21 from opentraffic/kpwebb-patch-1
updated docs to reflect current build steps
2 parents c57d51b + 644b28a commit 5f0a6fc

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,13 @@ valhalla_build_tiles -c valhalla.json planet.pbf
3434
find valhalla_tiles | sort -n | tar cf tiles.tar --no-recursion -T -
3535

3636
#make some osmlr segments
37-
LD_LIBRARY_PATH=/usr/lib:/usr/local/lib osmlr tiles.tar
37+
LD_LIBRARY_PATH=/usr/lib:/usr/local/lib osmlr -m 1 -T ${PWD}/osmlr_tiles valhalla.json
38+
39+
# -j 2 uses two threads for association process (use more or fewer as available cores permit)
40+
valhalla_associate_segments -t ${PWD}/osmlr_tiles -j 2 --config valhalla.json
41+
42+
# rebuild tar with traffic segement associated tiles
43+
find valhalla_tiles | sort -n | tar rf tiles.tar --no-recursion -T -
3844

3945
#HAVE FUN!
4046
```

0 commit comments

Comments
 (0)