Skip to main content

imap

Documentation Status

imap is a tool for visualize and convert format of the hd-map. This project was inspired by Apollo.

example

Supported features:

  1. Visualize the hd-map, supported formats: Apollo, OpenDrive.
  2. Find lane by id
  3. Convert format: Opendrive to Apollo format.
os support remark
ubuntu ✔️
mac ✔️
windows ✔️
  • odrviewer.io is an excellent interactive online OpenDRIVE viewer.
  • esmini is a basic OpenSCENARIO player.
  • apollo_map convert carla map to apollo

Quick start

Install

You can install imap by following cmd.

pip3 install imap_box

Example

1. Visualization

After the installation is complete, you can view the map with the following command.

imap -m data/borregas_ave.txt
// or
imap -m data/town.xodr

Currently supported formats:

  • Apollo map
  • OpenDrive map

2. Find lane by id

You can use below command to find lane by id, Found lane is shown in Red.

imap -m data/borregas_ave.txt -l lane_35

3. Format conversion

Now you can convert OpenDrive map to Apollo map by following command.

imap -f -i data/town.xodr -o data/apollo_map.txt

The 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.

map_show

Questions

  1. After running the command imap -m data/your_map_file, nothing display and no errors!!!

A: Check the permissions of the map file, if the current user does not have permissions, modify the permissions with the following commands.

sudo chmod 777 data/your_map_file
  1. Map data permission checking has no problem, still nothing display and no errors! A: It's better to install imap_box by running "sudo pip3 install imap_box", then run "imap -m xxx.txt".

Metadata

Release files for imap-box 0.1.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for imap-box 0.1.10
File Size Uploaded Provenance
imap_box-0.1.10.tar.gz 31.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for imap-box 0.1.10
File Interpreter ABI Platform
imap_box-0.1.10-py3-none-any.whl Python 3 none any Details

Total release size: 74.4 kB

Release files / imap_box-0.1.10.tar.gz

Download URL imap_box-0.1.10.tar.gz
Size 31.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6d2be37ca6c6115db482a96c270217d52798795611eeefe4abb8d6c4ffb8c743
BLAKE2b-256 checksum
How to use checksums
98006112b80797d4ffd7e480ebc0354878787b7690482060f18faad34aaf9c90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.1

Release files / imap_box-0.1.10-py3-none-any.whl

Download URL imap_box-0.1.10-py3-none-any.whl
Size 43.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b76ec0888901cd90041a83338fa31f61cbedf1b7ba8a028956bf5672eda64979
BLAKE2b-256 checksum
How to use checksums
e9e20cedcb99b083c07337cfdc5b53ff38aba70ceb20494a9d7fbda8b2f511ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.1

Security for imap-box 0.1.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page