Skip to content

adjust vector tile filters for zoom level / admin_level #212

Closed

Description

@jeffreyameyer

Please make the following adjustments to the Tegola tile settings (for now... : ) ):

zoom0-3 admin 1,2
zoom4-6 admin 1,2,3,4
zoom7-8 admin 1,2,3,4,5,6
zoom 9-10 admin 1,2,3,4,5,6,7,8
zoom 11 admin 1,2,3,4,5,6,7,8,9 (NYC boroughs, Tokyo cities, London: Westminster & City of London London, Paris arrondissements, etc.)
zoom 12-20 admin 1,2,3,4,5,6,7,8,9,10 (neighborhoods)

(I think Mapbox streets does the best job of this, but I also know they have a lot of work behind their labeling that might be tough to do...)

Also... if any of these pose an obvious existential risk to any particular zoom level, we'll need to adjust. I'd prefer to let tiles break due to poor labeling, though, rather than having the tail wag the dog...

Activity

  1. jeffreyameyer commented on Mar 2, 2021

    @jeffreyameyer
    MemberAuthor

    [redacted comments stored elsewhere for a styling ticket]

  2. jeffreyameyer commented on Mar 2, 2021

    @jeffreyameyer
    MemberAuthor

    ^^ I need to edit this comment...

  3. geohacker commented on Apr 13, 2021

    @geohacker

    @jeffreyameyer do you think we can use your comment above for making changes? Do you need to fine tune this more?

    cc @Rub21

  4. jeffreyameyer commented on Apr 13, 2021

    @jeffreyameyer
    MemberAuthor

    @danrademacher - Confirming that I need to follow up.

  5. jeffreyameyer commented on Apr 14, 2021

    @jeffreyameyer
    MemberAuthor

    @geohacker - thanks for the ping - I've deleted the rambling commentary & think the first comment is fine as is, esp. for vector styles.

    I did a quick check using the testbed (https://vtiles.openhistoricalmap.org/#11/47.759/-121.7531) and it looks like everything is pretty good as is up to admin_level=9, which shows up too early, at zoom=9.

    (heads up, @tsinn - I believe this means we're ready to start styling admin_level = 4 to show up at zoom=4 and to working on 4 vs. 2 differentiation. Let me know if you disagree)

  6. geohacker commented on Apr 14, 2021

    @geohacker

    @jeffreyameyer great, thank you! So we'll leave everything as is for now. I will remove this ticket from my list and wait for anything @tsinn needs to close.

  7. removed their assignment
    on Apr 14, 2021
  8. jeffreyameyer commented on Apr 14, 2021

    @jeffreyameyer
    MemberAuthor

    Hey wait, @geohacker - what about admin_level=9 showing up too early!? :)

  9. geohacker commented on Apr 14, 2021

    @geohacker

    Ah, I misread, I thought it all correct. Yes will fix admin 9.

  10. self-assigned this
    on Apr 14, 2021
  11. Rub21 commented on Apr 15, 2021

    @Rub21
    Member

    @jeffreyameyer , could you point me out some place with admin_level=9 where can i check those to test the changes https://github.com/OpenHistoricalMap/ohm-deploy/pull/50/files ?

  12. danrademacher commented on Apr 20, 2021

    @danrademacher
  13. Rub21 commented on Apr 20, 2021

    @Rub21
    Member

    @jeffreyameyer @danrademacher can you confirm if this is what you expected! https://vtiles-staging.openhistoricalmap.org/#10.71/47.7464/-121.7848
    Screen Shot 2021-04-20 at 16 58 50

    I set admin=9 to appear in zoom=9, but actually it is appearing from zoom=10, I think you mention that in the meeting too, some features are appearing in a higher zoom.

    If the above changes is not correct, I can change to admin=9 with zoom 8 but it will show at zoom=9.

  14. danrademacher commented on Apr 20, 2021

    @danrademacher

    I think with the issue we discussed in Slack of MBGL tile zoom vs Leaflet Zoom, then Jeff's original list is more like this:

    website zoom tileset zoom admin levels
    zoom0-3 tilezoom0-2 admin 1,2
    zoom4-6 tilezoom3-5 admin 1,2,3,4
    zoom7-8 tilezoom6-7 admin 1,2,3,4,5,6
    zoom 9-10 tilezoom8-9 admin 1,2,3,4,5,6,7,8
    zoom 11 tilezoom10 admin 1,2,3,4,5,6,7,8,9 (NYC boroughs, Tokyo cities, London: Westminster & City of London London, Paris arrondissements, etc.)
    zoom 12-20 tilezoom11-20 admin 1,2,3,4,5,6,7,8,9,10 (neighborhoods)

    Is that right? This is like daylight savings time -- so simple and yet I'm never sure if I have it right

  15. jeffreyameyer commented on Apr 21, 2021

    @jeffreyameyer
    MemberAuthor

    👍
    Suggest we copy this template for future clarification!!

  16. Rub21 commented on Apr 21, 2021

    @Rub21
    Member
  17. danrademacher commented on Apr 26, 2021

    @danrademacher

    @tsinn to pick this up for styling

  18. added a commit that references this issue on May 5, 2021
  19. Rub21 commented on May 24, 2021

    @Rub21
    Member

    This issue has fixed witht he release of the new version of the tiler!

  20. 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

Assignees

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions