Create custom OpenFietsMap

  • Create bounding box using: https://boundingbox.klokantech.com/
  • Draw polygon around desired area and copy/paste in KML format
  • Edit the KML file to list coordinates 1 per line, start each line with 2 spaces, replace comma (,) with 2 spaces
  • Add header:
    • beneluxswgermany
    • 1
  • Add footer:
    • END
    • END
  • 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

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | More topic actions
Topic revision: r1 - 20 Jul 2022 - IvoVanGeel
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright 2010-2019 by LANIS