Changes between Version 21 and Version 32 of Help/Plugin/KindaHackedInUtils


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

Legend:

Unmodified
Added
Removed
Modified
  • Help/Plugin/KindaHackedInUtils

    v21 v32  
    11[[TranslatedPages]]
     2[[PageOutline(2-4,Table of Content)]]
    23
    34= KindaHackedInUtils Plugin =
     
    3738|| tag `highway=street_lamp` is present ||
    3839||`camera:direction` ||\
    39 || tag `manmade=surveillance` is present ||
     40|| tag `man_made=surveillance` is present ||
    4041||`roof:direction` ||\
    4142|| key `building` or `building:part` is present or the selected node is part of such an object ||
     
    5455For example the sign in the middle is a speed limit sign, with the default settings you have to point to the way segment that is affected by the sign, so the way with the speed limit. If the advanced preference is set and `Natural direction for traffic signs` is disabled you will have to point to the way in front of the sign, so to the way that hasn't the speed limit.
    5556
     57While `H` is pressed the current value for direction is displayed in the heading label in the status bar and a visualization of the direction is shown:
     58
     59[[Image(visualization.png, 200)]]
     60
     61The helper line and direction cone can be disabled separately in the preferences. For `forward/backward` direction helper arrows that show the direction are displayed at the current mouse location. To disable those arrows add an advanced preference key **`kindahackedinutils.directionArrowForSimpleDirection`** with the value `false` to the preferences.
     62
    5663If a simple direction is ambiguous for a selected traffic sign node a popup menu with the possible degree values is shown:
    5764
     
    7279=== Detach nodes from areas ===
    7380
    74 Select [[Image(detach.svg, 24px, middle)]] `Detach nodes from ways and move them` from the `More tools` menu or press **`Z`** on the keyboard.
     81Select [[Image(detach.svg, 32px, middle)]] `Detach nodes from ways and move them` from the `More tools` menu or press **`Z`** on the keyboard.
    7582
    7683==== What it does? ====
     
    8895=== Undo changes only for an object ===
    8996
    90 Select [[Image(unredo.svg, 24px, middle)]] `Undo/redo changes on selected object` from the `More tools` menu or press **`Ctrl+Alt+Shift+Z`** on the keyboard.
     97Select [[Image(unredo.svg, 32px, middle)]] `Undo/redo changes on selected object` from the `More tools` menu or press **`Ctrl+Alt+Shift+Z`** on the keyboard.
    9198
    9299==== What it does? ====
     
    110117=== Create or change turn restrictions ===
    111118
    112 Select [[JOSMImage(presets/vehicle/restriction/turn_restrictions/no_u_turn, 24px, middle)]] `Create turn restriction or change selected` from the `More tools` menu or press **`Shift+T`** on the keyboard.
     119Select [[JOSMImage(presets/vehicle/restriction/turn_restrictions/no_u_turn, 32px, middle)]] `Create turn restriction or change selected` from the `More tools` menu or press **`Shift+T`** on the keyboard.
    113120
    114121==== What it does? ====
     
    130137=== Quickly add objects to existing relation ===
    131138
    132 Select [[Image(relation-add.svg, 24px, middle)]] `Add selected objects to selected relation` from the `More tools` menu or press **`Ctrl+R`** on the keyboard.
    133 
    134 ==== What it does? ====
    135 
    136 The selected objects will be added to the selected relation without showing a dialog. The relation the objects should be added to has to be selected as the first object. The roles will be guessed based on the type and keys of the relation and the selected objects
     139Select [[Image(relation-add.svg, 32px, middle)]] `Add selected objects to relation` from the `More tools` menu or press **`Ctrl+R`** on the keyboard.
     140
     141==== What it does? ====
     142
     143The selected objects will be added to the selected relation without showing a dialog. The relation the objects should be added to has to be selected as the first object or if a selected object is only a member of one relation and the first selected object isn't a relation that relation will be used. The roles will be guessed based on the type and keys of the relation and the selected objects. If no relation is selected an no object is a member of a relation the dialog to create a new relation is shown. If the selection consists of 2 or 3 objects that might be part of an enforcement relation the creation of an enforcement relation of the types `toll`, `maxspeed` and `traffic_signals` is offered. If such a relation should be crated the from node has to be selected first, the to node second (if there is a to node) and the device last.
     144
     145=== Close selected ways ===
     146
     147Select [[Image(closeway.svg, 32px, middle)]] `Close selected ways` from the `More tools` menu or press **`Alt+Ctrl+Shift+C`** on the keyboard.
     148
     149==== What it does? ====
     150
     151All selected ways will be closed if they are not closed already.
     152
     153=== Create area between 2 selected nodes ===
     154
     155Select [[Image(newarea.svg, 32px, middle)]] `Create area between 2 selected nodes` from the `More tools` menu or press **`Alt+Ctrl+Shift+A`** on the keyboard.
     156
     157==== What it does? ====
     158
     159[[Image(create_area_1.png, 150px, middle)]] 🡲 [[Image(create_area_select_type.png, 150px, middle)]] 🡲 [[Image(create_area_2.png, 150px, middle)]]
     160
     161A new closed way between the 2 selected points will be created and the type of the area can be selected/entered for the new way. The way will be created from the 1st selected node in forward direction of the existing way to the 2nd selected node. This only works if the points are on the same way. To specify the way to use also select the way.
     162
     163If the Shrinkwrap plugin is installed it will also work for nodes of different line, as long as one the ways are connected to each other. To use it with Shrinkwrap select the nodes and place the mouse inside the area to create and press **`Alt+Ctrl+Shift+A`** on the keyboard. A helper line will be drawn to close the area for the Shrinkwrap plugin balloon action to work. After the area has been created the helper line will be deleted automatically.
     164
     165=== Wrap way around other way ===
     166
     167Select [[Image(wraparound.svg, 32px, middle)]] `Wrap way around other way` from the `More tools` menu or press **`Shift+F`** on the keyboard.
     168
     169==== What it does? ====
     170
     171[[Image(wrap_around_1.png, 150px, middle)]] 🡲 [[Image(wrap_around_2.png, 150px, middle)]] 🡲 [[Image(wrap_around_3.png, 150px, middle)]]
     172
     173The 1st selected way will be wrapped around the 2nd selected way in forward direction of the 2nd way.
     174
     175To use this action 1st selected the node before the node that is shared with the wrap way of the to wrap way then the 2nd node which is the start node for the wrap way and then the 3rd node which is the end node for the wrap way. Then selected the way which should be wrap around the other way and finally selected the wrap way. Then press **`Shift+F`** or selected the action from the `More tools` menu.
     176
     177For example in the 2nd image the 1st selected node is the node at the bottom, the 2nd node is the 1st node shared with the wrap way and the 3rd node is the last node shared with the wrap way. The way between the 2nd and the 3rd node will be wrapped around the wrap way in forward direction, so in this case to the left. If the node at the top and the 2 shared nodes would have been selected the way between the 2nd and 3rd node would have been wrapped around the wrap way in the other direction, so it would go to the right.
     178
     179=== Optimize/split multipolygon ===
     180
     181Select [[JOSMImage(multipoly_update, 32px, middle)]] `Optimize/split multipolygon` from the `More tools` menu or press **`Alt+Shift+X`** on the keyboard.
     182
     183==== What it does? ====
     184
     185[[Image(fix_1.png, 150px, middle)]] 🡲 [[Image(fix_2.png, 150px, middle)]] 🡲 [[Image(fix_3.png, 150px, middle)]]
     186
     187If the multipolygon doesn't contain a single closed outer way but the outer way consists of multiple single ways a single outer way will be created and any unused way will be deleted.
     188
     189A multipolygon that contains at least 2 distinct closed ways will be separated into the needed number of new areas/multipolygons. A new area is created if that area doesn't contain any inner ways, a new multipolygon if there are inner ways.
     190
     191If the utils2pluign is installed this action can directly split a closed outer way of a myltipolygon and create the needed new areas/multipolygons by selecting the 2 nodes to split between and press **`Alt+Shift+X`** on the keyboard or select the action from the `More tools` menu.
    137192
    138193=== Quick Relation Selection List ===
     
    165220
    166221**NOTE**: `The Quick Relation Selection List` will only be available after a restart of JOSM or by removing all layers.
     222
     223=== Handle enabled state of preset actions in toolbar ===
     224
     225This function will monitor the selection of objects in JOSM and enabled/disable preset actions in the toolbar dependent on the type of the selected objects.