Changes between Version 81 and Version 92 of Help/Dialog/Filter
- Timestamp:
- (multiple changes)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Help/Dialog/Filter
v81 v92 4 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 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] 7 7 8 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. … … 10 10 11 11 == Filtered objects == 12 * not selectable using [wikitr:/Help#Selection selection tools] (with few minor exceptions in #4929, see [ticket:4929#comment:14 comment 14]) 13 {{{#!comment 14 It seems to me that target #Selection isn't in page Help 15 }}} 12 * not selectable using [wikitr:/Help/Action/Select selection tools] (with few minor exceptions in #4929, see [ticket:4929#comment:14 comment 14]) 16 13 * not returned during [wikitr:/Help/Action/Search Search] action 17 14 * will disappear from several menus until filters are disabled ([wikitr:/Help/Dialog/SelectionList#SmalltriangleinSelectbutton example]) … … 31 28 * Disable/separate objects that were fully tagged (using tag count and custom filters) from incomplete objects 32 29 * Disable recently modified objects (and it is irrelevant: if it modified by you or another person) 33 * 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 principle30 * 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 34 31 35 32 === Overview === … … 39 36 40 37 === Columns ===#Columns 41 * '''E'''(''Enable''): Enable or disable this filter line.42 * '''H'''(''Hide elements'' from [wikitr:/Help/MapView main view]): normally, all matched objects are disabled, but you can completely hide them:38 * **E** (''Enable''): Enable or disable this filter line. 39 * **H** (''Hide elements'' from [wikitr:/Help/MapView main view]): normally, all matched objects are disabled, but you can completely hide them: 43 40 * disabled - visible and displayed as grey 44 41 * hidden - the chosen objects are completely hidden 45 * '''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:42 * **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: 46 43 * standard substring search (or exact search with "quotes") 47 * Regular expressions ([https://docs.oracle.com/ javase/8/docs/api/java/util/regex/Pattern.html Java Regex])44 * Regular expressions ([https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/regex/Pattern.html Java Regex]) 48 45 * MapCSS syntax 49 * '''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.50 * '''M'''(''Filter Mode'') - how a ''filter line'' is combined with ''filter lines'' above ''filter line'' in question:46 * **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. 47 * **M** (''Filter Mode'') - how a ''filter line'' is combined with ''filter lines'' above ''filter line'' in question: 51 48 * R (''replace selection'') - effectively disable all ''filter lines'' above 52 49 * A (''add to selection'') - most users want this, ''filter lines'' with this mode are independent of each other … … 86 83 || `child (type:way & highway:)` || All nodes that's part of a highway || 87 84 || `child (type:relation & (natural: | landuse:))` || All natural and landuse areas formed by relations || 88 || `-((highway | child highway | untagged | public_transport) & -(highway=footway | highway=path | highway=steps | highway=track))` || Only roads for public transport. Good for mapping bus networks. || 85 || `-((highway | child highway | untagged | public_transport) & -(highway=footway | highway=path | highway=steps | highway=track))` || Only roads that can be used by public transport. Good for mapping bus networks. || 86 || `public_transport | puj\:platform | ((public_transport | highway) & -(highway=footway | highway=steps | highway=track | highway=street_lamp | highway=path | highway=crossing | highway=turning_circle) & (nth%:1 & (role: | role:stop | role:platform | role:hail_and_ride)))` || Shows only currently being used ways/nodes/areas of public transport by checking the options "H" and "I". Good for reviewing the current network || 87 || `child (type:relation & (boundary:administrative)) & (-barrier & -highway)` || Select all ways that are part of an administrative boundary aka child, but not part of a highway or barrier by selecting Hide, Inverse and as mode choose Add to show only these || 88 || `(highway:) & ("^width$") & -(("^width$":"^(([0-9]|[1-5][0-9])\.[0-9][0-9])$") | ("^width$":"^(([0-9]|[1-5][0-9])\.[0-9])$") | ("^width$":"^([0-9]|[1-5][0-9])$"))` || regex example to filter all roads with a width but not formatted 0.00; 00.00; 0.0; 00.0; 0 or 00 (anything that's not really a proper value or exceeds 59m for width) || 89 89 90 90 See also other [wikitr:/Help/Action/Search#Examples examples]. If you have some clever filters, add them here. … … 92 92 93 93 == Auto filters ==#Autofilters 94 Auto 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/D isplay#OSMData Displaysettings]. 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:/Help/MapView map view] for special keys. This needs to be enabled in the [wikitr:/Help/Preferences/DrawingPreference OSM Data 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. 95 95 96 96 [[Image(autofilter.gif,link=)]]