/osm2xodr

converter for OpenStreetMaps to OpenDrive roads - for use with Carla or other things

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

osm2xodr

converter for OpenStreetMaps (.osm) to OpenDrive (.xodr) format (just the drivable roads right now - you can edit the code for other osm-ways - its in the function "parseAll()").

just adjust the filenames/paths in the main.py and run it.

The requirements are osmread, numpy, PIL and pyproj

If a topographymap is used it should be in 16bit integer format and the max/min latitudes/longitudes of the map should match the points in the osm-file.

This code was created as a part of