Modify

Opened 19 months ago

Closed 9 months ago

Last modified 9 months ago

#17496 closed enhancement (fixed)

AutoFilter: infer sensible default values for layer

Reported by: derickson.e@… Owned by: team
Priority: normal Milestone: 20.01
Component: Core Version:
Keywords: autofilter Cc:

Description (last modified by simon04)

I believe autofilters would be more useful if some tags were inferred when not actually present. For objects missing a layer=* tag, I propose the following scheme:

  • bridge=*, power=line, location=overhead: assume layer=1 if not specified
  • tunnel=yes, tunnel=culvert, location=underground: assume layer=-1
  • tunnel=building_passage: assume layer=0
  • Other highway=*, waterway=*, railway=*: assume layer=0

A user who had autofilters enabled for the layer tag could then use autofilters as if those tags were present. For example, it is not recommended to tag layer=0, but such a filter would be useful when working on a complex motorway interchange, filtering out all objects not assumed to be at surface level. The autofilter buttons would still only appear when an object with a layer=* tag is in the viewport, as is currently, but whenever an autofilter button appears, there would also be a "0" button between the "1" and "-1" buttons.

Attachments (0)

Change History (5)

comment:1 Changed 19 months ago by Don-vip

Keywords: autofilter added

comment:2 Changed 19 months ago by derickson.e@…

I meant to type power=line rather than power=1 in the original ticket.

comment:3 Changed 9 months ago by simon04

Description: modified (diff)

comment:4 Changed 9 months ago by simon04

Resolution: fixed
Status: newclosed

In 15764/josm:

fix #17496 - AutoFilter: infer sensible default values for layer

comment:5 Changed 9 months ago by simon04

Milestone: 20.01
Summary: Inferred values for autofiltersAutoFilter: infer sensible default values for layer

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.