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:
    • beneluxswgermany
    • 1
  • Add footer:
    • END
    • END
  • 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

Edit | Attach | Watch | Print version | History: r7 | r4 < r3 < r2 < r1 | Backlinks | Raw View | More topic actions...
Topic revision: r2 - 21 Oct 2023 - IvoVanGeel
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2010-2019 by LANIS