Skip to main content

High-resolution map visualization and conversion tool

Project description

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 :heavy_check_mark:
mac :heavy_check_mark:
windows :heavy_check_mark:

Related work

  • 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".

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

imap_box-0.1.10.tar.gz (31.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

imap_box-0.1.10-py3-none-any.whl (43.5 kB view details)

Uploaded Python 3

File details

Details for the file imap_box-0.1.10.tar.gz.

File metadata

  • Download URL: imap_box-0.1.10.tar.gz
  • Upload date:
  • Size: 31.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for imap_box-0.1.10.tar.gz
Algorithm Hash digest
SHA256 6d2be37ca6c6115db482a96c270217d52798795611eeefe4abb8d6c4ffb8c743
MD5 f919ebe513eb262af644abdd29e6c4c5
BLAKE2b-256 98006112b80797d4ffd7e480ebc0354878787b7690482060f18faad34aaf9c90

See more details on using hashes here.

File details

Details for the file imap_box-0.1.10-py3-none-any.whl.

File metadata

  • Download URL: imap_box-0.1.10-py3-none-any.whl
  • Upload date:
  • Size: 43.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for imap_box-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 b76ec0888901cd90041a83338fa31f61cbedf1b7ba8a028956bf5672eda64979
MD5 b4d0ff2972951df0f16726311022f4a1
BLAKE2b-256 e9e20cedcb99b083c07337cfdc5b53ff38aba70ceb20494a9d7fbda8b2f511ec

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page