osmose-backend icon indicating copy to clipboard operation
osmose-backend copied to clipboard

Tag conflict amenity=pub landuse=retail

Open FloatingBoater opened this issue 1 year ago • 4 comments

Hi, I'm an OSM contributor of over 15 years in the UK, and have been using OSMOSE to reduce the number of issues listed against me: https://osmose.openstreetmap.fr/en/byuser/James%20Derrick?level=1

One persistent class of false positive is amenity=pub landuse=retail https://github.com/osm-fr/osmose-backend/blob/master/plugins/TagRemove_Incompatibles.py#L30

source 14523
item 4030
class 900
lat lon 52.6786287 -2.1722902

There are many tens of this issue flagged as in the UK, alcohol licensing is based on the "sale of alcohol by retail" so the outer area of a public house is usually tagged amenity=pub landuse=retail. As OSM is geospacially aware, tagging the outer area brings together features such as car parking and gardens.

There are several other similar false positives (especially around the UK canal / waterway network), but I'd like to start with the most common. Contributors with many years of edits also might benefit from more than x100 issues being available (e.g. my L1 list is x100 what I judge to be false positives, and any more complex issues are hidden).

Thanks for a useful tool which has found mapping issues many years old (both obvious and subtle) so Happy Mapping!

James

FloatingBoater avatar Oct 12 '23 11:10 FloatingBoater

Thank you for your report! I think the report of Osmose is generally following the wiki though.

The amenity refers to the actual pub. On the other hand, the landuse also encompasses all corresponding landuse (for example the parkings). The wiki also mentions:

Note: this tag should not be used for individual shops mapped as areas

If I for example take this one as an example, based on the Bing and ESRI satellite photos, I see that the parking area is also tagged amenity=pub. While it certainly is part of the landuse (assuming its not for the houses next to it), I presume the chances of getting served a drink there are very small.

Contributors with many years of edits also might benefit from more than x100 issues being available

You can add &limit=10000 to the URL to see 10000 issues, but I agree a user interface option would be nice here. https://osmose.openstreetmap.fr/en/byuser/James%20Derrick?level=1&limit=10000

Famlam avatar Oct 12 '23 18:10 Famlam

Hi,

IMHO, separating the area landuse=retail to a node or way building=pub amenity=pub devalues the geospacial data, so I'd suggest at best use of both should be a lower level suggestion and not a Level 1 issue which might discourage what I'd consider a valid and useful use-case.

To elicit wider opinions than my own, I'll post on talk-GB.

OSM has become geospacially aware so there are real advantages to mapping the whole area of a single atomic feature (I agree with the wiki text - not a row of separate shops particularly as often mixed use with residential above) as one area encompassing all components.

I presume the chances of getting served a drink there are very small.

Yes, a pint might well be (infinitely...) quicker at the bar, but which one? :-)

There are plenty of examples where a UK pub has more than one building on the site with more than one serving area (more post-C19 with new permanent outbuildings). A node amenity=pub can't be within them all, and there's >1 way building=pub. Creating a site relation seems to be a poor option for this and I bet many data consumers don't parse the additional structures.

IMHO, there is a wider class of [4030] incompatible tags flagging as Level 1, with amenity=* / landuse=* / waterway=* but that's for other issue reports!

You can add &limit=10000

Ah - useful! That extra level=1&limit=200 parameter should keep me going for a while... :-)

Thanks again for a useful suite of tools and Happy Mapping!

James

FloatingBoater avatar Oct 13 '23 13:10 FloatingBoater

To elicit wider opinions than my own, I'll post on talk-GB.

Can you link thread (if you posted about it already or once you will post it?)

matkoniecz avatar Dec 05 '23 17:12 matkoniecz

@matkoniecz Ref https://lists.openstreetmap.org/pipermail/talk-gb/2023-October/030761.html

danieldegroot2 avatar Mar 27 '24 22:03 danieldegroot2