#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 )
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 (8)
comment:1 by , 5 years ago
Description: | modified (diff) |
---|
comment:2 by , 5 years ago
Description: | modified (diff) |
---|
comment:3 by , 5 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:4 by , 5 years ago
Milestone: | 19.12 → 20.01 |
---|
comment:5 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:6 by , 5 years ago
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.
In 15648/josm: