Changes between Version 76 and Version 77 of Help/Dialog/Filter
- Timestamp:
- 2020-03-23T12:25:07+01:00 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Dialog/Filter
v76 v77 2 2 [[PageOutline(2-9,Table of Contents)]] 3 3 4 = Filter window=4 = Filter panel = 5 5 6 [[JOSMImage(dialogs/filter,middle,48,link=,margin-right=20)]] ''Keyboard shortcut:'' ''' {{{Alt+Shift+F}}}''' — one of the [wikitr:/Help/ToggleDialogs#Toactivateawindow JOSM windows]6 [[JOSMImage(dialogs/filter,middle,48,link=,margin-right=20)]] ''Keyboard shortcut:'' ''' {{{Alt+Shift+F}}}''' — one of the [wikitr:/Help/ToggleDialogs#Toactivateawindow JOSM panels] 7 7 8 The filter window allows the user to temporarily disable and optionally hide certain types of [wikitr:/Help/Concepts/Object objects] based on one (or multiple) filters. 8 The 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. 9 9 10 10 11 == Filtered objects == … … 13 14 * will disappear from several menus until filters are disabled ([wikitr:/Help/Dialog/SelectionList#SmalltriangleinSelectbutton example]) 14 15 16 15 17 == Use cases == 16 18 Simple usage is to enter single tag (or more complex expression similar to search) in "Text" column: objects complying with that text will be disabled. 17 19 18 20 More complex scenarios include filters as quick way to develop and test custom [wikitr:/Rules tagchecker rules]. 21 19 22 20 23 === Usability === … … 23 26 * Avoid unnecessary or accidental edits. 24 27 28 25 29 === Productivity === 26 30 * Disable/separate objects that were fully tagged (using tag count and custom filters) from incomplete objects … … 28 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 29 33 34 30 35 === Overview === 31 32 36 The filter lines are evaluated from top down, with respect to values in [#Columns Columns]. 33 37 34 38 [[Image(filterdialog.png,link=)]] 35 39 40 36 41 === Columns ===#Columns 37 38 42 * '''E''' (''Enable''): Enable or disable this filter line. 39 43 * '''H''' (''Hide elements'' from [wikitr:/Help/MapView main view]): normally, all matched objects are disabled, but you can completely hide them: 40 44 * disabled - visible and displayed as grey 41 45 * hidden - the chosen objects are completely hidden 42 * '''Text''': The search term or property that defines the objects that are filtered. Every search query from [ Help/Action/Search Search] action is supported:46 * '''Text''': The search term or property that defines the objects that are filtered. Every search query from [wikitr:/Help/Action/Search Search] action is supported: 43 47 * standard substring search (or exact search with "quotes") 44 * Regular expressions ([http ://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html Java Regex])48 * Regular expressions ([https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html Java Regex]) 45 49 * MapCSS syntax 46 50 * '''I''' (''Inverse Filter''): Normally, the specified objects are hidden and the rest is shown. If this option is activated, only the specified objects are shown and the rest is hidden. … … 53 57 The list can by ordered by clicking on the table headers. 54 58 59 55 60 === Control buttons === 56 57 61 TODO explain 7 buttons. 58 62 63 59 64 === Examples ===#Examples 60 61 65 ||Filter text ||Description or note|| 62 66 ||{{{ ((landuse:|natural:|leisure:|building:) | (role:outer|role:inner))}}} ||Doesn't handle relations perfectly|| … … 78 82 See also other [wikitr:/Help/Action/Search#Examples examples]. If you have some clever filters, add them here. 79 83 84 80 85 == Filter warning == 81 82 86 If any filter is active, a transparent message box will appear in the top right corner of [wikitr:/Help/MapView main view]. 83 87 … … 86 90 [[Image(filters warning.png,link=)]] 87 91 92 88 93 == Auto filters ==#Autofilters 89 90 Auto filters automatically adds filter buttons in the top left corner of the [wiki:MapView map view] for special keys. This needs to be enabled in the [wiki: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. 94 Auto filters automatically adds filter buttons in the top left corner of the [wikitr:/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. 91 95 92 96 [[Image(autofilter.gif)]] 93 97 98 94 99 ---- 95 100 Back to [wikitr:/Help/ToggleDialogs Sidebar]\\ 96 Back to [wikitr:/Help/Menu/Windows Windows Menu] ]\\101 Back to [wikitr:/Help/Menu/Windows Windows Menu]\\ 97 102 Back to [wikitr:/Help Main Help]