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
adjust vector tile filters for zoom level / admin_level #212
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...
(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)
@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.
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.
Activity
adjust admin boundaries based on OpenHistoricalMap/issues#212
jeffreyameyer commentedon Mar 2, 2021
[redacted comments stored elsewhere for a styling ticket]
jeffreyameyer commentedon Mar 2, 2021
^^ I need to edit this comment...
geohacker commentedon Apr 13, 2021
@jeffreyameyer do you think we can use your comment above for making changes? Do you need to fine tune this more?
cc @Rub21
jeffreyameyer commentedon Apr 13, 2021
@danrademacher - Confirming that I need to follow up.
jeffreyameyer commentedon Apr 14, 2021
@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, atzoom=9.(heads up, @tsinn - I believe this means we're ready to start styling
admin_level = 4to show up atzoom=4and to working on 4 vs. 2 differentiation. Let me know if you disagree)geohacker commentedon Apr 14, 2021
@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.
jeffreyameyer commentedon Apr 14, 2021
Hey wait, @geohacker - what about admin_level=9 showing up too early!? :)
geohacker commentedon Apr 14, 2021
Ah, I misread, I thought it all correct. Yes will fix admin 9.
Rub21 commentedon Apr 15, 2021
@jeffreyameyer , could you point me out some place with
admin_level=9where can i check those to test the changes https://github.com/OpenHistoricalMap/ohm-deploy/pull/50/files ?danrademacher commentedon Apr 20, 2021
from slack:
danrademacher commentedon Apr 20, 2021
Ah, better, an example form staging:
https://staging.openhistoricalmap.org/relation/2691694#map=12/47.7518/-121.5782&layers=O&date=1850&daterange=1800,2021
Rub21 commentedon Apr 20, 2021
@jeffreyameyer @danrademacher can you confirm if this is what you expected! https://vtiles-staging.openhistoricalmap.org/#10.71/47.7464/-121.7848

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.
danrademacher commentedon Apr 20, 2021
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:
Is that right? This is like daylight savings time -- so simple and yet I'm never sure if I have it right
jeffreyameyer commentedon Apr 21, 2021
👍
Suggest we copy this template for future clarification!!
Rub21 commentedon Apr 21, 2021
@jeffreyameyer @danrademacher I have adjusted the admin levels according go the table, https://vtiles-staging.openhistoricalmap.org/#10.09/47.6744/-121.4859 , looks it is working good

danrademacher commentedon Apr 26, 2021
@tsinn to pick this up for styling
Update tegola-ohm.json
Rub21 commentedon May 24, 2021
This issue has fixed witht he release of the new version of the tiler!