Skip to content

Commit

Permalink
Merge pull request #21 from opentraffic/kpwebb-patch-1
Browse files Browse the repository at this point in the history
updated docs to reflect current build steps
  • Loading branch information
dnesbitt61 authored Mar 16, 2017
2 parents c57d51b + 644b28a commit 5f0a6fc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,13 @@ valhalla_build_tiles -c valhalla.json planet.pbf
find valhalla_tiles | sort -n | tar cf tiles.tar --no-recursion -T -

#make some osmlr segments
LD_LIBRARY_PATH=/usr/lib:/usr/local/lib osmlr tiles.tar
LD_LIBRARY_PATH=/usr/lib:/usr/local/lib osmlr -m 1 -T ${PWD}/osmlr_tiles valhalla.json

# -j 2 uses two threads for association process (use more or fewer as available cores permit)
valhalla_associate_segments -t ${PWD}/osmlr_tiles -j 2 --config valhalla.json

# rebuild tar with traffic segement associated tiles
find valhalla_tiles | sort -n | tar rf tiles.tar --no-recursion -T -

#HAVE FUN!
```
Expand Down

0 comments on commit 5f0a6fc

Please sign in to comment.