Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review tile sizes and performance of map tiles #698

Open
danrademacher opened this issue Feb 20, 2024 · 3 comments
Open

Review tile sizes and performance of map tiles #698

danrademacher opened this issue Feb 20, 2024 · 3 comments
Assignees
Labels
infrastructure Deploy / Infrastructure issues vtiles

Comments

@danrademacher
Copy link
Member

Max Tile Size

  • 500kb is the recommended tile size

We have tiles of 8MB and even 18MB!

Have we been overly generous adding stuff to vtiles?
How can we find the largest tiles?

@danrademacher
Copy link
Member Author

@danrademacher
Copy link
Member Author

OK, actually that link is San Jose:
image

These are some massive tiles!

total tiles: 4
min size: 2270.83kb
avg size: 4366.51kb
max size: 6905.41kb

And this is the main driver:

land_ohm	1254.97k	1927.48k	4317.01	5594

In Europe, place_points and transport_lines are the main driver: https://stamen.github.io/map-tools/tilestats/?tiles=https://vtiles.openhistoricalmap.org/maps/osm/{z}/{x}/{y}.pbf#4.49/51.46/10.92

image

transport_lines	39.84m	11562.29	135.78	774.33
place_points	88.9m	4852.31	259.82	10324.95

@1ec5
Copy link
Member

1ec5 commented Feb 20, 2024

At zoom level 8, we can probably afford to do more aggressive simplification on features like boundaries: #702. Another big gain would come from replacing boundary polygons with boundary edge polylines: #701.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Deploy / Infrastructure issues vtiles
Projects
Status: No status
Development

No branches or pull requests

4 participants