nst-guide / data

Create map waypoints and layers from open data sources
https://nst-guide.github.io/data/
GNU General Public License v3.0
6 stars 0 forks source link

Create style-optimized basemap vector tiles #37

Open kylebarron opened 4 years ago

kylebarron commented 4 years ago

I tested out https://github.com/mapbox/vtshaver on the current OSM Liberty style.json, and it took 14/2525/*.pbf from 328KB to 139KB.

The size of the whole 14/*/.pbf zoom level for CA, OR, and WA is 2.93GB, so if this ratio held for the entire area, that could go down to 1.2GB! It would be nothing to download everything within 20 miles of the trail.

kylebarron commented 4 years ago

Note that I only got vtshaver to build with Node 10, using npm install @mapbox/vtshaver

kylebarron commented 4 years ago

I don't think I'll get to this anytime soon because I expect the style JSON to change more in the future.