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

[roads] Secondary bridges rendered way larger than primary bridges in mapnik on z15-13 #3834

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

Comments

@openstreetmap-trac
Copy link

Reporter: rickmastfan67
[Submitted to the original trac issue database at 9.35pm, Friday, 17th June 2011]

http://www.openstreetmap.org/?lat=36.107&lon=-115.1832&zoom=14&layers=M

Just noticed that secondary bridges are being rendered on z15-z13 a lot bigger than primary bridges that are nearby, which shouldn't be the case.

So, I went into the osm.xml file to see if I could spot where the problem was and I 'think' I found it.

The problem (I think) lies in the "<Style name="bridges_fill">" section. Now, I don't fully know all that much on how the style sheet works, so, I will not go suggesting exactly what to fix because for all I know, what I suggest could make it worse.

But this secondary bridge is rendered bigger than the twinned SR 592 right above it which should be wider since there are two ways there that are combined when rendered at z15-z13. So, any rendering fix would be appreciated for this.

@openstreetmap-trac
Copy link
Author

Author: skorasaurus
[Added to the original trac issue at 4.59pm, Thursday, 15th August 2013]

Still present in the current master, according to line 1525 - https://github.com/gravitystorm/openstreetmap-carto/blob/master/roads.mss#L1525

This should be an easy fix and if I have time, I'll do it tonight.

@openstreetmap-trac
Copy link
Author

Author: math1985
[Added to the original trac issue at 5.25pm, Tuesday, 29th April 2014]

This issue has now been resolved.

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