Skip to content

Tweak the vtiles filtering for admin_level=6 #278

Closed

Description

@jeffreyameyer

Building on #212, I think we may have made a mistake introducing admin_level=6 at zoom=6 (vtiles) / zoom=7 (browser).

Can we remove admin_level=6 from zoom=6 and zoom = 7 (vtiles) / zoom=7 and zoom=8 / browser?

Counties (US) aren't typically big enough to feature at that zoom:
https://www.openhistoricalmap.org/#map=7/35.156/-79.717&layers=O&date=1900&daterange=1800,2021

image

And, in Europe, it seems to clutter things up:
https://www.openhistoricalmap.org/#map=7/51.529/15.477&layers=O&date=1900&daterange=1800,2021

image

cc: @tsinn for cartographic impacts

Activity

  1. tsinn commented on Aug 25, 2021

    @tsinn

    OSM shows US county boundaries and labels at z10 in their map.

  2. jeffreyameyer commented on Aug 25, 2021

    @jeffreyameyer
    MemberAuthor

    I'm open to pushing them down further, ticket changed....

    but I think there are some euro users of admin=6 who'd prefer not to go too low. I'm hoping we can style them with hairlines whenever they first appear. The county levels are important in the state-border level horse-trading of some of the US's evolution.

  3. jeffreyameyer commented on Aug 25, 2021

    @jeffreyameyer
    MemberAuthor

    Or, should we test this first by just making stylesheet changes? (@tsinn) - e.g. don't style them at all in zoom=7 or 8 (browser)?

  4. geohacker commented on Aug 26, 2021

    @geohacker

    Can we remove admin_level=6 from zoom=6 and zoom = 7 (vtiles) / zoom=7 and zoom=8 / browser?

    @tsinn is this something you can control purely with styles by setting a minzoom on admin_level=6? Doing this on the vtiles means purging cache for the whole world and that's going to be slow. But if it's difficult to do just on the styles, we'll make it happen. Let me know!

  5. tsinn commented on Aug 26, 2021

    @tsinn
  6. removed their assignment
    on Aug 26, 2021
  7. self-assigned this
    on Nov 4, 2021
  8. danrademacher commented on Jan 6, 2023

    @danrademacher

    This is cleaner at z7 and further out:
    image

    vs z8:
    image

  9. added theissue type on Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions