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 }}
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
The thing that really, really takes a long time is clipping the borders to the land masses. As far as I understood it this happens for every country separately, and with the non-simplified version of the data.
Combine all countries and subdivisions in one Topojson file -> drastically smaller file size compared to GeoJSON, data format is «closer» to how Mapshaper works
Simplify the combined Topojson file with Mapshaper -> only needs to run once, and makes sure that all borders will fit each other, since the data is topological
Simplify the landmass data with Mapshaper -> we don't need every single little island off the coast
Now do the clipping on the whole Topojson -> only needs to run once, and the reduced number of points should make the process faster
Split the Topojson apart as needed (or use the Topojson directly to generate the vector tiles, if supported?)
… based on partially running the process locally:
The thing that really, really takes a long time is clipping the borders to the land masses. As far as I understood it this happens for every country separately, and with the non-simplified version of the data.