Road open only at certain times

I’m again lost in the labyrinth of conditional permissions.

I have a road that is open from 0700 to dusk every day. Current tags are

access=private
bicycle=permissive
foot=permissive
highway=service

How can I code the time restriction? Can I simply add this global tag?

access:conditional=no @ dusk to 0700

(And is dusk a tag that consumers are likely to consume without problems?)

1 Like

access:conditional=no @ (dusk-07:00) is perfectly valid and understood. It is unclear, though, if bicycle=* would override an access:conditional outcome of no. If riding your bike is also forbidden at that time, I would add another condition for that as well.

2 Likes

Thanks.

More precisely, the private use is always available. The night-time restrictions are for the public, who are only allowed access by foot or by bicycle (and by permission, not as of right).

So like this?

access=private
bicycle=permissive
bicycle:conditional=no @ (dusk-07:00)
foot=permissive
foot:conditional=no @ (dusk-07:00)
highway=service

If so, you want to use private for the conditional values, not no because that implies that even owners of this street are forbidden from using this street.

1 Like

Like this?

access=private
bicycle=permissive
bicycle:conditional=private @ (dusk-07:00)
foot=permissive
foot:conditional=private @ (dusk-07:00)
highway=service
6 Likes

But how about cars / vehicles?

It’s a highway=service rather than a footpath, which would suggest to me that motor vehicles can also use it?

It’s a private estate. For tax purposes they let the public use it, but only on foot or by bike, and only 7am-dusk.

Estate residents & employees can use the road 24/7, by foot, bike, motor vehicle, or horse.

Do those tags express that? I’ve understood that access=* is the default for all modes, unless further specified by (eg) foot=*. But I may be wrong.

I think the tags you have in the post marked solution are correct for that

1 Like

access:conditional overrides mode-specific blanket access rules, as it applies to all modes.

My understanding is that access tags are applied starting with the most general and moving to the most specific, thus access:conditional=* does not overide more specific access tags.

So to check I’ve understood, you’re saying

access=yes

is followed by an implicit “stop processing other rules”?

The opposite actually: If you have an access=yes followed by foot=no it means that everyone is able to access this highway except for pedestrians since foot takes a higher priority than access.

Yes, this is what I meant. @ManuelB701 you have said it much better than I did!