Skip to content

Commit

Permalink
don't ask for handrail if a handrail:* has been set except for re-sur…
Browse files Browse the repository at this point in the history
…vey (fixes #2162)
  • Loading branch information
westnordost committed Oct 13, 2020
1 parent fa8bcd6 commit e62d0d6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ class AddHandrail(overpassApi: OverpassMapDataAndGeometryApi, r: ResurveyInterva
and access !~ private|no
and (!conveying or conveying = no)
and (
!handrail
!handrail and !handrail:center and !handrail:left and !handrail:right
or handrail = no and handrail older today -${r * 4} years
or handrail older today -${r * 8} years
or older today -${r * 8} years
)
"""

Expand Down

0 comments on commit e62d0d6

Please sign in to comment.