Skip to content

Your first three lanes

This lesson follows the official Lane Tool demo. By the end you’ll have used both ways drawtonomy creates lanes:

  • Center Line mode — draw the centerline; left and right boundaries are generated for you.
  • Boundary mode — pick two existing boundary linestrings and drawtonomy fits a lane between them.

The demo draws two lanes in Center Line mode, then switches to Boundary mode for a third lane that fills the gap.

Two Center-Line lanes, then a third lane built from existing boundaries in Boundary mode.

Open drawtonomy.com. Press N (or click the lane icon in the bottom toolbar).

The right side of the screen now shows the Lane creation panel, with Center Line selected by default:

Lane panel — Center Line mode active, Lane Width 50 px

Leave the defaults for now.

In Center Line mode, click on the canvas to drop the first centerline point, click again further along to drop the next, and press Enter to finish. The left and right boundaries appear automatically using the Lane Width value (50 px by default).

The Lane tool stays active after each lane, so click again somewhere else to start the second one. Drop a couple of points to the right of the first lane and press Enter:

Two lanes drawn side by side in Center Line mode

Right now the two lanes are independent — they don’t share a boundary or know about each other.

Click Boundary in the same panel, next to Center Line, to switch creation modes. In Boundary mode you don’t click empty space; you click existing boundary linestrings, and drawtonomy fits a lane between them.

Hover the right boundary of the left lane — drawtonomy highlights the linestring in indigo when the cursor is close enough — and click:

Boundary mode — the right boundary of the left lane is highlighted, ready to be picked

Then click the left boundary of the right lane. A new lane fills the gap, using both clicked linestrings as its left and right boundaries.

Press V for the Select tool and click the new middle lane. The right panel switches to its attributes:

Attribute Panel — the new middle lane shares boundaries way/1 and way/2 with its neighbours

The boundaries are reused:

  • Lane IDlane/2, a brand-new lane.
  • Left Boundaryway/1, the same linestring that’s the right boundary of the left lane.
  • Right Boundaryway/2, likewise shared with the right lane.

Because the boundaries are shared, dragging a point on either side moves both adjoining lanes together. That’s what lane connections are built on; read that page next for the underlying model.

The panel also exposes Direction, Lane Color, Lane Opacity, and the four connection slots Next Lanes / Prev Lanes / Left Lane / Right Lane, which we leave empty for now.

  • Lanes can be drawn two ways: from a centerline, or by picking two existing boundary linestrings.
  • Center Line mode is the fast option for an empty canvas; Boundary mode slots a lane between existing geometry without redrawing anything.
  • A lane built from existing boundaries shares those boundaries with its neighbours.