You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Include building nodes as point features in tiles #940
Sometimes we know where a named building is but have no idea what it was shaped like, even vaguely. There are about 9,000building=* 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.
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.
@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.
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.
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.
Activity
Rub21 commentedon Jan 9, 2025
I have added a new layer caller building_points in staging vtiles
Rub21 commentedon Jan 23, 2025
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.
Rub21 commentedon Feb 7, 2025
This is done, an deployed in production, Now this needs to be styling.
cc. @vknoppkewetzel
Rub21 commentedon Feb 11, 2025
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.
1ec5 commentedon Mar 17, 2025
What’s the difference between
buildings_pointandbuildings_centroid? If the only difference is how they were generated, then I agree that they should be merged.Rub21 commentedon Mar 17, 2025
buildings_pointare the points as they exist in the OHM database, whilebuildings_centroidare 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 remaining items
Rub21 commentedon May 27, 2025
Seem this still need to do some work in map styling
jeffreyameyer commentedon Oct 8, 2025
Seems like this ticket, as written, is done. Agreed, @1ec5 ?
jeffreyameyer commentedon Oct 20, 2025
live in production. Closing.