Update 'README.md'
This commit is contained in:
parent
9cc05c42b6
commit
74af3b2a7e
@ -51,9 +51,9 @@ Only manual generation using `osmosis` is supported currently.
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# You do not need to specify a bounding-box if you did not use the coastline fix or
|
# 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 \
|
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
|
```bash
|
||||||
# The order is important! You do not want to use osmosis filters/bounding-box before mapfile-writer.
|
# 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 \
|
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
|
--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
|
--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
|
--osm2graph file=ouputs/morbihan.mapgr writer=insa2018 map-id=0x400
|
||||||
|
Loading…
Reference in New Issue
Block a user