{"id":34075672,"url":"https://github.com/daohu527/imap","last_synced_at":"2025-12-14T09:56:12.964Z","repository":{"id":40652352,"uuid":"364294625","full_name":"daohu527/imap","owner":"daohu527","description":"High-resolution map (OpenDrive\\Apollo) visualization and conversion tools","archived":false,"fork":false,"pushed_at":"2025-05-15T11:42:32.000Z","size":3714,"stargazers_count":247,"open_issues_count":20,"forks_count":69,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-09-28T06:03:57.074Z","etag":null,"topics":["apollo","hd-map","opendrive"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daohu527.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-05-04T15:03:58.000Z","updated_at":"2025-09-15T07:41:31.000Z","dependencies_parsed_at":"2024-01-17T07:02:54.873Z","dependency_job_id":"7856d18e-a3a4-4c3e-a682-cc5847082855","html_url":"https://github.com/daohu527/imap","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/daohu527/imap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daohu527%2Fimap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daohu527%2Fimap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daohu527%2Fimap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daohu527%2Fimap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daohu527","download_url":"https://codeload.github.com/daohu527/imap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daohu527%2Fimap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27725673,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-14T02:00:11.348Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apollo","hd-map","opendrive"],"created_at":"2025-12-14T09:56:12.325Z","updated_at":"2025-12-14T09:56:12.958Z","avatar_url":"https://github.com/daohu527.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# imap\n\n[![Documentation Status](https://readthedocs.org/projects/imap/badge/?version=latest)](https://imap.readthedocs.io/en/latest/?badge=latest)\n\n**[imap](https://imap.readthedocs.io/en/latest/)** is a tool for visualize and convert format of the hd-map. This project was inspired by Apollo.\n\n![example](docs/_static/example.png)\n\n**Supported features**:\n1. Visualize the hd-map, supported formats: Apollo, OpenDrive.\n2. Find lane by id\n3. Convert format: Opendrive to Apollo format.\n\n| os      | support                 | remark |\n|---------|-------------------------|--------|\n| ubuntu  | :heavy_check_mark:      |        |\n| mac     | :heavy_check_mark:      |        |\n| windows | :heavy_check_mark:      |        |\n\n## Related work\n- [odrviewer.io](https://odrviewer.io/) is an excellent interactive online OpenDRIVE viewer.\n- [esmini](https://github.com/esmini/esmini) is a basic OpenSCENARIO player.\n- [apollo_map](https://github.com/Flycars/apollo_map) convert carla map to apollo\n\n## Quick start\n\n#### Install\nYou can install imap by following cmd.\n```shell\npip3 install imap_box\n```\n\n## Example\n#### 1. Visualization\nAfter the installation is complete, you can view the map with the following command.\n```shell\nimap -m data/borregas_ave.txt\n// or\nimap -m data/town.xodr\n```\nCurrently supported formats:\n* Apollo map\n* OpenDrive map\n\n#### 2. Find lane by id\nYou can use below command to find lane by id, Found lane is shown in **Red**.\n```shell\nimap -m data/borregas_ave.txt -l lane_35\n```\n\n#### 3. Format conversion\nNow you can convert OpenDrive map to Apollo map by following command.\n```shell\nimap -f -i data/town.xodr -o data/apollo_map.txt\n```\n\nThe following is the display of the hd-map in `data\\borregas_ave.txt`.You can click on the lane you want to display more detail info, which will display the current lane's id, as well as the predecessor and successor lane's id in the upper left corner.\n\n![map_show](docs/_static/map_show.jpg)\n\n\n## Questions\n1. After running the command `imap -m data/your_map_file`, nothing display and no errors!!!\n\nA: Check the permissions of the map file, if the current user does not have permissions, modify the permissions with the following commands.\n```shell\nsudo chmod 777 data/your_map_file\n```\n2. Map data permission checking has no problem, still nothing display and no errors!\nA: It's better to install imap_box by running \"sudo pip3 install imap_box\", then run \"imap -m xxx.txt\".\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaohu527%2Fimap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaohu527%2Fimap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaohu527%2Fimap/lists"}