Skip to content

route_lines layer should indicate highway classification #1272

Closed

Description

@1ec5

Each feature in the route_lines tile layer should include a highway property that corresponds to the highway classification (highway=*) of the route relation’s member way. A given feature may need to be split at multiple locations wherever the highway changes classification.

A stylesheet typically uses the route_lines tile layer to label features in the transport_lines layer and typically filters transport_lines to show only certain highway classifications at a given zoom level based on the type or highway property. The stylesheet wouldn’t want to label something that’s invisible, so any style layer that labels route_lines would want to consider the highway classifications at the same time. (MapLibre is unable to spatially join layers when evaluating a layer’s paint and layout properties.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions