roadrunner-convert-lanelet2-to-rrhd

Convert Lanelet2 .osm road networks into RoadRunner HD Map .rrhd files using MATLAB.

883|109|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/matlab/matlab-agentic-toolkit --skill roadrunner-convert-lanelet2-to-rrhd
Or copy as Structured Prompt for Agentโ–ผ
Please help me install this Agent Skill.
Skill: roadrunner-convert-lanelet2-to-rrhd
Source: https://github.com/matlab/matlab-agentic-toolkit/tree/main/skills-catalog/automotive/roadrunner-convert-lanelet2-to-rrhd
Command: npx skills add https://github.com/matlab/matlab-agentic-toolkit --skill roadrunner-convert-lanelet2-to-rrhd

SYSTEM DOCUMENTATION & REQUIREMENTS

๐Ÿ’ก This Skill includes references (resource) components.

What problem does it solve?

Convert Lanelet2 road network data (.osm) into a RoadRunner HD Map (.rrhd) reliably, preserving geometry integrity and building all required map elements without manual, error-prone editing.

Core Features & Use Cases

  • Lanelet2 OSM โ†’ RRHD conversion pipeline in MATLAB, covering parsing, projection handling, geometry synthesis, topology extraction, junction handling, semantics mapping, and RRHD authoring.
  • Coordinate support for both local_x/local_y meters and lat/lon projection using map_projector_info.yaml (or centroid fallback when absent).
  • Strong guardrails that enforce boundary immutability, mandatory multi-sample alignment/spatial verification, and completeness checks before writing the RRHD file.
  • Use when transforming open-source Lanelet2 map data into RoadRunner Scene Builder scenes, including full construction of junction-related elements, markings, barriers, signs, and speed limits.

Quick Start

Use the roadrunner-convert-lanelet2-to-rrhd skill to convert your Lanelet2 .osm file into a .rrhd RoadRunner HD Map.

Frequently Asked Questions about roadrunner-convert-lanelet2-to-rrhd

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert Lanelet2 OSM maps to RoadRunner HD Map format?โ–ผ

You can convert Lanelet2 .osm road networks to RoadRunner HD Map .rrhd files by generating MATLAB code that handles geometry projection, centerline synthesis, and topology inference while preserving lane, marking, barrier, sign, and speed limit semantics.

What coordinate projections are supported for Lanelet2 to RRHD conversion in MATLAB?โ–ผ

Lanelet2 to RRHD conversion supports both local_x/local_y meters and lat/lon projections using map_projector_info.yaml, applying a centroid fallback when the projection file is absent to maintain geometry accuracy.

Can I build non-lane elements like signs and barriers when converting Lanelet2 to RRHD?โ–ผ

Yes, converting Lanelet2 to RRHD mandates building all non-lane elements including junction-related components, markings, barriers, signs, and speed limits to satisfy strict operational requirements for RoadRunner Scene Builder scenes.

Why does my Lanelet2 to RRHD conversion fail before writing the output file?โ–ผ

Lanelet2 to RRHD conversion enforces a pre-write gate that checks alignment, asset extensions, GeoReference presence, and completeness, blocking file generation if boundary immutability or multi-sample spatial verification checks are not satisfied.

Does the Lanelet2 to RRHD conversion validate geometry alignment?โ–ผ

Yes, Lanelet2 to RRHD conversion applies proximity-plus-spatial-alignment verification using multi-sample checks to ensure full geometry fidelity and strict boundary immutability before authoring the final HD map.

What is the best way to import open-source Lanelet2 data into RoadRunner Scene Builder?โ–ผ

The best way to import Lanelet2 data into RoadRunner Scene Builder is converting the .osm file to .rrhd format using MATLAB, which ensures full topology extraction, junction handling, and semantics mapping without manual editing.