Skip to content

make sure all other_areas areas have corresponding centroids in other_points_centroids #1199

Closed

Description

@jeffreyameyer

A few building types that have their areas depicted in the vtiles as other_areas do not have corresponding points in other_points_centroids

Examples include the building=lighthouse and building=tomb ways discussed in #1121.

The fix: make sure all other_areas areas have corresponding centroids in other_points_centroids

Activity

  1. Rub21 commented on Nov 10, 2025

    @Rub21
    Member

    Actually, with the latest changes, we are considering that centroids and areas appear at the same zoom level.
    In other_points_centroids, we are considering only polygons that have a name or a name:xx. In other cases, these centroids are not going to appear.

    e.g https://www.openhistoricalmap.org/way/199262437, The object does not have any name. That is the reason it is not appearing as a centroid.

    Image

    Bit in case the polygon/way has name or name:xx , it going to appear in the centroid . https://www.openhistoricalmap.org/way/201289899
    Image

    If this is highly required, I could adjust the algorithm to consider some types that, even if they do not have names, still need to appear as centroids.

    @jeffreyameyer what do you think ?

  2. Rub21 commented on Apr 14, 2026

    @Rub21
    Member

    This already woking, Closing here!

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