Generate lanes from a map
The Lane Generator pulls real road geometry from OpenStreetMap and turns it into editable Lane shapes aligned with the map background.
Switch on a map background
Section titled “Switch on a map background”- Open the Background menu in the top-left of the canvas.
- Pick Satellite (photographic) or Roadmap (schematic).
- Pan and zoom to the area you want.
The map renders behind the canvas and stays anchored as you draw.
Generate a single lane
Section titled “Generate a single lane”- Press N for the Lane tool.
- Enable Generator mode in the toolbar.
- Hover a road. drawtonomy highlights the matched OSM road segment under the cursor.
- Click. The segment is fetched and converted into a Lane shape.
Generate every road in a region
Section titled “Generate every road in a region”With Generator mode on:
- Drag a rectangle over the area you want to capture.
- Release. Every road inside the rectangle becomes a Lane in one batch.
Useful for whole intersections, neighbourhoods, or test sites.
Recommended limits
Section titled “Recommended limits”The OSM fetch and conversion runs in the browser. For responsive editing, keep the resulting scene under roughly 500 lanes — split a larger area across multiple files if you need more.
After generation
Section titled “After generation”Generated lanes are normal Lane shapes. You can:
- Drag points to refine geometry.
- Apply Smooth to replace dense polylines with splines.
- Set connections where the generator didn’t infer them automatically.
- Drop vehicles, pedestrians, or paths on top.
See also
Section titled “See also”- Tutorial: Recreate a real road from a satellite map
- Import a Lanelet2 (.osm) file — when you already have a curated map file rather than raw OSM.