Skip to content

Import a Lanelet2 (.osm) file

drawtonomy can read Lanelet2 OSM-format maps. Sample maps are available from the Autoware documentation.

Importing a full Lanelet2 file.
  1. Open the File menu → Import.
  2. Pick the .osm file.
  3. drawtonomy parses the file and populates the canvas with Lane shapes plus their connections.

For large maps, importing every lane will slow the editor down. Use the lane-selection dialog instead:

Drag-select only the lanes you care about, then import.
  1. Open the File menu → Import → Select lanes.
  2. drawtonomy shows a preview map.
  3. Click or drag to select the lanes you want.
  4. Click Import selection.

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.

Imported lanes are full-fidelity Lane shapes; the connections from the Lanelet2 file are preserved. Edit, smooth, or export back without losing topology.