OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

#1 2019-01-02 16:25:10

eteb3
Member
Registered: 2014-04-19
Posts: 65

amenity=pub not rendering as a building on Mapnik

Hi all

I'm still a relative newbie, and often have "don't tag for the renderer" ringing in my ears after (always helpful) advice from others.

In Higham Ferrers, UK, there are a lot of examples of amenity=pub that don't render as buildings on Mapnik. (Eg, https://www.openstreetmap.org/way/454515953 and https://www.openstreetmap.org/way/454515950.)

There's a similar issue with amenity=doctors (https://www.openstreetmap.org/way/454515942).

Should I chill out about Mapnik not showing these as buildings, because other renderers might? (Sometimes there's an unhappy hole in a terrace of buildings just where a particularly significant building sits.) Or should I go and add building=* tags to help them show up?

Thanks,

Edward

Offline

#2 2019-01-02 16:27:41

kocio
Administrator
From: Warszawa
Registered: 2013-09-04
Posts: 3,177
Website

Re: amenity=pub not rendering as a building on Mapnik

That's because they are not tagged as building. Amenity may or may not be building (it might be for example room or the whole area incorporating buildings), so these things are separate.

By the way: "Mapnik" is a name of a rendering engine we (and many other styles) use, the name of default style on OSM.org is OpenStreetMap Carto (or shorter - OSM Carto).

Offline

#3 2019-01-02 16:32:04

SomeoneElse
Member
Registered: 2010-10-13
Posts: 991

Re: amenity=pub not rendering as a building on Mapnik

As an example, here's a nearby amenity=pub where the amenity area includes the fenced-off garden at the back as well as the building: https://www.openstreetmap.org/way/435215642 .

Offline

#4 2019-01-02 21:13:18

eteb3
Member
Registered: 2014-04-19
Posts: 65

Re: amenity=pub not rendering as a building on Mapnik

Thanks both.

So should I add a building tag where it's actually a building?

And if so is there a way of bulk-editing all the sites in Higham where this applies, or is it a question of changing each one individually?

Offline

#5 2019-01-03 08:37:51

kocio
Administrator
From: Warszawa
Registered: 2013-09-04
Posts: 3,177
Website

Re: amenity=pub not rendering as a building on Mapnik

Yes, please add it. It's typical problem that people add place of worship tag without building for example, while this can be also area other than building (it's not implied).

Just remember to add it only where you're sure it's a building, however it's mostly easily visible from the aerial imagery. I don't know what do you mean by bulk editing.

Offline

#6 2019-01-03 13:45:48

SomeoneElse
Member
Registered: 2010-10-13
Posts: 991

Re: amenity=pub not rendering as a building on Mapnik

eteb3 wrote:

And if so is there a way of bulk-editing all the sites in Higham where this applies, or is it a question of changing each one individually?

There are a few ways of doing it.  As has already been mentioned each one needs to be checked individually so there needs to be a manual review of each one in turn.

One way is to start with taginfo and overpass.  I'd normally just start with searching for the tag https://taginfo.openstreetmap.org/tags/amenity=pub and then click the "overpass turbo" link.  Then search in the map for Higham Ferrers and comment out the "node" part of the query since that does not apply, and then "run".  The resultant query is https://overpass-turbo.eu/s/EW4 .  For each one, right-click the way and open in a new browser tab, and then edit in the browser.  On the first one, https://www.openstreetmap.org/way/455420185 , you can see (once you've aligned the imagery) that it pretty much matches a building, so it makes sense to add a "building=yes" tag.

Another option is to use the JOSM editor - in there you can do Overpass queries directly, and there's also a "ToDo" plugin that allows you to work through a list of things to change.

On the wider scale (not really appropriate just to pubs in Higham Ferrers) there's MapRoulette https://wiki.openstreetmap.org/wiki/MapRoulette , which is designed to automate these sorts of "review a particular issue" tasks.

Offline

#7 2019-01-03 15:05:21

eteb3
Member
Registered: 2014-04-19
Posts: 65

Re: amenity=pub not rendering as a building on Mapnik

Yup, acknowledged that each one needs an individual check.

One way is to start with taginfo and overpass.

That sounds very useful - I'll wade into it when I have some time.

@SomeoneElse Next time you're heading to the Ostrich (assuming you've been in person...) let me know! smile Five mins from me...

Last edited by eteb3 (2019-01-03 15:05:38)

Offline

Board footer

Powered by FluxBB