Hi, The square is mapped with highway=pedestrian and area=yes. But the renderer does not show the building, and it keeps being drawn UNDER the highway. asked 28 Sep '16, 10:16 Romainbou |
In a related question somewhere around here (?) it was explained that the crucial thing is the "highway" tag here. ALL highways get forced priority over everything else, no matter any layers, no matter if it's just a pedestrian square. Even tunnels are painted ABOVE everything else, just in another style (dashed). Things get especially tricky if not even a multipolygon helps anymore, if buildings still do not show up! For example a church in a pedestrian area, cut out correctly by an MP. Have seen such a case, and the reason was: The pedestrian tag was not only in the relation, but ALSO still on the outer square way! Removing it from there finally unearthed the building. This is funny, because this prob with tagged outer ways is usually auto-corrected by Mapnik. Usually only less powerful apps, like Mapsforge (offline vector maps), start showing nonsense if outers are tagged, causing crazy forest floods etc. People just don't notice this dangerous prob because Mapnik does so much self-repairing and guessing and nearly always successful. Obviously highways areas are the only exception where even Mapnik still trips over that mix of old-style-new-style MP mapping. answered 04 Oct '16, 22:36 wycbtma |
The area where the tower is located is NOT part of the pedestrian area. You need to make the pedestrian area a relation with the building=tower as an inner. This models the actual situation more accurately than at present. In the past the way in which buildings and pedestrian areas were rendered did show buildings mapped in the way described. I dont think the layer tag is necessarily that significant; CartoCSS uses area size as well when determining whether to render which areas on top of others. Changes were made to the layering some time ago (at least as far back as 2014 because I remember being puzzled about the same thing at the time of Wikimania in London). See the relevant issue on github. answered 28 Sep '16, 13:45 SK53 ♦ |
Romainbou, there is no mistake the pedestrian tag covers everything else at the same spot. The tower has a tag layer=1 why ? Because it is a tower and you could walk through ? If so, tag the short stretch of the way beneath or inside the tower with tunnel=building_passage and make a connection to some of the roads around the pedestrian area. And delete the layer=1 tag. The method thats used to draw the highway=pedestrian is confusing, it covers the living streets, it should not be drawn over ways besides it, but next to the excisting infrastructure. answered 28 Sep '16, 10:47 Hendrikklaas thanks for your answer Hendrik,
(28 Sep '16, 11:16)
Romainbou
1
Go for the multipolygone, you should not tag +1 to get the building visible, it looks like tagging for the renderer :-( By using the multi polygone method, the tower is getting a special treatment, since there only a few buildings mapped by that method inside a area.
(28 Sep '16, 12:38)
Hendrikklaas
1
Thanks. It's weird because in my opinion, I think this way of making the multipolygon IS the "tagging for the renderer" way! :) I am currently reading the main topic about the issue discussed on github : https://github.com/gravitystorm/openstreetmap-carto/issues/688 and it looks like it's not solved and they don't find a way to treat it.
(28 Sep '16, 13:02)
Romainbou
Couldn't resist... after studying again through that bugdiscussion 688 on github, and fighting with myself some hours, finally tested a tiny tag change on the square under Eiffel Tower. Wouldn't argue if one of the experts prefers to change it back again, but what makes me really wonder is that strange pedestrian relation: one big rectangle and then the whole middle part cut out as "inner", thus faking 2 outers?? Shouldn't that rather be just 3 independant parts, no relation necessary at all? And found two other interesting pedestrian areas:
(06 Oct '16, 02:37)
wycbtma
|
I am also confused by this fact that pedestrian area always drawn over everything else. I created a building that is over a pedestrian area. It is called "Piloti". The building over the pedestrian area doesn't show on OSM-standard-layer. The building shows on OSM-cyclemap-layer. http://tools.geofabrik.de/mc/#18/36.5636/139.8827&num=2&mt0=mapnik&mt1=cyclemap answered 04 Mar '22, 16:28 yasobara I think your example is only showing on the Cyclemap layer as it isn't rendering the invalid multipolygon relation https://www.openstreetmap.org/relation/13039524 with inner https://www.openstreetmap.org/way/691943195 touching outer https://www.openstreetmap.org/way/969085164 as one possible issue.
(04 Mar '22, 19:33)
EdLoach ♦
|
I fixed the invalid multipolygon relation you pointed out, but the renderings are still the same. http://tools.geofabrik.de/mc/#18/36.5636/139.8827&num=2&mt0=mapnik&mt1=cyclemap I think the issue is a pedestrian area being a highway and a priority over a building. I looked at the issue discussed on github : https://github.com/gravitystorm/openstreetmap-carto/issues/688 and it looks like it's not solved since it's been first reported in 2014. I think it could be resolved if pedestrian area is defined as landuse rather than highway. answered 05 Mar '22, 16:56 yasobara |