Skip to content

Vector tiles should omit name from boundary lines #798

Closed

Description

@1ec5

As of #701, the vector tiles include a point feature for each boundary relation, corresponding to either the boundary’s centroid or label. We expect stylesheets to label boundaries based on these point features rather than the boundary linestring features themselves. The tiler should now omit the name property, because it’s no longer needed for rendering purposes.

Activity

  1. jeffreyameyer commented on Jun 3, 2024

    @jeffreyameyer
    Member

    I can see the issues #800 will create with name assignation to boundary segments, but won't this preclude naming along boundaries, like this?

    Monosnap OpenStreetMap 2024-06-03 11-57-26
  2. 1ec5 commented on Jun 3, 2024

    @1ec5
    MemberAuthor

    #800 will remove the ability to label boundary edges as depicted in that screenshot. It was straightforward when we represented each boundary as a polygon, because the renderer can easily tell which side of the polygon ring is inside or outside. It remains somewhat possible, with caveats, because each linestring is still a complete ring, with the winding order most likely matching the polygon ring it replaced. But once we dissolve the linestrings so that they no longer form rings, a linestring’s direction will no longer correspond at all to the “correct” direction of an outer or inner ring.

    Simultaneously, #800 will unblock a more robust implementation of boundary edge labels. I hope that we’ll be able to reason about whether the left or right side of a boundary way corresponds to the inside or outside of any of the boundary relations that it runs along. If so, we’d copy the names into properties like name:left, name:right, name:left:en, etc.

  3. jeffreyameyer commented on Jun 4, 2024

    @jeffreyameyer
    Member

    👍 Sounds like a plan - just wanted to make sure that had been considered & it was!

  4. Rub21 commented on Mar 11, 2025

    @Rub21
    Member

    This is done in #800

  5. added theissue type on Mar 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions