Skip to content

Small relation members do not display in transport lines at lower zoom levels in vtiles #973

Closed

Description

@Rub21

User report in Discord https://discord.com/channels/413070382636072960/634106496560398349/1341119363637579786

Currently, the vector tiles related to transport lines feature data derived from both relations and ways #934. To display these vector tiles at different zoom levels, a simplification process is applied to the ways and members in a relation. This simplification is adjusted according to the zoom levels (transport_multilines.json).

  • If a way or relation member is long enough, the object will be shown at lower zoom levels.
  • In some cases, if a road is too short, the simplification process may result in a null output at lower zoom levels.
  • If a way or relation member is short, it will only appear at higher zoom levels.

This filtering helps optimize rendering performance at each zoom level. Without this optimization, if all roads were displayed at lower zoom levels, the tile size could become significantly larger.

I noticed in the edition that the relations contain many small fragmented members. https://www.openhistoricalmap.org/relation/2849080

Image Image

Meanwhile, for other relation members , those that are long enough are displaying . but Seems we need to adjust the approach for handling transport lines for relations in the vector tiles.

cc. @1ec5 @danrademacher

Activity

  1. added theissue type on Mar 16, 2025
  2. added
    tiler-server
    tiler-imposm
    on Apr 30, 2025
  3. Rub21 commented on Dec 19, 2025

    @Rub21
    MemberAuthor

    Fixed, Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    tiler-imposmtiler-servervtiles

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions