Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/JHMeusener/osm2xodr
converter for OpenStreetMaps to OpenDrive roads - for use with Carla or other things
https://github.com/JHMeusener/osm2xodr
carla carla-simulator converter opendrive openstreetmap openstreetmaps osm xodr
Last synced: 2 days ago
JSON representation
converter for OpenStreetMaps to OpenDrive roads - for use with Carla or other things
- Host: GitHub
- URL: https://github.com/JHMeusener/osm2xodr
- Owner: JHMeusener
- License: gpl-3.0
- Created: 2019-11-20T10:55:18.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-11-23T21:58:33.000Z (almost 2 years ago)
- Last Synced: 2024-08-04T00:12:11.735Z (3 months ago)
- Topics: carla, carla-simulator, converter, opendrive, openstreetmap, openstreetmaps, osm, xodr
- Language: Python
- Homepage:
- Size: 648 KB
- Stars: 157
- Watchers: 3
- Forks: 50
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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