5 ms·
Neat! We used to host our own mbtiles map for like $11/mo, but the problem was (this was prior to planetiler and people generating public worldwide mbtile dump
by ryantgtg 2y ago
Neat!
We used to host our own mbtiles map for like $11/mo, but the problem was (this was prior to planetiler and people generating public worldwide mbtile dumps) there wasn't a free/cheap source for regularly-updated mbtiles. The dump from OpenMapTiles was not updated for years.
So we gave up and went to mapbox, where we regularly exceed the monthly free tier for web, but they give us a discount. Because that is a scary scenario and we are dying to pay a fixed monthly fee, I think we will try yours and donate!
- uneekname 2y agoIf your application allows for it, I also recommend checking out Protomaps / PMTiles. Brandon has some insanely cool work making a tile format and related infrastructure that scales nicely.
- ryantgtg 2y agoI wanted to, but I was unable to get Protomaps working in our application, unfortunately. I'm not much of a js person (or a dev) and it was a bigger change than I could apparently handle in our rails app. Actually, thinking back on it, I think the main issue - or at least the one immediately presenting itself - was a CORS problem (a friend was hosting the PMTiles in their DO Spaces). And then I ran out of patience.
- stevage 2y agoYeah there are some pretty specific requirements for the server hosting the PMtiles that weren't well documented when I last looked at it.
- bdon 2y agoThanks for giving it a try! If you're going to revisit this, we could improve the docs around setting CORS configuration on DigitalOcean: https://docs.protomaps.com/pmtiles/cloud-storage#digitalocean-spaces https://docs.protomaps.com/pmtiles/cloud-storage#digitalocea...
- hyperknot 2y agoThank you for sharing the story! I hope OpenFreeMap can contribute either with the MBTiles / Btrfs dumps, or with the public instance.
- ryantgtg 2y agoThanks for offering the service! The intensity of map tile pricing is always a little baffling to me. For example, with mapbox this month we (got linked to on The Verge and) exceeded the free tier on the 22nd. Two days later and we have a $40 bill and counting, with a week left in the month. We're a free, open source project and can't handle dynamic pricing like this. My only feedback on your tiles is the lack of POIs. Mostly just bus stops and an occasional supermarket in my area. But I see from the github that this is on the roadmap.
- hyperknot 2y agoThanks a lot! Yes, I believe this dynamic pricing is making it impossible for small or non-profit projects to host maps. And you can see, "fun" maps basically disappeared from the internet - they were really common 10 years ago! For POIs, they are present in the data, it's just that the styles might not have the matching icons for them. But you can always make them into a circle, etc. Having said that, working on the styles is a big and never ending effort, so if someone would like to help with matching the POIs then contributors welcome.
- MapNavTom 2y agoTo be clear, OpenMapTiles is kept up-to-date. The latest version was published in April: https://www.maptiler.com/news/2024/04/openstreetmap-data-prepared-for-advanced-cartography/ https://www.maptiler.com/news/2024/04/openstreetmap-data-pre...
- hyperknot 2y agoI think he was referring to a freely available full planet OSM mbtiles dump, to be used with OpenMapTiles. I cannot find a reference to that in your blog post.
- ryantgtg 2y agoHa, yes, obviously I was referring to the free mbtiles download. Maptiler is currently showing "2020 OpenStreetMap Vectors only"
- puddingvlaai 2y agoLook into Planetiler [1]. It's a resource-efficient and easy to setup project to generate mbtiles or pmtiles from OSM pbf files, which are free to download from Geofabrik. It uses the openmaptiles spec for the result files and you can also generate some custom tiles by writing yaml (or forking the java source). Protomaps also provides daily updated full-planet pmtiles [2], from which you can create a pmtiles extract using its CLI. [1] https://github.com/onthegomap/planetiler https://github.com/onthegomap/planetiler [2] https://docs.protomaps.com/basemaps/downloads https://docs.protomaps.com/basemaps/downloads