Opened 3 months ago

Closed 6 weeks ago

Last modified 3 weeks ago

#18374 closed enhancement (fixed)

warn if collection_times is used instead of opening_hours on amenity=recycling

Reported by: Klumbumbus Owned by: Klumbumbus
Priority: normal Milestone: 20.01
Component: Core validator Version:
Keywords: Cc:

Description (last modified by Klumbumbus)

opening_hours - when you are allowed to enter trash to containers
collection_times - when the operator empties the container

see #18373

If collection_times is a time span the it is much likely the wrong key. Some regex should be used, e.g. collection_times=~/[0-9]-[0-9]/.

overpass wizard: amenity=recycling and collection_times=* global

Attachments (0)

Change History (7)

comment:1 Changed 3 months ago by Klumbumbus

Description: modified (diff)

comment:2 Changed 3 months ago by Klumbumbus

Description: modified (diff)

comment:3 Changed 2 months ago by Klumbumbus

Owner: changed from team to Klumbumbus
Status: newassigned

comment:4 Changed 7 weeks ago by Klumbumbus

Milestone: 19.1220.01

comment:5 Changed 6 weeks ago by Klumbumbus

Resolution: fixed
Status: assignedclosed

In 15648/josm:

comment:6 Changed 4 weeks ago by Klumbumbus

For some cases it is not clearly detectable without local knowledge if collection_times or opening_hours is meant, so the rules are written on the safer side to avoid false positives at the cost of a few undetected cases which usually have opening hours syntax errors anyway.

comment:7 Changed 3 weeks ago by Klumbumbus

In 15765/josm:

see #17555, see #18374 - enable asserts

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Klumbumbus.
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.