Skip to main content

Lanelet2x

Lanelet2x is a fork of lanelet2 library with all dependencies on ROS1, ROS2 or Catkin removed to create a standalone and cross-platform library.

CI CD PyPI - Version PyPI - Downloads PyPI - Python Version

Overview

Lanelet2 is a C++ library for handling map data in the context of automated driving. It is designed to utilize high-definition map data in order to efficiently handle the challenges posed to a vehicle in complex traffic scenarios. Flexibility and extensibility are some of the core principles to handle the upcoming challenges of future maps.

Features:

  • 2D and 3D support
  • Consistent modification: if one point is modified, all owning objects see the change
  • Supports lane changes, routing through areas, etc.
  • Separated routing for pedestrians, vehicles, bikes, etc.
  • Many customization points to add new traffic rules, routing costs, parsers, etc.
  • Simple convenience functions for common tasks when handling maps
  • Accurate Projection between the lat/lon geographic world and local metric coordinates
  • IO Interface for reading and writing e.g. osm data formats (this does not mean it can deal with osm maps)
  • Python bindings for the whole C++ interface
  • Boost Geometry support for all thinkable kinds of geometry calculations on map primitives
  • Released under the BSD 3-Clause license
  • Support Windows, Linux and MacOS

Lanelet2 is the successor of the old liblanelet that was developed in 2013. If you know Lanelet1, you might be interested in reading this.

Documentation

You can find more documentation in the individual packages and in doxygen comments. Here is an overview on the most important topics:

  • Here is more information on the basic primitives that make up a Lanelet2 map.
  • Read here for a primer on the software architecture of lanelet2.
  • There is also some documentation on the geometry calculations you can do with lanelet2 primitives.
  • If you are interested in Lanelet2's projections, you will find more here.
  • To get more information on how to create valid maps, see here.

Installation

PyPI

Lanelet2x can be installed from PyPI.

pip install lanelet2x

Using Docker

  • TODO: We are currently working on the Docker container

Manual installation

At least C++14 is required.

Dependencies

  • Boost (from 1.58)
  • eigen3
  • pugixml (for lanelet2_io)
  • boost-python, python2 or python3 (for lanelet2_python)
  • geographiclib (for lanelet2_projection)

Building

We use Conan 2.0 to manage all C++ dependencies, first clone the project:

git clone https://github.com/wu-vincent/lanelet2x.git
cd lanelet2x

Install conan from PyPI and create a profile:

pip install -r requirements.txt
conan profile detect

Now we are ready to build

conan create . --build=missing

Examples

Examples and common use cases in both C++ and Python can be found here.

Packages

  • lanelet2 is the meta-package for the whole lanelet2 framework
  • lanelet2_core implements the basic library with all the primitives, geometry calculations and the LanletMap object
  • lanelet2_io is responsible for reading and writing lanelet maps
  • lanelet2_traffic_rules provides support to interpret the traffic rules encoded in a map
  • lanelet2_projection for projecting maps from WGS84 (lat/lon) to local metric coordinates
  • lanelet2_routing implements the routing graph for routing or reachable set or queries as well as collision checking
  • lanelet2_maps provides example maps and functionality to visualize and modify them easily in JOSM
  • lanelet2_matching provides functions to determine in which lanelet an object is/could be currently located
  • lanelet2_python implements the python interface for lanelet2
  • lanelet2_validation provides checks to ensure a valid lanelet2 map
  • lanelet2_examples contains tutorials for working with Lanelet2 in C++ and Python

Citation

If you are using Lanelet2 for scientific research, we would be pleased if you would cite our publication:

