You are not logged in.
I hope these newbie questions don't get wearing...
I've been scratching my head as to why the very significant Peterborough Guildhall doesn't show up in Mapnik as a building, only as a disembodied name:
photo | permalink to OSM object | iD wireframe on Mapnik render so you can see what I'm looking at.
I wondered if it's because it's 'covered over' by the pedestrian area here?
https://www.openstreetmap.org/way/590865088
If so, would there be a way of showing the pedestrian area differently? (As a relation, with the Guildhall polygon forming an inner boundary?)
There's a pic of Cathedral Square here if it's useful - edge of Guildhall is just visible on the left of the pic, which faces east.
I know I'll probably to be told 'don't tag for the renderer' - so a solution that doesn't tend that way that would be great!
Thanks all as always.
Last edited by eteb3 (2018-11-26 16:26:03)
Offline
This is old mapnik bug/feature.
Offline
It's actually a styling decision by the developers of that map style. You'll need to "cut a hole" in the pedestrian area for it to appear. In a sense that's correct - the pedestrian area doesn't "extend underneath" the guildhall I guess.
Other maps may make different styling decisions - https://map.atownsend.org.uk/maps/map/m … =-0.243432 is one example.
Offline
Well, this is the old problem with how OSM Carto treats buildings and pedestrian areas. It was done by design and there's no simple solution for that:
Offline
Thanks all.
You'll need to "cut a hole" in the pedestrian area for it to appear.
How would I go about that? Could I give the tag foot=no to the building? Or would dealing with Cathedral Sq as a relation work?
Offline
Yes, you'll need to make it a "multipolygon" relation. See https://wiki.openstreetmap.org/wiki/Mul … er_ring.29 for more details.
Offline
Thanks, that's very helpful - I did that, and then today there was one further edit from mboeringa.
From which I can infer, for anyone finding this thread:
Once you've merged the closed ways into a multipolygon, you will need to remove tags from the larger area (ie, the closed way that is now the outer boundary of the multipolygon).
Offline
Yes, as written here: https://wiki.openstreetmap.org/wiki/Rel … ygon#Usage
Offline
After some thinking: making holes is perfectly sane way. Squares are not necessary the same as pedestrian areas, they can contain buildings, green patches, fountains etc. You should tag square with a place=square (with no holes, of course) to indicate that both pedestrian area and building belong to the same square.
Offline
Thanks both.
kocio - just seen this. So would the relation be
>place=square + name=Cathedral Square
with members as
>>pedestrian area (outer)
>>>building as hole in area (inner)
>>>greens as hole in area (inner)
>>>etc (inner)
?
Offline
Thanks both.
kocio - just seen this. So would the relation be
>place=square + name=Cathedral Square
with members as
>>pedestrian area (outer)
>>>building as hole in area (inner)
>>>greens as hole in area (inner)
>>>etc (inner)?
I would do it the opposite way. The relation should be the pedestrian area, because that's the one that needs the holes cut out of it. Then, the outer way can be the place=square, which would cover everything inside that way (including the holes, because the way doesn't have anything cut out of it).
Offline
I agree with @alester.
Offline
Thanks both.
Offline