upd README for osmbe tile generation

This commit is contained in:
nobohan 2024-04-13 08:51:13 +02:00
parent 917337acc6
commit 96d4fe815d
1 changed files with 18 additions and 0 deletions

View File

@ -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&params=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
##### Role rendered already exists