@inproceedings{poggenhans2018lanelet2,
  title     = {Lanelet2: A High-Definition Map Framework for the Future of Automated Driving},
  author    = {Poggenhans, Fabian and Pauls, Jan-Hendrik and Janosovits, Johannes and Orf, Stefan and Naumann, Maximilian and Kuhnt, Florian and Mayr, Matthias},
  booktitle = {Proc.\ IEEE Intell.\ Trans.\ Syst.\ Conf.},
  year      = {2018},
  address   = {Hawaii, USA},
  owner     = {poggenhans},
  month     = {November},
  Url={http://www.mrt.kit.edu/z/publ/download/2018/Poggenhans2018Lanelet2.pdf}
}

Metadata

Release files for lanelet2x 1.2.1

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

Source distribution (sdist)

Source distribution for lanelet2x 1.2.1
File Size Uploaded Provenance
lanelet2x-1.2.1.tar.gz 3.6 MB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for lanelet2x 1.2.1
File
lanelet2x-1.2.1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
lanelet2x-1.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
lanelet2x-1.2.1-cp312-cp312-macosx_10_9_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.9+ x86-64 Details
lanelet2x-1.2.1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
lanelet2x-1.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
lanelet2x-1.2.1-cp311-cp311-macosx_10_9_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.9+ x86-64 Details
lanelet2x-1.2.1-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
lanelet2x-1.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
lanelet2x-1.2.1-cp310-cp310-macosx_10_9_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.9+ x86-64 Details
lanelet2x-1.2.1-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
lanelet2x-1.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details
lanelet2x-1.2.1-cp39-cp39-macosx_10_9_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.9+ x86-64 Details

Total release size: 50.1 MB

Release files / lanelet2x-1.2.1.tar.gz

Download URL lanelet2x-1.2.1.tar.gz
Size 3.6 MB
Tags Source
SHA-256 checksum
How to use checksums
debe9b77c8ee0b4f5664de9dfa713dbd840bb59554c252ab3898da785bad0d23
BLAKE2b-256 checksum
How to use checksums
9ab596181179b357106d3903d809854afac9a11272fdb4679ed0377eb39c5456
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / lanelet2x-1.2.1-cp312-cp312-win_amd64.whl

Download URL lanelet2x-1.2.1-cp312-cp312-win_amd64.whl
Size 5.1 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
204df7ae591d0df176ca10b7746ceca2fc07ebb847a744e89030cf3f1ff13b60
BLAKE2b-256 checksum
How to use checksums
bd4cf68dd23127725c5c7993cbc780e92cd8edea1555d1793b4dc042c67e6fe7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / lanelet2x-1.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL lanelet2x-1.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.6 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
990b154650874a3765cf41919962db9915f71e174295d66d6d3e50bf3c3fc910
BLAKE2b-256 checksum
How to use checksums
c4b7fc077f1a9a09bf4892633d23aeac10dc42a041313769abac59b7c372d9b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / lanelet2x-1.2.1-cp312-cp312-macosx_10_9_x86_64.whl

Download URL lanelet2x-1.2.1-cp312-cp312-macosx_10_9_x86_64.whl
Size 3.3 MB
Tags CPython 3.12 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
08d219ecbc439efac10aa6edf6f0ddf252f599d668c04e9617ee5b450277ec85
BLAKE2b-256 checksum
How to use checksums
482973866996d4542354ce35dc1d80b998417571f4fdc94fc4d2ad9d4b3f0f0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / lanelet2x-1.2.1-cp311-cp311-win_amd64.whl

Download URL lanelet2x-1.2.1-cp311-cp311-win_amd64.whl
Size 4.8 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
254ac294e4cd5a6cbe75360b0ac978ac288ddeb118f17ada16166d27f6501574
BLAKE2b-256 checksum
How to use checksums
cf2a23f94803c9e740db6d89fc9c96f5a567b8faf1fcd84effc112350f6b54df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / lanelet2x-1.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL lanelet2x-1.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.6 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
a83ab6228ff57b1d406cbc627b9152fe01d067a9440872f37559fcbc8f9fcc5e
BLAKE2b-256 checksum
How to use checksums
a762b1d5e0f9e0c3de56fb052c6fd3b4ad005f6248df3774da9bb45853cd3ee8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / lanelet2x-1.2.1-cp311-cp311-macosx_10_9_x86_64.whl

Download URL lanelet2x-1.2.1-cp311-cp311-macosx_10_9_x86_64.whl
Size 3.3 MB
Tags CPython 3.11 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
3d26c4c8c57fd2eaae501ffd0b22de0e8c94dbaed80fd0c2e988c56668f409b1
BLAKE2b-256 checksum
How to use checksums
462827c29771d2ca0b3622cbc5a4b1810fefbd9fc0c2eae5828bedd786d46851
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / lanelet2x-1.2.1-cp310-cp310-win_amd64.whl

Download URL lanelet2x-1.2.1-cp310-cp310-win_amd64.whl
Size 4.5 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
1500d5f54c66f7b04bfc2947c8b7f65e6a9397d2169d6f4f19582f4de3180b66
BLAKE2b-256 checksum
How to use checksums
6e0be03ec95d6dec1ff3377fec669550e0e0e40eb0d9ad677da57b5748c6eabb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / lanelet2x-1.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL lanelet2x-1.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.6 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
e3200b6215ea63c99574f74ef5f5ec9073bb6a8af64bc316f18cf1ae638d40a4
BLAKE2b-256 checksum
How to use checksums
783c0fa93391e59920a5cbdc3b312614776ae1eea0a40e230273585332d68330
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / lanelet2x-1.2.1-cp310-cp310-macosx_10_9_x86_64.whl

Download URL lanelet2x-1.2.1-cp310-cp310-macosx_10_9_x86_64.whl
Size 3.3 MB
Tags CPython 3.10 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
a7365739302f8dc1efa893ef41fb9ffbb5313fff654a74b24d00a7c8a77f3c7b
BLAKE2b-256 checksum
How to use checksums
8c8b93744794de1dfbcbff0930ab4c4f2b80ced0f9eac3a614050736e0362226
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / lanelet2x-1.2.1-cp39-cp39-win_amd64.whl

Download URL lanelet2x-1.2.1-cp39-cp39-win_amd64.whl
Size 4.5 MB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
0bfc495c1d66e2158827c2adb0301a1d46203d2510c9720d145dc9c50b58b4fa
BLAKE2b-256 checksum
How to use checksums
9760911ac047e2af645127114a752849d9487c641af64690e7a57abd5765e976
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / lanelet2x-1.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL lanelet2x-1.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.6 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
9cf6c63d41e8e6413b0dae9f34565b9a467fe65bc59432ed4b2a5a5316919f94
BLAKE2b-256 checksum
How to use checksums
8e07210f8907e7516da417624db705d32d5100e342a63e39e2e627eedc052ef3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / lanelet2x-1.2.1-cp39-cp39-macosx_10_9_x86_64.whl

Download URL lanelet2x-1.2.1-cp39-cp39-macosx_10_9_x86_64.whl
Size 3.3 MB
Tags CPython 3.9 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
3dadcd9373a0139c91a97d083a482cd52fba1ab884f97b233fe61eb95085093d
BLAKE2b-256 checksum
How to use checksums
9547b43ee341a89585c92f22a58accc84b16d742dc8bf06dd71ff21a3f0052fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Security for lanelet2x 1.2.1

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.2.1 This release

13 release files No provenance

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