[[TranslatedPages]] = Selection window = [[Image(source:/trunk/images/dialogs/selectionlist.png)]] ''keyboard shortcut'': '''{{{Shift+Alt+T}}}''' — one of the [Help/ToggleDialogs#Toactivateawindow JOSM windows] '''This list shows the currently selected objects (nodes, ways, closed ways and relations).''' == Selection == * Selection is independent [wiki:/Help/Dialog/LayerList per each layer] * Selection in ''other layers'' will be preserved after [wiki:/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 * Selection in ''[wiki:Help/Dialog/LayerList#LayerButtons the active layer]'' '''will be empty''' after ''unsuccessful search'' * There at least 2 tools to recover history of last selected objects: * [#SmalltriangleinSelectbutton Small triangle in "Select" button from this page] * [Help/Action/Search#Fetchexternalfileandreplaceselection Special syntax in the search action] - selection based on list of objects save in the file * Selection is ordered (internally, but you cannot control order except by re-selecting objects); practical use of it can be seen in [[Help/Action/MergeNodes]] * This window has not 3, but [SelectionList#Controlbuttons 5 control elements in total]. Triangles are often overlooked at first, but provide a very powerful tools * List of currently selected object(s) can be erased: * after {{{Left mouse click}}} on empty space in [Help/MapView viewport (main editing window)] * after using [Help/Action/Select one of many Deselection tools] * after running search query (explained above) * after {{{Espace}}} [Help/Action/UnselectAll tool] * Items in ''Selection window'' can be selected (hold {{{Ctrl}}} and use left mouse click to select/deselect them) === Subselection === Items in selection can be "selected" again * Mouse click to select single object * Hold {{{Ctrl}}} * to select more than object * to remove subselection from items Single node ''Spielemax'' subselected in screen below [[Image(selection_dialog.png,nolink)]] === Context menu === * "Zoom to selection" - zoom to all items in selection * "Zoom to selected elements" - zoom to objects from ''Selection window'' that were subselected ([[#Subselection]]) Items below apply only to relations * "Select in relation list" - open [wiki:Help/Dialog/RelationList Relation list] * "Edit" - open [wiki:Help/Dialog/RelationEditor Relation editor] * "Download incomplete members" [[Image(selection-context-menu-right-click-menu.png,nolink)]] == Naming == * [[Image(source:trunk/images/data/node.png)]]'''Nodes''' are shown with their names (likewise their OSM-ID) and their position in brackets. * [[Image(source:trunk/images/data/way.png)]] '''Ways''' and [[Image(source:trunk/images/data/closedway.png)]] '''closed ways''' are shown with their names and if no name-tags exist with their main tag (eg 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. * [[Image(source:trunk/images/data/relation.png)]] Relations are shown with their type and in brackets the name and the number of members. == Control buttons == === Select === [[Image(source:/trunk/images/dialogs/select.png,nolink)]] '''Select''' selects the objects currently selected in the selection list.[[BR]] ==== Small triangle in Select button ==== Small triangle [[Image(source:/trunk/images/svpDown.svg)]] within the [[Image(source:/trunk/images/dialogs/select.png,15)]] '''you can restore previous selections from a drop down list''': [[Image(9900-en-selection-history.png,nolink)]] === Search === [[Image(source:/trunk/images/dialogs/search.png,nolink)]] '''Search''' feature: it allows a very sophisticated [wiki:/Help/Action/Search search]. ==== Small triangle in Search button ==== Like ''Select'' the small triangle [[Image(source:/trunk/images/svpDown.svg)]] within the [[Image(source:/trunk/images/dialogs/search.png,15)]] '''Search''' button also offers a drop down search '''list of previous search'''. [[Image(9900-en-Search button-triangle.png,nolink)]] [[Image(9900-en-Search button-triangle-autocomplete in search action.png,nolink)]] === History === [[Image(source:/trunk/images/dialogs/history.png,nolink)]] '''History''' opens the [wiki:Help/Action/ObjectHistory History Browser] == See also == * [wiki:/Help/Action/Search Search]. ---- Back to [wiki:/Help/ToggleDialogs Windows][[BR]] Back to [wiki:Help Main Help]