Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

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

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 9 comments
Closed

Comments

@openstreetmap-trac
Copy link

Reporter: limonium
[Submitted to the original trac issue database at 4.11pm, Saturday, 7th February 2009]

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.

@openstreetmap-trac
Copy link
Author

Author: limonium
[Added to the original trac issue at 11.06pm, Saturday, 7th February 2009]

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

@openstreetmap-trac
Copy link
Author

Author: riddile_spencer[at]yahoo.com
[Added to the original trac issue at 12.49pm, Wednesday, 3rd June 2009]

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)

@openstreetmap-trac
Copy link
Author

Author: dieterdreist
[Added to the original trac issue at 2.27pm, Sunday, 4th October 2009]

Replying to [comment:2 riddile_spencer[at]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)?

@openstreetmap-trac
Copy link
Author

Author: jm[at]liotier.org
[Added to the original trac issue at 10.58am, Friday, 27th November 2009]

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.

@openstreetmap-trac
Copy link
Author

Author: jm[at]liotier.org
[Added to the original trac issue at 11.15am, Saturday, 28th November 2009]

Replying to [comment:4 jm[at]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 ?

@openstreetmap-trac
Copy link
Author

Author: aleks[at]physik.tu-berlin.de
[Added to the original trac issue at 9.59pm, Thursday, 23rd February 2012]

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

BUG still in Mapnik!

@openstreetmap-trac
Copy link
Author

Author: skyper
[Added to the original trac issue at 12.08pm, Tuesday, 22nd May 2012]

Still exist, even with building=yes.

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

building=yes
layer=1
(bridge=yes)

@openstreetmap-trac
Copy link
Author

Author: math1985
[Added to the original trac issue at 2.21am, Saturday, 29th March 2014]

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.

@openstreetmap-trac
Copy link
Author

Author: math1985
[Added to the original trac issue at 6.30pm, Tuesday, 10th June 2014]

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant