Skip to content

Remove highway=* area multipolygons from transport_lines vector tile layers when they don't have an area=yes tag #1144

Closed

Description

@jeffreyameyer

Bug description
highway=* areas are showing up the in the transport_lines vector tile layer, unless they are explicitly tagged area=yes, which is causing some undesired styling.

[example deleted per attempt to fix, but should be replaced if we go ahead with this ticket]

Desired behavior
Children of type:multipolygon relations that create closed areas should not be passed through to the transport_lines, even if they are not tagged with area=yes.

This will leave less to user error, as the area=yes tag doesn't add any actual information to the relation.

Other info
Related to #1103
cc: @rwelty1889

Activity

  1. self-assigned this
    on Oct 6, 2025
  2. jeffreyameyer commented on Oct 6, 2025

    @jeffreyameyer
    MemberAuthor

    on hold, pending test in changeset #198085 to see if adding an area=yes tag is a workaround for this issue.

  3. changed the title [-]Remove `highway=*` `type:area` from `transport_lines` vector tile layers[/-] [+]Remove `highway=*` area multipolygons from `transport_lines` vector tile layers even without an `area=yes` tag[/+] on Oct 6, 2025
  4. changed the title [-]Remove `highway=*` area multipolygons from `transport_lines` vector tile layers even without an `area=yes` tag[/-] [+]Remove `highway=*` area multipolygons from `transport_lines` vector tile layers when they don't have an `area=yes` tag[/+] on Oct 7, 2025
  5. 1ec5 commented on Oct 7, 2025

    @1ec5
    Member

    The style shouldn’t distinguish between multipolygons and areas. But certainly the typically untagged member ways of a multipolygon relation shouldn’t be showing up in the tiles as distinct features. That would only be useful for old-style multipolygons, which were deprecated and eliminated from OSM several years ago (but might be present in OHM due to imports of old OSM data).

    There’s also a nuanced distinction between highway=pedestrian area=yes ways or highway=pedestrian multipolygons for pedestrian plazas where you can roam around aimlessly and area:highway=footway for the area representation of a mundane linear walkway or sidewalk.

  6. moved this to TODO Soon in OHM Cartoon Oct 8, 2025
  7. jeffreyameyer commented on Oct 8, 2025

    @jeffreyameyer
    MemberAuthor

    closing; current workaround is desired behavior.

  8. moved this from TODO Soon to Done in OHM Cartoon Oct 8, 2025
  9. moved this from Tested in staging to Live in production in OHM Cartoon Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions