Closed pnorman closed 8 years ago
Interesting. I was just thinking about this kind of issue some day ago, I think I can add a third ordering, to draw smaller roads before bigger (when in the same layer of course). It could if this also.
This shouldn't depend on road classification, even if the bottom road was primary it still shouldn't look like they connect since one is layer=0
and the other is layer=2
.
This shouldn't depend on road classification, even if the bottom road was primary it still shouldn't look like they connect
You're right.
Certainly linked to the way I handle casing, i.e. with a separate attachment, drown before roads ways.
Example of two motorways
This isn't really specific to the bridge tag in a way, the casings of higher z-order roads should probably always be drawn on top of lower z-order roads, regardless of bridge/tunnel tags.
See also gravitystorm/openstreetmap-carto#188
A 'z-index' may really really help for this kind of situations.
I think that the fix is to draw casing and road from a same layer together, and then draw the layer above, etc. So, without z-index, I will need to rejoin casing and roads in the same selector, which is not trivial at this point.
Should be fixed with latest deploy, can you confirm?
The bridge casing on the primary is interrupted by the tertiary road below, making it look like they connect.