Create custom OpenFietsMap
- Create bounding box using: https://boundingbox.klokantech.com/
- Draw polygon around desired area. Select KML in the lower left corner and click the copy to clipboard icon
- Paste the KML data into a new file. Edit the ploygon file to list coordinates 1 per line, start each line with 2 spaces, replace comma (,) with 2 spaces
- Add header:
- Add footer:
- Save the file as beneluxswgermany.poly (See beneluxswgermany.poly)
- Download .osm.bpf file from http://download.geofabrik.de/europe.html
- Split Europe files in pieces and limit to polygon:
- java -Xms2048 -Xmx2048m -jar <path/to/splitter.jar> --output=pbf --output-dir=splitter --max-nodes=1400000 --mapid=10010001 --geonames-file=cities15000.txt --polygon-file=beneluxswgermany.poly europe-latest.osm.pbf
--
Ivo van Geel - 20 Jul 2022
This topic: Main
> WebHome > CreateCustomOpenFietsMap
Topic revision: r2 - 21 Oct 2023 - IvoVanGeel