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

[roads] bad mapnik layering for highway=pedestrian + area=yes #1971

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

Comments

@openstreetmap-trac
Copy link

Reporter: tux[at]centrum.cz
[Submitted to the original trac issue database at 10.21am, Thursday, 18th June 2009]

Ways tagged with highway=pedestrian + area=yes (i.e. a square) are rendered "on top" of everything else, even if these things are layered on top of the square with layer=1.

Look at this example:

Mapnik: http://www.openstreetmap.org/?lat=50.08783&lon=14.40437&zoom=18&layers=B000FTF

Osmarender: http://www.openstreetmap.org/?lat=50.08783&lon=14.40437&zoom=17&layers=0B00FTF

Error is with square "Malostransk nmst", there are few buildings in center of the square and some parking places. Osmarender got it right. Mapnik got it wrong.

@openstreetmap-trac
Copy link
Author

Author: Cobra
[Added to the original trac issue at 8.53am, Monday, 22nd June 2009]

This happens also with other ways tagged highway=* and buildings. Even ways with layer=-1 (and tunnel=yes) are rendered above buildings with layer=1...
Only one thing works again: building=yes|amenity=place_of_worship which is now rendered again on top of highway=pedestrian|area=yes.

I understand that those ways should be visible even when there is a building "over" them so you can still see there are some ways but in my opinion the current style results in an awkward look at quite a few places.
Would it be possible to add some (pseudo-)transparency here (e.g. render the building with ~50% transparency above the way/area) so you can see that there is a building above the way but the way is still visible?

@openstreetmap-trac
Copy link
Author

Author: Cobra
[Added to the original trac issue at 7.40pm, Sunday, 28th June 2009]

"Only one thing works again: building=yes|amenity=place_of_worship which is now rendered again on top of highway=pedestrian|area=yes." when I wrote this, I didn't notice someone had made a multipolygon there, so forget about that.

@openstreetmap-trac
Copy link
Author

Author: MarsmanRom
[Added to the original trac issue at 7.51am, Tuesday, 16th February 2010]

ja, the problem really sucks. tried to get around it with 'multipolygon outer / inner', but for some reason even this doesnt work. layers are completely ignored. 2 buildings and a construction site are not being shown, just the square 'on top' of it:
http://www.openstreetmap.org/?lat=52.431441&lon=13.532622&zoom=18

@openstreetmap-trac
Copy link
Author

Author: wicking
[Added to the original trac issue at 9.55pm, Thursday, 25th March 2010]

this is a duplicate of #1873. Am I right? Or is the other one a duplicate of this one (here is more information)? ;-)

@openstreetmap-trac
Copy link
Author

Author: BiIbo
[Added to the original trac issue at 8.36pm, Sunday, 28th March 2010]

I think both of these tickets are the same issue, so perhaps close one of these two as duplicate of the other.

@openstreetmap-trac
Copy link
Author

Author: emilien+osm[at]klein.st
[Added to the original trac issue at 3.20pm, Friday, 21st May 2010]

Encountered the same bug with a building hidden behind an area. Reported it in the forums [1], and using a multipolygon got the rendering right. More info in the forums.

[1] http://forum.openstreetmap.org/viewtopic.php?id=7590

@openstreetmap-trac
Copy link
Author

Author: math1985
[Added to the original trac issue at 10.19pm, Sunday, 4th May 2014]

This is a tagging error, as the buildings in the middle are not part of the square. See http://forum.openstreetmap.org/viewtopic.php?id=7590 for more information. I will therefore close this issue as invalid.

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