From OpenStreetMap Wiki
Jump to: navigation, search
Available languages — Relation:enforcement
Afrikaans Alemannisch aragonés asturianu azərbaycanca Bahasa Indonesia Bahasa Melayu Bân-lâm-gú Basa Jawa Baso Minangkabau bosanski brezhoneg català čeština dansk Deutsch eesti English español Esperanto estremeñu euskara français Frysk Gaeilge Gàidhlig galego Hausa hrvatski Igbo interlingua Interlingue isiXhosa isiZulu íslenska italiano Kiswahili Kreyòl ayisyen kréyòl gwadloupéyen kurdî latviešu Lëtzebuergesch lietuvių magyar Malagasy Malti Nederlands Nedersaksies norsk norsk nynorsk occitan Oromoo oʻzbekcha/ўзбекча Plattdüütsch polski português română shqip slovenčina slovenščina Soomaaliga suomi svenska Tiếng Việt Türkçe Vahcuengh vèneto Wolof Yorùbá Zazaki српски / srpski беларуская български қазақша македонски монгол русский тоҷикӣ українська Ελληνικά Հայերեն ქართული नेपाली मराठी हिन्दी অসমীয়া বাংলা ਪੰਜਾਬੀ ગુજરાતી ଓଡ଼ିଆ தமிழ் తెలుగు ಕನ್ನಡ മലയാളം සිංහල ไทย မြန်မာဘာသာ ລາວ ភាសាខ្មែរ ⵜⴰⵎⴰⵣⵉⵖⵜ አማርኛ 한국어 日本語 中文(简体)‎ 吴语 粵語 中文(繁體)‎ ייִדיש עברית اردو العربية پښتو سنڌي فارسی ދިވެހިބަސް
Public-images-osm logo.svg enforcement
Fixed speed camera.svg
Devices that measure and document traffic violations and their coverage zone Edit or translate this description.
Group: Restrictions
  • nodewayarea - device
  • node - from
  • node - to
  • way - section
  • node - force
Status: approvedPage for proposal

This relation documents different kinds of permanently installed devices that measure and document traffic violations, such as:

  • speed traps
  • red light cameras
  • distance between vehicles measuring
  • weight check (heavy goods vehicles)
  • ordinary traffic checks (papers, use of alcohol, etc.)
  • compliance with road toll regulations (currently specifically the Toll Collect system in Germany)
  • Average Speed Check (SPECS)

These devices belong to the same class of objects and shall therefore use the same tagging schema with different values. Sometimes a combination of values is required if the device serves more than one function (e.g., both a speed trap and red light camera in one device).

Where to map?

Note that some countries forbid mapping traffic enforcement installations. If rendering or displaying in a routing software or alerting in a routing software is forbidden anywhere, you can add the information to the map - renderer and routing software will make sure to follow the law. Therefore, routing software shall offer traffic enforcement features as plug-ins, so the user can choose if he wants to install the feature.


Traffic enforcement devices are not a place you'd want to go and are therefore not an amenity.

Create a single relation for each traffic enforcement device, if there are several, as each can measure different things to vehicles from different directions.

Key Value Example Comment
type enforcement enforcement The type of relation.
enforcement maxheight / maxweight / maxspeed / average_speed / mindistance / traffic_signals / check / access maxheight The type of enforcement.
enforcement toll toll HGV toll enforcement camera bridges and pillars in Germany (see Toll Collect on Wikipedia), checking system compliance.

For normal toll bridges or gantries with no barrier to impede traffic that directly trigger payment please use highway=toll_gantry

maxheight number; specify unit if not in metres 4 The maximum height (only specify if enforcement=maxheight)
maxweight number; specify unit if not in tonnes 16 The maximum weight (optional, only specify if enforcement=maxweight)
maxspeed number; specify unit if not in km/h 60 The maximum speed (only specify if enforcement=maxspeed)

The "mindistance" enforcement is for following distance. The "check" enforcement is for a checkpoint.


Type Role Recurrence? Comment
nodewayarea device one or more Placed where the enforcement device is located. For a large device (e.g. an HGV scale), a way or area may be preferred (that must be connected to the same way). Note that the device might not be on the same way as the from (and optional to) nodes; e.g. a speed camera will often be on the side of the road).
node from one or more Node on the highway from which the enforcement is checked. Placed at the same place as signs (e.g. "radar controlled", "traffic signals ahead") if present. If not, estimate a sensible distance where a driver would need to be warned of the enforcement if driving with allowed speed, or the usual legal distance of such warning.
node to one or more - in some cases optional Node where the enforcement ends.
  • Optional if device and from roles are on the same way. In this case, the device acts as the to member.
  • Required if device and from roles aren't on the same way (e.g., speed camera, turn restriction), to make clear in which direction the enforcement occurs.
way section one or more Line for the section control (SPECS / Section Control)
node force one or more - optional A device (e.g. light or barrier) which enforce the rule being applied in the relation.


See the original proposal


See also