Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 766 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 766 Bytes

osm2terrn.py

CLI based app, you enter the name of a city, it makes a query through osmnx, processes the networks returned by it to write a .tobj, .terrn2, .odef and other terrain files and compresses it into a zip file, ready to install in the Rigs of Rods mods folder.

Requirements

  • Python 3
  • osmnx module.

ToDo

Is preferred to use in-game objects if possible.

  • Road edges (with orientation and inclination)
  • Height map (some errors)
  • Ground texturer based in altitude, water and green areas
  • Road network (including bridges, with orientation and inclination)
  • Railroad network
  • Railway stations/terminals
  • Airstrip/Airports
  • Buildings (making a contour of the OSM area then extruding it to its height)