Help mapping a bus gate with opening hours that *extend* rather than *override* the regular rule.
Posted by xyzl on 9 February 2022 in English.Hi everyone. I’m trying to map a sign that says that there are no motor vehicles allowed.
The sign says motor vehicles are not allowed between 8pm-midnight on Fridays, Saturdays, and the day before a bank or public holiday.
Additionally, they are not allowed between midnight and 5.30am on Saturdays, Sundays and bank and public holidays.
I want to map this using the motor_vehicle:conditional to show that they are not allowed in these times.
In practice this means they’re not allowed:
Friday: 20:00-24:00. Saturday: 00:00-05:30; 20:00-24:00. Sunday: 00:00-05:30. Day before public holiday: 20:00-24:00. Public holiday: 00:00-05:30.
The difficulty arises where a public holiday or day before a public holiday also falls on one of the other days.
E.g. on Good Friday, the road would still be closed between 20:00-24:00 as normal, but should also follow the public holiday times of 00:00-05:30 in addition to rather than instead of the regular Friday times.
This is what I tried: PH -1 day 20:00-24:00; Sa 00:00-05:30,20:00-24:00; Su,PH 00:00-05:30; Fr 20:00-24:00
But https://openingh.openstreetmap.de/evaluation_tool/ shows that the rules furthest to the right override the previous rules. So putting Friday at the end means any public holiday that falls on a Friday gets the regular Friday times. Putting the PH times at the end gives the reverse issue.
Anyone got a solution?