Import a Lanelet2 (.osm) file
drawtonomy can read Lanelet2 OSM-format maps. Sample maps are available from the Autoware documentation.
Import the whole file
Section titled “Import the whole file”- Open the File menu → Import.
- Pick the
.osmfile. - drawtonomy parses the file and populates the canvas with Lane shapes plus their connections.
Import only specific lanes
Section titled “Import only specific lanes”For large maps, importing every lane will slow the editor down. Use the lane-selection dialog instead:
- Open the File menu → Import → Select lanes.
- drawtonomy shows a preview map.
- Click or drag to select the lanes you want.
- Click Import selection.
Performance tips
Section titled “Performance tips”Keep the imported scene under roughly 500 lanes for a responsive editor. For larger areas, split your work across multiple files, or import only the region you need.
After import
Section titled “After import”Imported lanes are full-fidelity Lane shapes; the connections from the Lanelet2 file are preserved. Edit, smooth, or export back without losing topology.
See also
Section titled “See also”- drawtonomy.svg format — the lossless format for re-editing within drawtonomy.
- Generate lanes from a map — when you don’t have a curated map file.