OpenHistoricalMap / issues

File your issues here, regardless of repo until we get all our repos squared away; we don't want to miss anything.
Creative Commons Zero v1.0 Universal
17 stars 1 forks source link

Review tile sizes and performance of map tiles #698

Open danrademacher opened 6 months ago

danrademacher commented 6 months ago

Max 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 commented 6 months ago

Stamen tool with ohm tiles

https://stamen.github.io/map-tools/tilestats/?tiles=https://vtiles.openhistoricalmap.org/maps/osm/%7Bz%7D/%7Bx%7D/%7By%7D.pbf#11.66/37.3023/-121.8144

Next need to focus that on a few known problem areas

danrademacher commented 6 months ago

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 commented 6 months ago

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.