CUTR-at-USF / usf-mobullity

USF Maps responsive web application
http://maps.usf.edu/
8 stars 7 forks source link

Self-host Mapbox tiles #398

Open barbeau opened 7 years ago

barbeau commented 7 years ago

Summary:

In Jan/Feb we went over our 50k map tile hits on Mapbox - we were at 74k. We should look at self-hosting the tiles we're creating using Mapbox Studio: http://gis.stackexchange.com/questions/125037/self-hosting-mapbox-vector-tiles

barbeau commented 7 years ago

I posted the following to our internal Slack, but wanted to include them here too so we can reference again if needed.

For the tilesets, here's how it looks in Mapbox Studio:

image

I can't export them from Mapbox, but I believe the files in the attached zip are the files I originally uploaded to create them. export and export(1) may be the same file, and IIRC I renamed it to bollards to make it clearer what the data was.

tile_config.zip

jmfield2 commented 7 years ago

In case it helps...

Although you still cannot download the tilesets from mapbox studio, the actual overpass-turbo queries for the three we use (bollards, poi, parking) are now all in the README.md file to regenerate them. There could be some differences since it is based off OSM edits, but that probably isn't a huge issue..

barbeau commented 7 years ago

Thanks @jmfield2!