Package Summary

Tags No category tags.
Version 1.0.1
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/fzi-forschungszentrum-informatik/lanelet2.git
VCS Type git
VCS Version master
Last Updated 2020-06-03
Dev Status DEVELOPED
CI status
Released RELEASED
Package Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Example maps in the lanelet2-format

Additional Links

Maintainers

  • Fabian Poggenhans

Authors

  • Fabian Poggenhans

Lanelet2 Maps

This repo contains tools for creating and modifying maps.

Editing Lanelet2 maps

Lanelet2 maps are best edited using the OpenStreetMap-Editor JOSM. The josm-Folder of this package contains styles and presets for simple set-up.

This repository contains two stylesheets. One for visualizing the physical layer of the map (the markings and borders) and one for visualizing the lanelet/area layer.

To use them in JOSM: - Unzip the images in style_images.zip (containing images for traffic signs) - Under Preferences->Map Settings -> Map Paint styles -> add (+) select lanelets.mapcss and lines.mapcss to add the lanelt2 styles to JOSM. - Under Preferences->Map Settings -> Tagging Presets -> add (+) select laneletpresets.xml to add the lanelt2 tagging style to JOSM

After that, you can access the presets via Presets->lanelet2. For faster access, add them to the toolbar in Preferences->Toolbar customization.

Reading and Writing to OSM

Lanelet2 utilizes the osm xml format as default format to read and write map data. To do this, a simple mapping is done by the library to "transform" lanelet primitives into osm primitives. The Id will be the Id of the primitive (we recommend to use positive Ids, because some OSM editors treat negative Ids as something modifiable and will continue to change them), attributes will be translated to tags of the OSM primitive.

Points

Points are directly transformed to OSM Nodes. The "ele" tag is used to represent the z-coordinate of the point. It denotes the distance to the earth ellipsoid in WGS84.

LineStrings

LineStrings are transformed to OSM Ways.

Polygons

Polygons are OSM Ways as well but are identified by a tag area=yes. Start point = end point is not sufficient and also not necessary.

Lanelets

Lanelets are represented as OSM relations with a tag type=lanelet. The right bound is a relation with role right, the left bound is a role with role left, the centerline (if present) is a relation with role centerline and all regulatory elements are relations with the role regulatory_element.

If there are more relations than the mentioned ones, Lanelet2 will raise an error.

Areas

Areas are represented as OSM relations by making use of the multipolygon representation. They have a tag type=multipolygon. The outer bound is an ordered list of relations with the role outer, the inner bounds are an ordered list of relations with the role inner. Lanelet2 parses the inner bounds in this order and starts a new hole whenever the last point of one linestring matches the first one.

Regulatory Elements

Regulatory elements are also represented as OSM relations with type=regulatory_element the parameters of a role are directly translated to relations.

All other relations (with no type or a wrong type) will be ignored when parsing .osm data.

CHANGELOG

Changelog for package lanelet2_maps

1.0.1 (2020-03-24)

  • Make sure lanelet2 buildtool_export_depends on mrt_cmake_modules
  • Add changelogs
  • Contributors: Fabian Poggenhans

1.0.0 (2020-03-03)

  • Bump version to 1.0
  • Improve presets and lanelet visualization
  • added swedish traffic signs
  • Clean up JOSM style sheet
  • Add US traffic signs to JOSM stylesheet and docu
  • Improve documentation on how traffic lights/signs should be mapped
  • Add documentation
  • Fix example map
  • Initial commit
  • Contributors: Fabian Poggenhans, Lingguang Wang, Maximilian Naumann

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

No direct system dependencies.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged lanelet2_maps at answers.ros.org