Changes between Version 50 and Version 55 of Help/Plugin/TurnRestrictions


Ignore:
Timestamp:
(multiple changes)
Author:
(multiple changes)
Comment:
(multiple changes)

Legend:

Unmodified
Added
Removed
Modified
  • Help/Plugin/TurnRestrictions

    v50 v55  
    44=  Plugin -> Turn Restrictions =
    55
    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)]]
    87
    98== Introduction ==
     
    1413The ''**turnrestrictions**'' plugin supports editing of turn restrictions. It consists of two major components:
    1514
    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.
     151. **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.
     161. **Turn Restriction Editor (`Alt+Shift+2`)** - the Turn Restriction Editor is a special purpose editor for turn restrictions.
     17
    1818
    1919== Tagging model ==
     
    2424 * must have a relation member with role **`from`** referring to a [wikitr:/Help/Concepts/Object#Ways way]. We call this way the **''from**''-**way**.
    2525 * 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 of 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**.
     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**.
    2727
    2828
    2929== Use Cases ==
    3030=== 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.
     31There 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.
    3333
    3434Alternatively, 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`**.
     351. Press the shortcut for creating or editing a turn restriction. On most platforms the shortcut is **`Alt+Shift+2`**.
    36361. If objects in the current JOSM selection already participate in a turn restriction, the following window pops up.
    3737 
     
    4646A fast way to create a turn restriction is therefore to
    47471. Select the **''from**''- and **''to**''-way in JOSM
    48 1. Press **`Ctrl+Shift+T`**
     481. Press **`Alt+Shift+2`**
    49491. Choose the type of the turn restriction and save it.   
    5050   
    5151=== 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 Dialog
     52There 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:
     531. Select a turn restriction in the Turn Restriction Panel
    54541. Click on [[JOSMImage(dialogs/edit,link=,24,middle)]]. Alternatively, select [[JOSMImage(dialogs/edit,link=,24,middle)]] **Edit** from the popup menu.
    5555
    5656Second, 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`**.
     571. Press the shortcut for creating or editing a turn restriction. On most platforms the shortcut is **`Alt+Shift+2`**.
    58581. If objects in the current JOSM selection already participate in a turn restriction, the following window pops up.
    5959
     
    6363A fast way to edit a turn restriction is therefore to
    64641. Select the **''from**''- or **''to**''-way in JOSM
    65 1. Press **`Ctrl+Shift+T`**
    66 1. Type **`1`** to lauch the Turn Restriction Editor
     651. Press **`Alt+Shift+2`**
     661. Type **`1`** to launch the Turn Restriction Editor
    6767 
    6868=== 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 Dialog
     69There are several possible ways to delete a turn restriction. First, you can delete it in the Turn Restriction Panel:
     701. Select a turn restriction in the Turn Restriction Panel
    71711. Press **`DEL`** or click on [[JOSMImage(dialogs/delete,link=,24,middle)]]. Alternatively, select [[JOSMImage(dialogs/delete,link=,24,middle)]] **Delete** from the popup menu.
    7272
    73 Alternatively, you can [#EditingATurnRestriction launch a Turn Restriction Editor] and click on [[JOSMImage(dialogs/delete,20)]] in its toolbar.
     73Alternatively, you can [#EditingATurnRestriction launch a Turn Restriction Editor] and click on [[JOSMImage(dialogs/delete,link=,24,middle)]] in its toolbar.
    7474
    7575
    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]
     78The Turn Restriction Panel helps you to keep track of the turn restrictions in the current edit layer.
    7879
    79 Here's a screenshot of the toggle dialog and its popup menu: \\
     80Here's a screenshot of the panel and its popup menu: \\
    8081[[Image(toggle-dialog-screenshot.png,link=)]]
    8182
     
    169170You 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.
    170171
    171 {{{#!comment
    172 Shortcut configuration does not work, atm, and will probably not be readded to the plugin preferences. See #21243
    173 }}}
    174 
    175 {{{#!comment
    176 === 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 
    182172
    183173== See also ==