Changes between Version 78 and Version 79 of Help/Dialog/Filter


Ignore:
Timestamp:
2020-04-23T22:57:05+02:00 (5 years ago)
Author:
skyper
Comment:

table format; shortcuts

Legend:

Unmodified
Added
Removed
Modified
  • Help/Dialog/Filter

    v78 v79  
    44= Filter panel =
    55
    6 [[JOSMImage(dialogs/filter,middle,48,link=,margin-right=20)]] ''Keyboard shortcut:'' ''' {{{Alt+Shift+F}}}''' — one of the [wikitr:/Help/ToggleDialogs#Toactivateawindow JOSM panels]
     6[[JOSMImage(dialogs/filter,middle,48,link=,margin-right=20)]] ''Keyboard shortcut:'' '''{{{Alt+Shift+F}}}''' — one of the [wikitr:/Help/ToggleDialogs#Toactivateawindow JOSM panels]
    77
    88The filter panel allows the user to temporarily disable and optionally hide certain types of [wikitr:/Help/Concepts/Object objects] based on one (or multiple) filters.
     
    1818Simple usage is to enter single tag (or more complex expression similar to search) in "Text" column: objects complying with that text will be disabled.
    1919
    20 More complex scenarios include filters as quick way to develop and test custom [wikitr:/Rules tagchecker rules].
    21 
     20More complex scenarios include filters as quick way to develop and test custom [wikitr:/Rules validator rules].
    2221
    2322=== Usability ===
     
    2625* Avoid unnecessary or accidental edits.
    2726
    28 
    2927=== Productivity ===
    3028* Disable/separate objects that were fully tagged (using tag count and custom filters) from incomplete objects
    3129* Disable recently modified objects (and it is irrelevant: if it modified by you or another person)
    32 * Untagged objects {{{untagged}}} can be used instead of Notes at osm.org. It is faster than to set/remove {{{fixme=resurvey}}} - please don't overuse this principle
    33 
     30* Untagged objects {{{untagged}}} can be used instead of Notes at [osmwww: openstreetmap.org]. It is faster than to set/remove {{{fixme=resurvey}}} - please don't overuse this principle
    3431
    3532=== Overview ===
     
    3734
    3835[[Image(filterdialog.png,link=)]]
    39 
    4036
    4137=== Columns ===#Columns
     
    5753The list can by ordered by clicking on the table headers.
    5854
    59 
    6055=== Control buttons ===
    6156TODO explain 7 buttons.
    6257
    63 
    64 === Examples ===#Examples
    65 ||Filter text                                                                  ||Description or note||
    66 ||{{{ ((landuse:|natural:|leisure:|building:) | (role:outer|role:inner))}}}    ||Doesn't handle relations perfectly||
    67 ||{{{ shop=* opening_hours=* }}}                                               ||shop= + opening_hours= tagged objects||
    68 ||{{{ shop=* name=* }}}                                                        ||shop= + name= tagged objects ||
    69 ||{{{ type:node -shop=* }}}                                                    ||All nodes except shops. Geometry modification using mouse move disabled, but possible using other modes (ex. - [wikitr:/Help/Action/ImproveWayAccuracy Improve Way Accuracy mode (W)])||
    70 ||{{{ (type:node | type:way | type:relation) (modified | user:Steve) }}}       ||Hide objects if you are the latest editor (useful during mass re-tagging and semi-mechanical edits)||
    71 ||{{{ -highway: }}}                                                            ||Everything except highway= tagged objects||
    72 ||{{{ man_made=pipeline }}}                                                    ||Pipelines||
    73 ||{{{ natural=water }}}                                                        ||Water objects||
    74 ||{{{ admin_level: }}}                                                         ||Admin boundaries||
    75 ||{{{ boundary: | leisure: | landuse: | waterway: | amenity: | natural: | building: }}} ||De-clutters map, aggressive (sometimes you may want to keep buildings or amenity key)||
    76 ||{{{ type:node & untagged }}}                                                 ||Make it easier to select ways||
    77 ||{{{ modified }}}                                                             ||Quickly see your changes||
    78 ||{{{ child (type:way & highway:) }}}                                          ||All nodes that's part of a highway||
    79 ||{{{ child (type:relation & (natural:|landuse:)) }}}                          ||All natural and landuse areas formed by relations||
    80 ||{{{ -((highway | child highway | untagged | public_transport) & -(highway=footway | highway=path | highway=steps | highway=track)) }}} || Only roads for public transport. Good for mapping bus networks.  ||
    81 
    82 See also other [wikitr:/Help/Action/Search#Examples examples]. If you have some clever filters, add them here.
     58=== Keyboard shortcuts ===
     59Additional to the checkbox in the filter panel, enabling or disabling filters is possible with keyboard shortcuts. `Ctrl+Alt+E` plus `[1-9,0,A-Z] toggles the corresponding filter on or off, counting from the top of the list. If unsure, `Ctrl+Alt+E` only, without addition, will show a list.
    8360
    8461
    8562== Filter warning ==
    86 If any filter is active, a transparent message box will appear in the top right corner of [wikitr:/Help/MapView main view].
     63[[Image(filters warning.png,link=,right,margin-left=20,margin-right=100)]]
    8764
    88 It is only visible if at least one object was disabled or hidden.
     65If any filter is active, and at least one object was filtered, a transparent message box will appear in the top right corner of [wikitr:/Help/MapView main view].
     66 The message has the title **Filter active** and displays the number of disabled objects.
    8967
    90 [[Image(filters warning.png,link=)]]
     68
     69== Examples ==#Examples
     70||= Filter text =||= Description or note =||
     71|| `((landuse: | natural: | leisure: | building:) | (role:outer | role:inner))` || Doesn't handle relations perfectly ||
     72|| `shop=* opening_hours=*` || shop= + opening_hours= tagged objects ||
     73|| `shop=* name=*` || shop= + name= tagged objects ||
     74|| `type:node -shop=*` || All nodes except shops. Geometry modification using mouse move disabled, but possible using other modes (ex. - [wikitr:/Help/Action/ImproveWayAccuracy Improve Way Accuracy mode] (`W`)) ||
     75|| `(type:node | type:way | type:relation) (modified | user:Steve)` || Hide objects if you are the latest editor (useful during mass re-tagging and semi-mechanical edits) ||
     76|| `-highway:` || Everything except highway= tagged objects ||
     77|| `man_made=pipeline` || Pipelines ||
     78|| `natural=water` || Water objects ||
     79|| `admin_level:` || Admin boundaries ||
     80|| `boundary: | leisure: | landuse: | waterway: | amenity: | natural: | building:` || De-clutters map, aggressive (sometimes you may want to keep buildings or amenity key) ||
     81|| `type:node & untagged` || Make it easier to select ways ||
     82|| `modified` || Quickly see your changes ||
     83|| `child (type:way & highway:)` || All nodes that's part of a highway ||
     84|| `child (type:relation & (natural: | landuse:))` || All natural and landuse areas formed by relations ||
     85|| `-((highway | child highway | untagged | public_transport) & -(highway=footway | highway=path | highway=steps | highway=track))` || Only roads for public transport. Good for mapping bus networks. ||
     86
     87See also other [wikitr:/Help/Action/Search#Examples examples]. If you have some clever filters, add them here.
    9188
    9289
     
    9491Auto filters automatically adds filter buttons in the top left corner of the [wikitr:/Help/MapView map view] for special keys. This needs to be enabled in the [wikitr:/Help/Preferences/Display#OSMData Display settings]. These buttons only appear if there is at least one object tagged with the respective tag within the mapview. See the following screencast on how to enable and use the filter buttons. Above the filter buttons the key which is currently used for the autofilter is displayed (not yet shown in the screencast). A click on that button leads to the preferences where you can change the key.
    9592
    96 [[Image(autofilter.gif)]]
     93[[Image(autofilter.gif,link=)]]
    9794
    9895
    9996----
    100 Back to [wikitr:/Help/ToggleDialogs Sidebar]\\
    101 Back to [wikitr:/Help/Menu/Windows Windows Menu]\\
     97Back to [wikitr:/Help/ToggleDialogs Sidebar] \\
     98Back to [wikitr:/Help/Menu/Windows Windows menu] \\
    10299Back to [wikitr:/Help Main Help]