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

tunnel rendering broken by smart-linecaps #1008

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

tunnel rendering broken by smart-linecaps #1008

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: nomis
[Submitted to the original trac issue database at 8.54pm, Friday, 4th July 2008]

From reading the CSS tunnels are supposed to be rendered with a dashed line. However, since the smart-linecaps enable round linecaps for some of the segments and the dashes are less spaced than the linewidth, the round linecaps added to each of the dashes partially results in a continuous line with "bumps" (if you zoom into the svg a lot).

Disabling the smart linecaps seems to restore the intended behaviour.

Troms shows the problem: note how here are tunnels that are dashed as well as "dark gray" lines representing tunnels.

http://www.openstreetmap.org/?lat=69.66145&lon=18.95899&zoom=15&layers=0B0FTF

@openstreetmap-trac
Copy link
Author

Author: nomis
[Added to the original trac issue at 8.37pm, Sunday, 6th July 2008]

I was mistaken about the intended behaviour. In fact the dashed lines should not be shown except for a small "outline".

Smart rendering for tunnels still might create more problems than it fixes, but not that urgent anymore. Closing as fixed.

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