Skip to content

Editor Mode

WizoneDE edited this page Oct 26, 2026 · 1 revision

Editor mode

Deutsch: Editor-Modus

Beta, off by default. Switch it on in the settings. For now it works in Germany and the Netherlands; other countries are analysis only (prototype).

Inserting a value

  1. Click a zone icon. The way is selected in iD (its tags show in the sidebar) and a small panel opens next to the icon: name, road class, country with status, current value, suggestion with reasons, problems and notes.
  2. Pick a value. The suggestion is preselected; all values of the country are offered, those that do not fit the road class marked with ⚠.
  3. When the way already has a value, tick Replace the existing value ….
  4. Click Insert into tag text box.

As always, the tag applies to the whole way: a way that passes a town sign is split in iD first.

The extension then

  1. checks that the way's tags have not changed since the panel was shown,
  2. makes sure the way is selected in iD and opens iD's tag section if it is folded,
  3. reads iD's tag text box (also present in the list view) and checks that it shows exactly the way's tags,
  4. appends zone:traffic=… as a new last line, or replaces only that one value – every other line stays as it is, a doubled key stops it,
  5. lets iD take the text over like after typing, and
  6. checks that iD's data of the way now has exactly the expected tags.

The panel reports the result. iD records the change like any other edit: the save counter goes up and Undo (Ctrl/Cmd+Z) takes it back. Nothing is saved or uploaded – you review and save in iD as usual.

When no simplified input is offered

The panel shows the reason instead of the input; edit these cases by hand in iD:

  • zone:traffic:forward / :backward or other direction-dependent keys,
  • zone:traffic:left / :right (side-dependent values),
  • a way crossing a border, or running along one,
  • a Belgian region that is not unique (close to a regional border),
  • a value of another country, an unknown value or no traffic zone value (DE:zone30),
  • conflicting tags (urban=*, source:maxspeed, a town sign … say otherwise),
  • a town sign inside the way,
  • a way that reaches beyond the map when its full geometry cannot be read from the OSM API, or whose local nodes differ from the saved ones,
  • the tag text box is being edited (finish typing first).

Why the text box?

iD has no public plugin interface, and the extension cannot reach iD's internal editing functions on openstreetmap.org. The tag text box is iD's own input: what is entered there goes through iD's normal change handling, validation and history, exactly like typing.

Clone this wiki locally