Changes between Version 50 and Version 55 of Help/Plugin/TurnRestrictions
- Timestamp:
- (multiple changes)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Plugin/TurnRestrictions
v50 v55 4 4 = Plugin -> Turn Restrictions = 5 5 6 [[Image(source:osm/applications/editors/josm/plugins/turnrestrictions/images/preferences/turnrestrictions.png,48,link=,middle)]] 7 6 [[Image(source:osm/applications/editors/josm/plugins/turnrestrictions/images/preferences/turnrestrictions.png,48,link=,middle,margin-right=20)]] 8 7 9 8 == Introduction == … … 14 13 The ''**turnrestrictions**'' plugin supports editing of turn restrictions. It consists of two major components: 15 14 16 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. 17 1. **Turn Restriction Editor** - the Turn Restriction Editor is a special purpose editor for turn restrictions. 15 1. **Turn Restriction Panel** - the turn restrictions panel is displayed on the right in sidebar. 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. 16 1. **Turn Restriction Editor (`Alt+Shift+2`)** - the Turn Restriction Editor is a special purpose editor for turn restrictions. 17 18 18 19 19 == Tagging model == … … 24 24 * must have a relation member with role **`from`** referring to a [wikitr:/Help/Concepts/Object#Ways way]. We call this way the **''from**''-**way**. 25 25 * must have a relation member with role **`to`** referring to a [wikitr:/Help/Concepts/Object#Ways way]. We call this way the **''to**''-**way**. 26 * must have at least o frelation member with role `via` referring to a [wikitr:/Help/Concepts/Object#Nodes node] or [wikitr:/Help/Concepts/Object#Ways way]. We call these objects **''via**''-**object**.26 * must have at least one relation member with role `via` referring to a [wikitr:/Help/Concepts/Object#Nodes node] or [wikitr:/Help/Concepts/Object#Ways way]. We call these objects **''via**''-**object**. 27 27 28 28 29 29 == Use Cases == 30 30 === Creating a turn restriction ===#CreateANewTurnRestriction 31 There are several possibilities to create a new turn restriction. First, you can lauch the Turn Restriction Editor for a new turn restriction from the Turn Restriction Toggle Dialog:32 1. Click on [[JOSMImage(new,link=,24,middle)]] in the Turn Restriction Toggle Dialog. Alternatively, select [[JOSMImage(new,link=,24,middle)]] **New** from the popup menu.31 There are several possibilities to create a new turn restriction. First, you can lauch the Turn Restriction Editor for a new turn restriction from the Turn Restriction Panel: 32 1. Click on [[JOSMImage(new,link=,24,middle)]] in the Turn Restriction Panel. Alternatively, select [[JOSMImage(new,link=,24,middle)]] **New** from the popup menu. 33 33 34 34 Alternatively, you can launch a new editor with a keyboard shortcut: 35 1. Press the shortcut for creating or editing a turn restriction. On most platforms the shortcut is **` Ctrl+Shift+T`**.35 1. Press the shortcut for creating or editing a turn restriction. On most platforms the shortcut is **`Alt+Shift+2`**. 36 36 1. If objects in the current JOSM selection already participate in a turn restriction, the following window pops up. 37 37 … … 46 46 A fast way to create a turn restriction is therefore to 47 47 1. Select the **''from**''- and **''to**''-way in JOSM 48 1. Press **` Ctrl+Shift+T`**48 1. Press **`Alt+Shift+2`** 49 49 1. Choose the type of the turn restriction and save it. 50 50 51 51 === Editing a turn restriction === #EditingATurnRestriction 52 There are several possible ways to launch a Turn Restriction Editor in order to edit a turn restriction. First, you can lauch the Turn Restriction Editor for an existing turn restriction from the Turn Restriction Toggle Dialog:53 1. Select a turn restriction in the Turn Restriction Toggle Dialog52 There are several possible ways to launch a Turn Restriction Editor in order to edit a turn restriction. First, you can lauch the Turn Restriction Editor for an existing turn restriction from the Turn Restriction Panel: 53 1. Select a turn restriction in the Turn Restriction Panel 54 54 1. Click on [[JOSMImage(dialogs/edit,link=,24,middle)]]. Alternatively, select [[JOSMImage(dialogs/edit,link=,24,middle)]] **Edit** from the popup menu. 55 55 56 56 Second, you can launch a new editor with a keyboard shortcut: 57 1. Press the shortcut for creating or editing a turn restriction. On most platforms the shortcut is **` Ctrl+Shift+T`**.57 1. Press the shortcut for creating or editing a turn restriction. On most platforms the shortcut is **`Alt+Shift+2`**. 58 58 1. If objects in the current JOSM selection already participate in a turn restriction, the following window pops up. 59 59 … … 63 63 A fast way to edit a turn restriction is therefore to 64 64 1. Select the **''from**''- or **''to**''-way in JOSM 65 1. Press **` Ctrl+Shift+T`**66 1. Type **`1`** to lauch the Turn Restriction Editor 65 1. Press **`Alt+Shift+2`** 66 1. Type **`1`** to launch the Turn Restriction Editor 67 67 68 68 === Deleting a turn restriction === 69 There are several possible ways to delete a turn restriction. First, you can delete it in the Turn Restriction Toggle Dialog:70 1. Select a turn restriction in the Turn Restriction Toggle Dialog69 There are several possible ways to delete a turn restriction. First, you can delete it in the Turn Restriction Panel: 70 1. Select a turn restriction in the Turn Restriction Panel 71 71 1. Press **`DEL`** or click on [[JOSMImage(dialogs/delete,link=,24,middle)]]. Alternatively, select [[JOSMImage(dialogs/delete,link=,24,middle)]] **Delete** from the popup menu. 72 72 73 Alternatively, you can [#EditingATurnRestriction launch a Turn Restriction Editor] and click on [[JOSMImage(dialogs/delete, 20)]] in its toolbar.73 Alternatively, you can [#EditingATurnRestriction launch a Turn Restriction Editor] and click on [[JOSMImage(dialogs/delete,link=,24,middle)]] in its toolbar. 74 74 75 75 76 == Turn Restriction Toggle Dialog == #TurnRestrictionToggleDialog 77 The Turn Restriction Toggle Dialog helps you to keep track of the turn restrictions in the current edit layer. 76 == Turn Restriction Panel == #TurnRestrictionPanel 77 [=#TurnRestrictionToggleDialog] 78 The Turn Restriction Panel helps you to keep track of the turn restrictions in the current edit layer. 78 79 79 Here's a screenshot of the toggle dialogand its popup menu: \\80 Here's a screenshot of the panel and its popup menu: \\ 80 81 [[Image(toggle-dialog-screenshot.png,link=)]] 81 82 … … 169 170 You can override the standard setting, though. If you tick the respective checkbox in the preferences (see screen shot above) the list of via-objects is displayed in the Basic Editor too. 170 171 171 {{{#!comment172 Shortcut configuration does not work, atm, and will probably not be readded to the plugin preferences. See #21243173 }}}174 175 {{{#!comment176 === Configure shortcut for creating/editing a turn restriction ===177 In the preference dialog you can also configure the shortcut to create/edit a turn restriction. The default shortcut is **`Ctrl+Shift+T`** but you can change it to whatever shortcut you like.178 179 Be careful not to override already defined shortcuts, though. For instance, **`Ctrl+S`** is the defined shortcut for **Save to file**. If you set the turn restrictions shortcut to **`Ctrl+S`**, then pressing **`Ctrl+S`** won't save the current layer any more. The turn restriction editor is launched instead.180 }}}181 182 172 183 173 == See also ==