Skip to content

Include building nodes as point features in tiles #940

Closed

Description

@1ec5

Sometimes we know where a named building is but have no idea what it was shaped like, even vaguely. There are about 9,000 building=* nodes in OHM, such as the Turner House discussed on the forum. OSM considers building nodes valid, if suboptimal. Unfortunately, the vector tiles don’t expose a building node at all, even if there’s a name=* or other tag that a stylesheet would normally render as a label or icon.

Activity

  1. self-assigned this
    on Jan 2, 2025
  2. Rub21 commented on Jan 23, 2025

    @Rub21
    Member

    The building points have been included in the vector tiles, but there might be an issue when a building polygon/centroids with a name also has a point with the same name. While this scenario may not be common, there is a possibility of duplication in some cases.

    Image

  3. Rub21 commented on Feb 7, 2025

    @Rub21
    Member

    This is done, an deployed in production, Now this needs to be styling.

    cc. @vknoppkewetzel

  4. Rub21 commented on Feb 11, 2025

    @Rub21
    Member

    Base on #934 (comment),

    @1ec5 @vknoppkewetzel, do you think it would be a good idea to merge buildings_point and buildings_centroids into a single layer? This can be done using materialized views, but we may need to evaluate names and locations to avoid duplicates. It would be slightly expensive during view creation, but for SELECT queries, it should be fast.

  5. added theissue type on Mar 16, 2025
  6. 1ec5 commented on Mar 17, 2025

    @1ec5
    MemberAuthor

    What’s the difference between buildings_point and buildings_centroid? If the only difference is how they were generated, then I agree that they should be merged.

  7. Rub21 commented on Mar 17, 2025

    @Rub21
    Member

    buildings_point are the points as they exist in the OHM database, while buildings_centroid are generated from building polygons. In the end, both represent buildings in the vector tiles, but there may be cases where both contain the same name, leading to duplication. That is the reason I have been thinking of merging both into a single layer.

  8. 8 remaining items

  9. Rub21 commented on May 27, 2025

    @Rub21
    Member

    Seem this still need to do some work in map styling

  10. reopened this on May 27, 2025
  11. moved this from Ready for Staging to In Progress in OpenHistoricalMap Dev Planningon May 27, 2025
  12. added and removed
    tiler-server
    tiler-imposm
    on Aug 14, 2025
  13. jeffreyameyer commented on Oct 8, 2025

    @jeffreyameyer
    Member

    Seems like this ticket, as written, is done. Agreed, @1ec5 ?

  14. assigned and unassigned on Oct 8, 2025
  15. moved this from Tested in staging to Live in production in OHM Cartoon Oct 9, 2025
  16. jeffreyameyer commented on Oct 20, 2025

    @jeffreyameyer
    Member

    live in production. Closing.

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

Metadata

Metadata

Assignees

Projects

  • Status
    Live in production

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions