OpenStreetMap logo OpenStreetMap

Pubs "closed due to Covid"

Posted by SomeoneElse on 15 August 2020 in English.

Unfortunately, in England at the moment a number of pubs aren’t able to reopen because (especially locally to me) they’re too small and have lots of small rooms or they’re music venues for which “social distancing” somewhat defeats the object of the event in the first place.

I’ve chosen to show these on this map like this:

Fulford Arms

This is deliberately different from the rendering of “normal” closed pubs:

Blacksmiths Arms

the idea being that hopefully the “closed due to covid” ones will be able to find a way of working sooner rather than later.

I’ve done this by looking at the “opening_hours:covid19” tag - that seems to be the most used for this both globally and locally. To be able to handle these as a new object, they’re split out in the lua code used by the style and then added to the mss file that actually does the rendering.

Location: Rosedale West Side, North Yorkshire, York and North Yorkshire, England, United Kingdom
Email icon Bluesky Icon Facebook Icon LinkedIn Icon Mastodon Icon Telegram Icon X Icon

Discussion

Comment from EdLoach on 17 August 2020 at 08:55

Looking at that lua code there are so many decisions I see you have to make for rendering. Even in this case where do you decide to draw the line on tag value usages (e.g. the 12 Temporarily closed and 10 Closed usages might also quality for this rendering), and that is only in the first few pages (I did briefly wonder what “closed; by appointment only” - 2 usages - means; is it closed or is it open by appointment only?).

Comment from SomeoneElse on 17 August 2020 at 16:54

where do you decide to draw the line on tag value usages (e.g. the 12 Temporarily closed and 10 Closed usages might also quality for this rendering),

It’s the usual “80/20 rule” - the first page of .uk values covers >1000 of the 1200 .uk usages, which is the vast majority of them. The 4 .uk “Closed” and 1 “CLOSED” are probably worth changing to “closed” (along with a polite comment on the previous changeset).

I haven’t yet looked at a .ie taginfo but I’d be surprised if I saw significant usage of a different spelling.

As to exactly what “closed; by appointment only” means I’ve no idea! Currently I ignore other values so they will default to appearing as “still open”, which is probably for the best. It’s also worth mentioning that I’d expect many of these values in OSM to be out of date already simply because many places are reopening if they can or closing because they have to. The example that I was going to pick for “definitely still closed because there’s no way they can reopen right now with that venue” was open (ish) on Saturday (warning - Facebook link) but alas it isn’t permanent.

Log in to leave a comment