Migration from Lanelet1 (liblanelet)

Lanelet1, formerly called liblanelet can be found here: https://github.com/fzi-forschungszentrum-informatik/liblanelet

The maps following the Lanelet2 specification can be loaded using the old implementation. They will load all lanelets without differing between lanelet types. Areas are ignored. Loading new maps in old lanelet1 implementation is a good approach for a seamless migration.

(Early implementations were not able to load maps with node ids larger than 32bit integer range (used in mapping_example.osm), but this was fixed in v1.2.)

Note, that extended features introduced in v1.1 and v1.2 like rudimentary traffic light handling, parking places and event regions are not fully compatible with Lanelet2 map data. In the Lanelet2 map specification these were redesigned from scratch.

If you create new maps and you are still using lanelet1 it is a good idea to use the validator of Lanelet2 to (roughly) validate that it is compatible with Lanelet2.

New projection methods

Lanelet1 had only one projection method: spherical mercator with a local reference point. This is implemented in Lanelet2 as basic method in Projection.h as SphericalMercatorProjector. Use this projection if you come from lanelet1 and want to have the same behavior.

Lanelet2 also supports more precise projections. Consider switching to one of these as soon as your application allows it. See package lanelet2_projection for more details.

Main differences a lanelet1 user should know

Map format specification:

Implementation:



lanelet2_core
Author(s): Fabian Poggenhans
autogenerated on Tue Jun 6 2023 02:23:32