Skip to content

Check if transport_associated_streets layer is still used in OHM styles #1077

Closed

Description

@Rub21

I noticed that the transport_associated_streets layer doesn’t appear to be used in the current OHM vector tile styles https://github.com/OpenHistoricalMap/map-styles, This layer is relatively complex, as it queries large relation-based tables.

If this layer is no longer in use, it would be a good idea to disable or remove it from the Tegola configuration to avoid running expensive queries unnecessarily.

cc. @tsinn @1ec5

Activity

  1. 1ec5 commented on Jun 2, 2025

    @1ec5
    Member

    The layer was added in OpenHistoricalMap/ohm-deploy#89 for #94, as part of a quest to put everything in relations. However, we never used this layer in the database, because associatedStreet is a poor idea for a relation type even in OSM. street relations make more sense, as long as we fork the definition to only pertain to the roadway itself rather than anything that could potentially reverse-geocode to the street. Even better, I think street relations are currently being used in a manner essentially equivalent to route relations (specifically route=railway), so the tile generator could discard the implementation of associatedStreet in favor of treating street in a manner very similar to route, if not identically.

  2. Rub21 commented on Jul 29, 2025

    @Rub21
    MemberAuthor

    Thanks for the confirmation, @1ec5. Closing this ticket, as the layer is indeed not in use and can be safely removed.

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

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions