Update 'README.md'

This commit is contained in:
Mikael Capelle 2018-02-24 23:00:21 +00:00
parent 9cc05c42b6
commit 74af3b2a7e
1 changed files with 3 additions and 3 deletions

View File

@ -51,9 +51,9 @@ Only manual generation using `osmosis` is supported currently.
```bash
# You do not need to specify a bounding-box if you did not use the coastline fix or
# do not want it.
# do not want it. You can use type=ram to speed-up the process for small maps.
bin/osmosis --rb inputs/bretagne/bretagne_merge.pbf \
--mapfile-writer file=outputs/morbihan.mapfg bbox=47.234,-3.598,47.997,-1.648 threads=2
--mapfile-writer file=outputs/morbihan.mapfg bbox=47.234,-3.598,47.997,-1.648 type=hd threads=2
```
@ -75,7 +75,7 @@ You can combine both generation using the `--tee` option of `osmosis`:
```bash
# The order is important! You do not want to use osmosis filters/bounding-box before mapfile-writer.
bin/osmosis --rb inputs/bretagne/bretagne_merge.pbf --tee \
--mapfile-writer file=outputs/morbihan.mapfg bbox=$(cat inputs/bbox/morbihan.bbox) threads=2 \
--mapfile-writer file=outputs/morbihan.mapfg bbox=$(cat inputs/bbox/morbihan.bbox) type=hd threads=2 \
--bounding-box $(cat inputs/bbox/morbihan.bbox | tr "," " " | xargs printf "bottom=%f left=%f top=%f right=%f") completeWays=yes
--used-node --tf reject-relations --tf accept-ways highway=(cat inputs/highway-filter.cmd) natural=coastline
--osm2graph file=ouputs/morbihan.mapgr writer=insa2018 map-id=0x400