Modify

Opened 6 years ago

Closed 5 years ago

Last modified 5 years 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 by Don-vip, 6 years ago

Keywords: autofilter added

comment:2 by derickson.e@…, 6 years ago

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

comment:3 by simon04, 5 years ago

Description: modified (diff)

comment:4 by simon04, 5 years ago

Resolution: fixed
Status: newclosed

In 15764/josm:

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

comment:5 by simon04, 5 years ago

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. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.