upd README for osmbe tile generation
This commit is contained in:
parent
917337acc6
commit
96d4fe815d
18
README.md
18
README.md
@ -78,6 +78,24 @@ rsync --compress --recursive ./tiles/cyclosm debian@juniperus.champs-libres.be:/
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
#### Things to do for the osmbe style
|
||||||
|
|
||||||
|
##### Clip a europe.pbf file with osmium
|
||||||
|
|
||||||
|
We want a buffer around Belgium with some generated tiles. To do so, we clip a larger pbf file like `europe.osm.pbf` with a poly file, which can be generated with http://polygons.openstreetmap.fr/get_poly.py?id=52411¶ms=0.150000-0.005000-0.005000
|
||||||
|
|
||||||
|
Then, we clip the europe pbf with osmium:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
osmium extract --strategy smart --polygon=polyBEbuffer.poly --output=belgium-buffer.osm.pbf --overwrite /mnt/tera/Projets/OSM/Data/europe-latest.osm.pbf
|
||||||
|
```
|
||||||
|
|
||||||
|
The `poly` file is kept in the pbf folder.
|
||||||
|
|
||||||
|
##### Generate a tiles.list file with the buffer around Belgium
|
||||||
|
|
||||||
|
This file was generated with the script `utils/generate-tiles-list-buffer.py`. The result is also kept in this repo in `utils/tiles-BE-buffer.list`.
|
||||||
|
|
||||||
#### Troubleshooting
|
#### Troubleshooting
|
||||||
|
|
||||||
##### Role rendered already exists
|
##### Role rendered already exists
|
||||||
|
Loading…
Reference in New Issue
Block a user