3 ms·
So, you're still going to be better off with a tiled overview sort of system. FWIW, I've got an official 900MB geojson of borders from a large unnamed multinat
by wiredfool 3y ago
So, you're still going to be better off with a tiled overview sort of system.
FWIW, I've got an official 900MB geojson of borders from a large unnamed multinational NGO type that's particular about their mapping.
At z=4, or 600m resolution, it's a 2.5MB pmtiles, at z=10 (10m resolution) it's 83M.
That's just the ADM0 borders, adding local borders would obviously increase the size.
- keepamovin 3y agoI'm a total noob to all this, so I totally get if you can't help--it's not your problem, no worries! But would you be able to share any code to convert this, or any of the data?
- wiredfool 3y agoI can't share this data, but there are a couple of ways to get started: 1) Just use the overview tiles from the global protomaps dump (OSM source). The getting started guide can walk you through some of it: https://docs.protomaps.com/guide/getting-started https://docs.protomaps.com/guide/getting-started but you'd want to use the pmtiles tool to extract the widest zooms from the global dataset. pmtiles extract https://build.protomaps.com/20231023.pmtiles overview.pmtiles \ --maxzoom=4 Then see the intro to pop it in a viewer, or it's a few dependencies and a style sheet and it pops into OpenLayers, Leaflet or MapLibre for a viewer. There may be some extra layers there, but at wide zooms there shouldn't be much data there. (e.g. buildings) 2) If you have/find your own data, use Felt/tippecanoe to convert it. tippecanoe -z4 -o overview.pmtiles data.geojson
- keepamovin 3y agoThank you! No worries at all, I totally understand. Just thank you for replying! I really appreciate you showing me how to do that. Thank you very much!