8 | | [[Image(selection_dialog.png)]] |
| 9 | == Selection ==#Selection |
| 10 | * Selection is independent [wikitr:/Help/Dialog/LayerList per each layer] |
| 11 | * Selection in ''other layers'' will be preserved after [wikitr:/Help/Action/Search an unsuccessful search] - it is safe to change (or even erase) selection in one layer and expect to selection in other layer to kept |
| 12 | * Selection in ''[wikitr:/Help/Dialog/LayerList#LayerButtons the active layer]'' **will be empty** after ''unsuccessful search'' |
| 13 | * There are at least 2 tools to recover history of last selected objects: |
| 14 | * [#SmalltriangleinSelectbutton Small triangle in "Select" button from this page] |
| 15 | * [wikitr:/Help/Action/Search#Fetchexternalfileandreplaceselection Special syntax in the search action] - selection based on list of objects save in the file |
| 16 | * Selection is ordered (internally, but you cannot control order except by re-selecting objects); practical use of it can be seen in [wikitr:/Help/Action/MergeNodes MergeNodes] |
| 17 | * This panel has not 3, but [#Controlbuttons 5 control elements in total]. Triangles are often overlooked at first, but provide a very powerful tools |
| 18 | * List of currently selected object(s) can be erased: |
| 19 | * after `Left mouse click` on empty space in [wikitr:/Help/MapView viewport (main editing window)] |
| 20 | * after using [wikitr:/Help/Action/Select one of many Deselection tools] |
| 21 | * after running search query (explained above) |
| 22 | * after `Escape` [wikitr:/Help/Action/UnselectAll tool] |
| 23 | * Items in ''Selection panel'' can be [#Subselection subselected] |
18 | | [[Image(source:/trunk/images/dialogs/select.png)]] '''Search''' is an often unseen feature: it allows a very sophisticated search. See [wiki:/Help/Action/Search search]. Like ''Select'' the small triangle [[Image(source:/trunk/images/svpDown.png)]] within the [[Image(source:/trunk/images/dialogs/select.png,15)]] '''Search''' button also offers a drop down search list of previous search. |
| 34 | [[Image(selection_dialog.png,link=)]] |
| 35 | |
| 36 | === Context menu === |
| 37 | ||= **Icon** =||= **Name** =||= **Description and notes** =|| |
| 38 | || [[JOSMImage(dialogs/autoscale/selection)]] ||\ |
| 39 | || [wikitr:/Help/Action/ZoomToSelection Zoom to selection] ||\ |
| 40 | || Zoom the [wikitr:/Help/MapView Map view] so that only data which is currently selected is in view. || |
| 41 | || [[JOSMImage(dialogs/autoscale/selection)]] ||\ |
| 42 | || Zoom to selected elements ||\ |
| 43 | || Zoom the Map view so that only data which is currently chosen in the panel is in view. Zoom to [#Subselection subselection] || |
| 44 | |
| 45 | Items below apply only to relations: |
| 46 | ||= **Icon** =||= **Name** =||= **Description and notes** =|| |
| 47 | || [[JOSMImage(dialogs/edit)]] ||\ |
| 48 | || Edit ||\ |
| 49 | || Opens relation in a relation editor. || |
| 50 | || [[JOSMImage(dialogs/delete,28,link=,middle)]] ||\ |
| 51 | || Delete ||\ |
| 52 | || Deletes the relation. || |
| 53 | |||| |
| 54 | || [[JOSMImage(dialogs/relationlist,28,link=,middle)]] ||\ |
| 55 | || Select in relation list ||\ |
| 56 | || Selects the relation in the [wikitr:/Help/Dialog/RelationList relation panel] || |
| 57 | || [[JOSMImage(dialogs/select,middle)]] ||\ |
| 58 | || Select relation ||\ |
| 59 | || Selects the relation in the main map selection. || |
| 60 | || [[JOSMImage(dialogs/select,middle)]] ||\ |
| 61 | || Select relation (add) ||\ |
| 62 | || Adds the relation to the main map selection. || |
| 63 | || [[JOSMImage(selectall,middle)]] ||\ |
| 64 | || Select members ||\ |
| 65 | || Selects all members of the relation in main map selection. || |
| 66 | || [[JOSMImage(selectall,middle)]] ||\ |
| 67 | || Select members (add) ||\ |
| 68 | || Adds all members of the relation to the main map selection. || |
| 69 | |||| |
| 70 | || [[JOSMImage(dialogs/downloadincomplete)]] ||\ |
| 71 | || Download members ||\ |
| 72 | || Downloads all members of the selected relation, except for new relations. || |
| 73 | || [[JOSMImage(dialogs/relation/downloadincompleteselected)]] ||\ |
| 74 | || Download incomplete members ||\ |
| 75 | || Downloads all incomplete members of the relation. || |
| 76 | |||| |
| 77 | || [[JOSMImage(help/internet)]] ||\ |
| 78 | || Open/View "link" \\ Search on ... \\ ([wikitr:/Help/Action/Tag2Link Tag2Link]) ||\ |
| 79 | || Optional items to open websites corresponding to the tags of selected objects in the panel,\\ like `website`, `url` or `wikidata`, in the external web browser || |
| 80 | |
| 81 | |
| 82 | == Naming == |
| 83 | * [[JOSMImage(data/node)]]**Nodes** are shown with their names (likewise their OSM-ID) and their position in brackets. |
| 84 | * [[JOSMImage(data/way)]] **Ways** and [[JOSMImage(data/closedway)]] **closed ways** are shown with their names and if no name-tags exist with their main tag (e.g. highway, landuse, railway ...). If JOSM is not able to interpreted any tag the OSM-IDs are shown. The numbers of nodes the ways consist of are always shown in brackets. |
| 85 | * [[JOSMImage(data/relation)]] Relations are shown with their type and in brackets the name and the number of members. |
| 86 | |
| 87 | |
| 88 | == Panel buttons ==#Controlbuttons |
| 89 | === Select === |
| 90 | [[JOSMImage(dialogs/select)]] **Select** selects the objects currently selected in the selection panel. |
| 91 | |
| 92 | ==== Small triangle in Select button ====#SmalltriangleinSelectbutton |
| 93 | With the small triangle [[JOSMImage(svpDown)]] button within the [[JOSMImage(dialogs/select)]] **Select** button **you can restore previous selections from a drop down list**: |
| 94 | |
| 95 | [[Image(9900-en-selection-history.png,link=)]] |
| 96 | |
| 97 | Objects that were filtered out (by [wikitr:/Help/Dialog/Filter filters]) will be displayed as "Unselectable now". |
| 98 | |
| 99 | |
| 100 | === Search === |
| 101 | [[JOSMImage(dialogs/search)]] **Search** feature: it allows a very sophisticated [wikitr:/Help/Action/Search search]. |
| 102 | |
| 103 | ==== Small triangle in Search button ==== |
| 104 | Like ''Select'' the small triangle [[JOSMImage(svpDown)]] button within the [[JOSMImage(dialogs/search)]] **Search** button also offers a drop down search **list of previous search**. |
| 105 | |
| 106 | [[Image(9900-en-Search button-triangle.png,link=)]] |
| 107 | |
| 108 | [[Image(9900-en-Search button-triangle-autocomplete in search action.png,link=)]] |
| 109 | |
| 110 | |
| 111 | === History === |
| 112 | [[JOSMImage(dialogs/history)]] **History** - opens the [wikitr:/Help/Action/ObjectHistory History Browser]. For each [wikitr:/Help/Dialog/SelectionList#Selection selected] [wikitr:/Help/Concepts/Object object] a separate window will open. |
| 113 | |
| 114 | |
| 115 | == Preferences ==#Preferences |
| 116 | There are some (advanced) settings, available, to influence the displayed object`s information in the list. While the first three can be found under [wikitr:/Help/Preferences/Display Display] the fourth will only show up there in [wikitr:/Help/ExpertMode Expert mode] and the last never. All can be changed in the [wikitr:/Help/Preferences/Advanced advanced preference]: |
| 117 | |
| 118 | * `osm-primitives.showid`: set to `true`/`false` to display/hide the OSM id of the object in the list |
| 119 | * `osm-primitives.showcoor`: set to `true`/`false` to display/hide the coordinates of the object in the list |
| 120 | * `osm-primitives.showversion`: set to `true`/`false` to display/hide the version number of the object in the list |
| 121 | * `osm-primitives.localize-name`: set to `true` to display the localized name of the object, if corresponding tag is present (expert mode only). |
| 122 | |
| 123 | * `osm-primitives.showid.new-primitives`: set to `true` to display the internal negative OSM id of new objects in the list, instead of zero (`0`) for all (expert mode only). |
| 124 | |
| 125 | Option to not sort the objects by object type and id |
| 126 | * `selection.no_sort`: set to `true` to show the real order of selection. |
| 127 | |