From 96d4fe815da14c74b15dcd57e509f908631bd64e Mon Sep 17 00:00:00 2001 From: nobohan Date: Sat, 13 Apr 2024 08:51:13 +0200 Subject: [PATCH] upd README for osmbe tile generation --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 582cae6..6a19069 100644 --- a/README.md +++ b/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 ##### Role rendered already exists