Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 649 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 649 Bytes

Converter from OSM to raijson

Usage

Example for Germany:

  1. Download OSM's German data (~4Gb germany-latest.osm.pbf) from https://download.geofabrik.de/europe/germany.html
  2. Launch conversion (release build of editoast and conversion can be long):
    cd ../../editoast
    cargo run --release -p osm_to_railjson -- <path/to/germany-latest.osm.pbf> <path/to/germany_railjson.json>
  3. Load railjson (also possible through a script or OSRD's web interface):
    cargo run --release -- infra import-railjson --generate "Germany" <path/to/germany_railjson.json>