If anyone else was curious, their sample OSM derived PMTile file (protomaps-basemap-opensource-20230408.pmtiles) is 103GB. https://docs.protomaps.com/basemaps/downloads
Exactly the kind of thing that could be downloaded using Bittorrent!
Protomaps – A free and open source map of the world
101–110 of 169 posts
Re: Protomaps – A free and open source map of the world
#102> The Google Maps API has a generous free tier, but high fees past 30,000 map loads. Protomaps is designed from the ground up to be a system you run yourself - as a 100% static backend on cloud storage - so you only incur the usage costs of storing and serving that data, which can be pennies for moderate usage. It would be interesting to see a cost comparison: recommended hosting setup vs Google Maps, and at what poi…
Cloudflare: 100GB hosting is $1 and $.36 for 10 million requests. If you read the Protomaps docs it explains how to cache the requests on Cloudflare CDN so you only have to pay for each tile request once per cache period. It's quite cheap. Edit: previous submission title for Protomaps: Serverless maps at 1/700 the cost of Google Maps API
Re: Protomaps – A free and open source map of the world
#103Earlier quoted context omitted.
It's kinda sad how we need open source alternatives to MapBox, the formerly open source company.
Mapbox is still the best choice where a polished suite of mapping APIs is a better fit for a project. Mapbox is a venture-backed company with a SaaS business model, and has never been open source in total - it used to be open core with a FOSS frontend and proprietary backend. This SaaS model is absolutely the best way to fund huge companies and give investors a return. Mapbox has also done the bulk of innovation in o…
Private ownership economy doesn't work for zero marginal cost products even in theory. It's a huge waste of our resources and a big hinderance to progress.
Re: Protomaps – A free and open source map of the world
#104Earlier quoted context omitted.
Exactly the kind of thing that could be downloaded using Bittorrent!
I assume that would require BitTorrent v2 (and I think more specifically something along BEP-46 - Updating Torrents Via DHT Mutable Items) or your map is gonna be out-of-sync and sad after a while.
(is it like, your torrent client will silently update files, and if you dont want to update anymore you need to pause? can you still seed if you dont want to update?)
Re: Protomaps – A free and open source map of the world
#105Worth mentioning this project ( https://github.com/onthegomap/planetiler ) that lets you create osm mbtiles and pmtiles pretty easy!
Re: Protomaps – A free and open source map of the world
#106For me the most interesting part is “PMTiles”: > PMTiles is a single-file archive format for pyramids of tiled data. A PMTiles archive can be hosted on a storage platform like S3, and enables low-cost, zero-maintenance map applications. > PMTiles is a general format for tiled data addressed by Z/X/Y coordinates. This can be cartographic basemap vector tiles, remote sensing observations, JPEG images, or more. > PMTile…
Re: Protomaps – A free and open source map of the world
#107Not sure if op is affiliated, but I recommend increasing the font size of the street names as you zoom in. Look forward to using this in the future
That is a constant problem on Google's and Apple's phone maps. The names are almost unreadable to many people I've encountered with vision in the normal range of issues (e.g., wear glasses, etc.).
Re: Protomaps – A free and open source map of the world
#108Earlier quoted context omitted.
Mapbox is still the best choice where a polished suite of mapping APIs is a better fit for a project. Mapbox is a venture-backed company with a SaaS business model, and has never been open source in total - it used to be open core with a FOSS frontend and proprietary backend. This SaaS model is absolutely the best way to fund huge companies and give investors a return. Mapbox has also done the bulk of innovation in o…
> The ideal software economy is one in which innovators capture a good portion of the wealth they create. Beg to differ, the ideal software economies maximally empowers end-users at the absolute minimal cost. Innovators can and should leave substantial cash on the table. They should see themselves as stewards of a public good.
I think that goes a bit far. They don’t absolutely _have_ to. It’s just nice if they do.
Re: Protomaps – A free and open source map of the world
#109Earlier quoted context omitted.
Cloudflare: 100GB hosting is $1 and $.36 for 10 million requests. If you read the Protomaps docs it explains how to cache the requests on Cloudflare CDN so you only have to pay for each tile request once per cache period. It's quite cheap. Edit: previous submission title for Protomaps: Serverless maps at 1/700 the cost of Google Maps API
Okay but the question was what it actually costs, not what our favorite mitm provider offers as a commercial service (they have the worldwide hardware and sufficiently deep pockets to offer this at a rate that guarantees gaining market share, below the cost price of normal hosting providers)
Re: Protomaps – A free and open source map of the world
#110I really wish there was a PMTile implementation for MapLibreGL Native like there is for the JS side (I believe the JS side actually has a way to add arbitrary data protocols). Of course I could stand up some sort of worker or function to sit in the middle, but having this all work client side on Android and iOS would be a game changer for me!