Nadjita
(Nadjita)
2
It’s actually two problems that need solving:
- How to tag the times when a traffic light is operational
- How to tag which rules apply if the traffic light is out of service
Personally, I think service_times=* would fit for tagging when it’s operational, but I’ve rarely seen it tagged on anything but churches.
I think the downside to your suggested approach is that separately mapped traffic lights use traffic_signals:direction=*, whereas yield signs use the generic direction=*, which means that you’d end with some odd tags like
direction=forward
highway=traffic_signals
highway:conditional=give_way @ 21:00-06:00
traffic_signals:direction=forward
If the traffic lights aren’t mapped separately, I think a simple service_times=06:00-21:00 should be enough. It would be nice to formalize a proper approach, because the whole traffic signal mapping is kind of a mess the way it is right now, and adding things on top of it won’t make it more readable.
Whether highway:conditional=* is a good idea, is a different concern. I tend to think that it’s strictly speaking not okay to put :conditional=* on something that is not a restriction, because the traffic lights don’t turn into traffic signs, it’s just that they are turned off. What I’m trying to say is: we need a way to tag the signs that apply when the traffic lights are turned off and :conditional seems the wrong choice to me.
Maybe we can agree on some simple solution like traffic_signals:off=give_way / priority / stop instead of using conditional restrictions. So my currently favorite tagging would be
highway=traffic_signals
traffic_signals:direction=forward
traffic_signals:off=give_way
service_times=06:00-21:00
This would have the benefit of not having to use a separate direction=*, because the direction of the traffic lights would also apply to the :off=*. Well … this is non-standard, but it’s a proposal that could be added iteratively and also mapped regardless of knowing the service times of the traffic lights. I always wondered why there wasn’t already a proposal how to tag the fallback-signs on traffic lights.
Just my 2¢