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
Optimizing vtiles layers based on zoom-level usage #1011
I’m currently working on simplifying some features in the vector tiles and creating materialized views for specific layers. From: #917
I’ve also built a simple index.html page to compare the production map style with a staging version for vector tiles.
During the comparison, I noticed that many roads at zoom level 5 (tertiary type) aren’t used in the production style.
Loading features that aren’t visible at certain zoom levels isn’t optimal for performance.
As a next step, I’ll check the features more closely and begin removing or reducing those that don’t appear at specific zoom levels in the production map style.
I have created a summary of the four ma-styles historical.json, railway.json, woodblock.json, and japanese_scroll.json and gathered the minimum and maximum zoom levels used.
We should also consider OpenRailwayMap if we reduce the amount of rail-related data at lower zoom levels. Its needs should be similar to the Railway style for now. hiddewie/OpenRailwayMap-vector#348 shows main and branch railways at vector z5 and beyond. There may still be an opportunity to trim less important railway classifications at low zoom levels.
currently the zoom for transport_lines is starting form zoom 6 , if there are start showing from zoom 5 , Ican adjust couple of things to start from zoom 5
The critical layer that was not filtered according to the map styles was transport_lines, where many categories started appearing at lower zoom levels. I’ve fixed it, and now it displays according to the correct starting zoom level. also i have fixed to starts showing at min zoom 5.
Activity
Rub21 commentedon Apr 4, 2025
I have created a summary of the four ma-styles historical.json, railway.json, woodblock.json, and japanese_scroll.json and gathered the minimum and maximum zoom levels used.
1ec5 commentedon Apr 17, 2025
We should also consider OpenRailwayMap if we reduce the amount of rail-related data at lower zoom levels. Its needs should be similar to the Railway style for now. hiddewie/OpenRailwayMap-vector#348 shows main and branch railways at vector z5 and beyond. There may still be an opportunity to trim less important railway classifications at low zoom levels.
Rub21 commentedon Apr 23, 2025
currently the zoom for transport_lines is starting form zoom 6 , if there are start showing from zoom 5 , Ican adjust couple of things to start from zoom 5
Rub21 commentedon May 5, 2025
I have adjusted the min zoom for transport_lines . so it will display from zoom 5 to 20.
Rub21 commentedon May 6, 2025
The critical layer that was not filtered according to the map styles was transport_lines, where many categories started appearing at lower zoom levels. I’ve fixed it, and now it displays according to the correct starting zoom level. also i have fixed to starts showing at min zoom 5.