Opened 8 years ago

Closed 5 years ago

#3834 closed defect (fixed)

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

Reported by: rickmastfan67 Owned by: mapnik-team@…
Priority: major Milestone:
Component: mapnik Version:
Keywords: bridge secondary Cc:

Description

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.

Change History (3)

comment:1 Changed 6 years ago by skorasaurus

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.

comment:2 Changed 5 years ago by math1985

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

comment:3 Changed 5 years ago by math1985

Resolution: fixed
Status: newclosed

This issue has now been resolved.

Note: See TracTickets for help on using tickets.