| 17 | | [[TOC(inline)]] |
| | 19 | [[Image(only_left_turn_sample.png)]][[BR]] |
| | 20 | |
| | 21 | Turn restrictions are important for routing and navigation software which are based on OSM data. |
| | 22 | |
| | 23 | The {{{turnrestrictions}}} plugin supports editing of turn restrictions. It consists of two major components: |
| | 24 | |
| | 25 | 1. '''Turn Restriction Toggle Dialog''' - the turn restrictions toggle dialog is displayed on the right in the Toggle Dialogs Section. It displays the list of turn restrictions in the current data set and allows to create or delete turn restrictions, or to launch the Turn Restriction Editor to edit a turn restriction. |
| | 26 | |
| | 27 | 2. '''Turn Restriction Editor''' - the Turn Restriction Editor is a special purpose editor for editing turn restrictions. |
| | 28 | |
| | 29 | == Terminology == |
| | 30 | Technically, a turn restriction is an OSM [wiki:/Help/Concepts/Object relation]. A turn restriction |
| | 31 | |
| | 32 | * must have a relation member with role {{{from}}} referring to a [wiki:/Help/Concepts/Object way]. We call this way the '''''from'''''-'''way'''. |
| | 33 | * must have a relation member with role {{{to}}} referring to a [wiki:/Help/Concepts/Object way]. We call this way the '''''to'''''-'''way'''. |
| | 34 | * must have at least of relation member with role {{{via}}} referring to a [wiki:/Help/Concepts/Object node] or [wiki:/Help/Concepts/Object way]. We call these objects '''''via'''''-'''object'''. |
| | 35 | |
| | 36 | |
| | 37 | |
| | 38 | == Use Cases == |
| | 39 | === Creating a turn restriction === |
| | 40 | There are several possibilities to create a new turn restriction. Firstly, you can lauch the Turn Restriction Editor for a new turn restriction from the Turn Restriction Toggle Dialog: |
| | 41 | 1. Click on [[Image(source:/trunk/images/new.png)]] in the Turn Restriction Toggle Dialog |
| | 42 | |
| | 43 | Alternatively, you can launch a new editor with a keyboard shortcut: |
| | 44 | 1. Press the shortcut for creating or editing a turn restriction. On most plattforms the shortcut is '''Ctrl-Shift-T'''. |
| | 45 | |
| | 46 | === Editing a turn restriction === |
| | 47 | |
| | 48 | === Deleting a turn restriction === |
| | 49 | |
| | 50 | == Turn Restriction Toggle Dialog == |
| | 51 | |
| | 52 | == Turn Restriction Editor == |
| | 53 | === Basic Editor === |
| | 54 | |
| | 55 | === Advanced Editor === |
| | 56 | |
| | 57 | === Resolving Errors and Warnings === |
| | 58 | |
| | 59 | |
| | 60 | |
| | 61 | |