Skip to content

admin_level=7 boundary centroid labels look like populated places #923

Closed

Description

@1ec5

As of #888, the centroid of an admin_level=7 boundary is labeled with a similar treatment as a place=city point: a black label in mixed case. This is potentially confusing, because such boundaries may represent mere administrative subdivisions, not populated places. This forum post gives an example from Central Europe.

The default treatment should probably be more similar to that of an admin_level=6 centroid (e.g., county) than a place=city point. In the event that the boundary does represent a populated place, it would likely have a label member with the appropriate place=* value, which would suppress the centroid point in the tile.

Activity

  1. OHM-FK27 commented on Dec 11, 2024

    @OHM-FK27

    Another more striking example from Mecklenburg: The little village of Börzow (688 inhabitants) hides the bigger city of Grevesmühlen (10'398 inhabitants). Grieben and Rehna are shown twice (as populated place AND as subdivision) which makes it hard to update them.
    https://www.openhistoricalmap.org/#map=11/53.7946/11.0625

  2. 1ec5 commented on Dec 11, 2024

    @1ec5
    MemberAuthor

    Does the Grieben place point represent the same place as the Grieben boundary relation? If so, add the place point to the boundary relation with the label role; that’ll suppress the automatically generated label at the centroid. Any boundary corresponding to a populated place should be modeled like this – in other words, any boundary that should be labeled somewhere other than the centroid, because that other location has special meaning.

  3. OHM-FK27 commented on Dec 11, 2024

    @OHM-FK27

    So far, it did not work: Kirchtimke (1974-) and Westertimke (1974-) are really small villages, no towns.
    https://www.openhistoricalmap.org/#map=13/53.2405/9.1562

  4. 1ec5 commented on Dec 11, 2024

    @1ec5
    MemberAuthor

    My original forum post only referred to “towns” because that’s what admin_level=7 boundaries are called in the particular part of the United States that I used as an example, from #888. The labels that we recently introduced actually represent territories bounded by admin_level=7 boundaries, more or less equivalent to place=municipality, not necessarily what would be locally known as towns or what would be tagged as place=town. I should’ve used some more geographically diverse examples to make that clearer.

    Assuming the place=village node and admin_level=8 both represent the Gemeinde of Westertimke, as opposed to a settlement within the Gemeinde, changeset 148,295 is correct. I’d expect the centroid point to go away as a result. However, it’s still in the tiles, so I don’t know if that’s a caching issue or if the tiler isn’t correctly suppressing the centroid point.

  5. OHM-FK27 commented on Dec 12, 2024

    @OHM-FK27

    Technically, it works fine on municipalities which I have added 24 hours ago. However, it does not work on edits made by others two years ago - maybe it's a tile problem.

  6. 1ec5 commented on Dec 12, 2024

    @1ec5
    MemberAuthor

    Ah, the centroid functionality was only added a few months ago, so maybe we need to purge the tile cache more aggressively just once to get those old edits through the system.

  7. Rub21 commented on Dec 12, 2024

    @Rub21
    Member

    I can do a purge of the tiler at all zoom levels. Maybe this is not the only issue in these areas; maybe other areas are affected too.

  8. Rub21 commented on Dec 13, 2024

    @Rub21
    Member

    I have cleaned the tiler cache, it should be ok now, if the issue persist, could you share exact place where need to check.

  9. OHM-FK27 commented on Dec 13, 2024

    @OHM-FK27

    Thank you! Graz (Austria) is fine now on all levels. Bonn (Germany) has a new missing highway:
    https://www.openhistoricalmap.org/way/200679682

    The duplicated municipalities (point and area) near Bonn, Bremen, Hamburg and Munich still exist on all levels.
    "Siegburg seit 1969" hides Siegburg, "Troisdorf seit 1969" hides Troisdorf.
    https://www.openhistoricalmap.org/relation/2698172#map=13/50.8039/7.2424
    https://www.openhistoricalmap.org/relation/2698173#map=12/50.8181/7.1459

  10. Rub21 commented on Dec 15, 2024

    @Rub21
    Member

    Thank you! Graz (Austria) is fine now on all levels. Bonn (Germany) has a new missing highway:
    https://www.openhistoricalmap.org/way/200679682

    Thanks for reporting this, I fixed the issue, details of the issue can be found here: #917 (comment)

  11. Rub21 commented on Dec 15, 2024

    @Rub21
    Member

    The duplicated municipalities (point and area) near Bonn, Bremen, Hamburg and Munich still exist on all levels.
    "Siegburg seit 1969" hides Siegburg, "Troisdorf seit 1969" hides Troisdorf.
    https://www.openhistoricalmap.org/relation/2698172#map=13/50.8039/7.2424
    https://www.openhistoricalmap.org/relation/2698173#map=12/50.8181/7.1459

    Seems 👆 it could be fix by @vknoppkewetzel :)

  12. 1ec5 commented on Dec 20, 2024

    @1ec5
    MemberAuthor

    The default treatment should probably be more similar to that of an admin_level=6 centroid (e.g., county) than a place=city point. In the event that the boundary does represent a populated place, it would likely have a label member with the appropriate place=* value, which would suppress the centroid point in the tile.

    In other words, it would be clearer if we style every automatically generated centroid point like we currently style counties, since the centroid isn’t as meaningful as the overall shape of the boundary.

  13. 11 remaining items

  14. vknoppkewetzel commented on Jan 3, 2025

    @vknoppkewetzel

    Yes, I am happy to do that. Basically just , even thought "similar to counties and should look the same" still ideal to think more like "7 and 8 are subcounties - still should feel kind of like counties but smaller, but similar" :)

  15. added theissue type on Mar 16, 2025
  16. moved this from In map-styles repo to In Progress in OHM Cartoon Oct 8, 2025
  17. moved this from In Progress to TODO Soon in OHM Cartoon Oct 8, 2025
  18. moved this from TODO Soon to No status in OHM Cartoon Oct 8, 2025
  19. moved this to 1 cycle out in OHM Cartoon Nov 4, 2025
  20. 1ec5 commented on Apr 15, 2026

    @1ec5
    MemberAuthor

    admin_level=7 boundary relations like Redwood Township currently appear as both boundary lines and centroid points (the kind that denotes an administrative area). The labels are identical to admin_level=8 labels at some zoom levels, but this is a more general issue we can track separately.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    • Status
      1 cycle out

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions