Rendering problem on track lines

While looking around I’ve noticed that the tram lines in Venice seem to weirdly interrupt/ or stops showing up in rendering on certain points.

I’m quite sure it’s a rendering issues but if someone could five it a check I’d be really grateful, if you also think it’s a rendering issue can you give me a link to open an issue about this?

1 Like

What’s happening is that everything is really close together, and the map style that you’re looking at (“OSM Carto”)is limited to a relatively low maximum zoom of 19. If you switch to the “Shortbread” style on osm.org via the layer switcher, you can zoom in further and see things clearer. Actually, the style is called “Versatiles Colorful” and the schema of the vector tiles is “Shortbread”.

There are other map styles available on osm.org and confusingly at least one of them (“MapTiler OMT”) has a different issue in this area.

In short, I don’t think that you can usefully log a bug with OSM Carto, since it’s doing the best job that it can with the limited zoom levels it has access to. The issue with “MapTiler OMT” is actually a different one to your issue (it looks like it’s just omitting tram bridges), but I’m not sure where that project is developed (however I’m sure that someone will know).

It’s a complicated area and a good test for OSM renderers - I’ve just spotted an issue with one of my styles there (the tram bridge shows but the road bridge should also have separate black “bridge walls” and no longer use the drawn casing)

I believe there are two issues here:

  • One is that some highways are tagged with layer=1 (but not bridge=yes), when the tram track at the same spot does not have the layer tag. The highway is drawn on top of the tram track because its layer is of a higher level. In this case, the layer tag on the highway should be removed.
  • The other one is indeed a bug. The rendering of the bridge part of the highway doesn’t blend correctly with the tram railway. The casing around the highway ends just gets drawn on top. See as an example OpenStreetMap (at this and lower zoom levels), OpenStreetMap, OpenStreetMap, and more. There is a small gap on the drawing at the bridge ends.
1 Like

The rendering appears to be correct. According to the data the tram line is on the ground and on a different layer above it is the trunk road.


Regardless of zoom it would be the same. It’s a road on top of a tram line and they’re close enough they will still be on top of each other as you zoom.

In reality, the tram (technically it’s a Translohr) tracks are on the road, not below it. As I said, part of it is that the data is wrong in some points, but also part of it is a rendering issue.

I’ve now removed the wrongly mapped level and layer tags, so the rendering issue can be visible.

Although the rendering issue can already be seen further up the line, where it was already correctly mapped.

2 Likes

Yes, this is one of the problems!

Sorry but I was AFK for a while, so the only problem now seems to be the fact that the lines don’t connect correctly when going from a way to another, is there any place where I can report this issue?

I would like to know where I could report this just in case I’ll need to report anything else or help any other user that finds another issue like this.

I’ll mark this message as the solution since it could help another user

The issue seems to have been reported already here:

It is however, closed with the tag wontfix-unfeasible