Opened 10 years ago

Closed 5 years ago

#1564 closed defect (invalid)

[buildings] Mapnik: buildings in layer=1 aren't rendered as a bridge

Reported by: limonium Owned by: mapnik-team@…
Priority: major Milestone:
Component: mapnik Version:
Keywords: bridge building layer Cc: aleks@…

Description

There is a "building bridge" between two separate buildings of a hospital; the bridge is about 5 metres above the road "Am Hessenberg": http://openstreetmap.org/?lat=51.411496&lon=7.399434&zoom=18&layers=B000TFF

Although I have tagged this bridge as layer=1, it is rendered below the road.

When I add the tag "building=yes", it is rendered above the road in a correct way, but the cream colour of the hospital is replaced with the standard building brown.

The same problem seems to appear with the kindergarden a bit more north in the picture.

Change History (12)

comment:1 Changed 10 years ago by limonium

The buildings can only seen when using "Up-to-Date" so far.

comment:2 Changed 10 years ago by riddile_spencer@…

Here is another example of a building not being rendered properly by Mapnik with tags bridge: yes building: yes layer: 1 http://www.openstreetmap.org/?lat=37.229347&lon=-80.419266&zoom=18&layers=B000FTF (Torgersen bridge, Blacksburg,VA)

comment:3 in reply to:  2 Changed 10 years ago by dieterdreist

Replying to riddile_spencer@yahoo.com:

Here is another example of a building not being rendered properly by Mapnik with tags bridge: yes building: yes layer: 1 http://www.openstreetmap.org/?lat=37.229347&lon=-80.419266&zoom=18&layers=B000FTF (Torgersen bridge, Blacksburg,VA)

yes, that's still valid and people on the MLs tell "hacks" like tagging tunnels to overcome. Is there really no easy solution to this issue? Why is layering not working generally (layer1 always above layer 0)?

comment:4 Changed 9 years ago by Jean-Marc Liotier

Another example - a railway station above the tracks : http://osm.org/go/0BPCWjWzC--

area:yes building:yes bridge:yes layer:3

And it is not rendered above the default layer railway.

comment:5 in reply to:  4 Changed 9 years ago by Jean-Marc Liotier

Replying to jm@liotier.org:

Another example - a railway station above the tracks : http://osm.org/go/0BPCWjWzC--

area:yes building:yes bridge:yes layer:3

And it is not rendered above the default layer railway.

Now it is... Go figure.

Does that make this defect invalid ?

comment:6 Changed 9 years ago by steve8@…

Owner: changed from steve8@… to mapnik-team@…

comment:7 Changed 7 years ago by aleks@…

http://www.openstreetmap.org/browse/changeset/10773164 (two building-bridges in Ingolstadt/DE)

BUG still in Mapnik!

comment:8 Changed 7 years ago by aleks@…

Cc: aleks@… added

comment:9 Changed 7 years ago by skyper

Still exist, even with building=yes.

http://www.openstreetmap.org/?lat=47.9922723770142&lon=7.83761590719223&zoom=18

building=yes
layer=1
(bridge=yes)

comment:10 Changed 5 years ago by math1985

I think this should be solved by adding tunnel=building_passage to the section of the road.

In general, we don't want to completely hide roads that go under a building, as the section under a building might be quite long.

comment:11 Changed 5 years ago by math1985

Summary: Mapnik: buildings in layer=1 aren't rendered as a bridge[buildings] Mapnik: buildings in layer=1 aren't rendered as a bridge

comment:12 Changed 5 years ago by math1985

Resolution: invalid
Status: newclosed

This can be solved by adding tunnel=building_passage, so I will close this issue.

Note: See TracTickets for help on using tickets.