# osm2opendrive
A tool for generating Apollo OpenDRIVE maps from OpenStreetMap data
## Apollo OpenDrive
Apollo is an architecture for autonomous driving developed by Baidu. They have made a modified version of the OpenDrive standard to suit their needs better.
This project aims to create a tool for generating maps in the Apollo version of the OpenDrive specification using data from OpenStreetMap.
## Usage
```
usage: osm2od.py [-h] [-c CONFIG] [-z ZONE] [-p] file
positional arguments:
file Input filename
optional arguments:
-h, --help show this help message and exit
-c CONFIG, --config CONFIG
Manually set lane numbers and widths based on road
names
-z ZONE, --zone ZONE UTM zone, example: -z 32V
-p, --pretty Prettify output
```
### Example config
Road name, Number of lanes, Lane width (meters)
```
Sem Sælands Vei, 1, 5
```
Raw data
{
"_id": null,
"home_page": "",
"name": "hdmc",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.0",
"maintainer_email": "",
"keywords": "converter,apollo,opendrive,oscar,lanelet2,hdmap",
"author": "Slastnikova Anna",
"author_email": "slastnikova02@mail.ru",
"download_url": "https://files.pythonhosted.org/packages/0c/84/44b7daed092aa7ee1b48ca1194f916b81dd899d5c19f46b8c7698ed03817/hdmc-0.1.tar.gz",
"platform": null,
"description": "# osm2opendrive\nA tool for generating Apollo OpenDRIVE maps from OpenStreetMap data\n\n## Apollo OpenDrive\nApollo is an architecture for autonomous driving developed by Baidu. They have made a modified version of the OpenDrive standard to suit their needs better. \n\nThis project aims to create a tool for generating maps in the Apollo version of the OpenDrive specification using data from OpenStreetMap.\n\n## Usage\n```\nusage: osm2od.py [-h] [-c CONFIG] [-z ZONE] [-p] file\n\npositional arguments:\n file Input filename\n\noptional arguments:\n -h, --help show this help message and exit\n -c CONFIG, --config CONFIG\n Manually set lane numbers and widths based on road\n names\n -z ZONE, --zone ZONE UTM zone, example: -z 32V\n -p, --pretty Prettify output\n```\n\n### Example config\nRoad name, Number of lanes, Lane width (meters)\n```\nSem S\u00e6lands Vei, 1, 5\n```\n\n\n",
"bugtrack_url": null,
"license": "",
"summary": "HD map converter between Lanelet2 and Apollo OpenDRIVE",
"version": "0.1",
"split_keywords": [
"converter",
"apollo",
"opendrive",
"oscar",
"lanelet2",
"hdmap"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "21a1cad7ccb280ccab5d3ce53b932cfa",
"sha256": "2901cbbcab87656ea65693c0f91088c4ce413fa221aaa71d446eb31e8862c089"
},
"downloads": -1,
"filename": "hdmc-0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "21a1cad7ccb280ccab5d3ce53b932cfa",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.0",
"size": 12634,
"upload_time": "2022-12-16T11:56:50",
"upload_time_iso_8601": "2022-12-16T11:56:50.415522Z",
"url": "https://files.pythonhosted.org/packages/4f/e2/63754694ae8bc9aeb7c5c0316b46d343dcf57fcb9fb67ac06378aea4a937/hdmc-0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "487c2951ee3443c9439fc24d339d4550",
"sha256": "8db98fa348293a31d636d926cae3ece3ff9e670a8e570d15a35aac8a03a5d8ce"
},
"downloads": -1,
"filename": "hdmc-0.1.tar.gz",
"has_sig": false,
"md5_digest": "487c2951ee3443c9439fc24d339d4550",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.0",
"size": 12161,
"upload_time": "2022-12-16T11:56:52",
"upload_time_iso_8601": "2022-12-16T11:56:52.438513Z",
"url": "https://files.pythonhosted.org/packages/0c/84/44b7daed092aa7ee1b48ca1194f916b81dd899d5c19f46b8c7698ed03817/hdmc-0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-16 11:56:52",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "hdmc"
}