Convert OpenStreetMap to OpenDRIVE
Turn any OpenStreetMap area into an editable road network and export it as OpenDRIVE. Metromake imports roads, lanes, one-way streets, roundabouts, signals and speed limits, so a real street layout becomes a simulator map in one step.
How to convert OpenStreetMap to OpenDRIVE
Export an area from openstreetmap.org
Zoom to the area on openstreetmap.org, press Export and save the .osm file.
Open it in Metromake
File → Import → OpenStreetMap, or New map → OpenStreetMap in the start menu.
Edit the road network
Adjust cross-sections, junction controls and signs, sculpt the terrain. The map is georeferenced to its real origin.
Export OpenDRIVE
File → Export → OpenDRIVE (.xodr). The export carries a geoReference and the OpenStreetMap credit.
metromake --import-osm area.osm area.json
metromake --export area.json area.xodr
What comes across from OSM
- All drivable roads, split into separate roads wherever ways meet
- Lanes, one-way streets and sidewalks (from
lanes,onewayandsidewalk) - Roundabout rings, turned into roundabout junctions
- Signalised junctions
maxspeedas speed-limit signs- Georeference: the OpenDRIVE export carries the real origin
Tested on a real extract of central Amsterdam: imported, exported and run in esmini.
OpenStreetMap credit (ODbL)
Next: what the OpenDRIVE export contains, or build OpenSCENARIO scenarios on the imported roads.
Your own town, as an OpenDRIVE map.
Join the waiting list. Researchers and teaching groups: ask about academic use.