Very curious to know more about this, regarding PMTiles: > Unfortunately, making range requests in 80 GB files just doesn't work in production. It is fine for files smaller than 500 MB, but it has terrible latency and caching issues for full planet datasets. Wondering which part incurs the latency here.
I explained a bit about PMTiles in this comment: https://news.ycombinator.com/item?id=41636376 In summary, on a cold start (so now when it's on HN it might be totally meaningless), the following page loads in like 8-10 sec for me: https://pmtiles.io/?url=https%3A%2F%2Fdata.source.coop%2Fpro... Technically why it's slow is entirely on CloudFlare, so I can only guess. But probably they are not mirroring files of this s…
Show HN: OpenFreeMap – Open-Source Map Hosting
81–90 of 243 posts
Re: Show HN: OpenFreeMap – Open-Source Map Hosting
#82Earlier quoted context omitted.
As far as I know, there are no "Free Map Tiling provider"-s. This project aims to be exactly one. You can use it with Leaflet using the https://github.com/maplibre/maplibre-gl-leaflet plugin.
I asked the question as a top level comment but also duplicating here. Isn't Apache Baremaps a "free map tiling provider"? Or do I misunderstand what a tiling provider is? https://baremaps.apache.org/
Re: Show HN: OpenFreeMap – Open-Source Map Hosting
#83Re: Show HN: OpenFreeMap – Open-Source Map Hosting
#84Earlier quoted context omitted.
Currently I'm paying for 3 dedicated servers at Hetzner and getting total donations of $11 USD per month. Making this automatic might not be easy, but I might do it one day, it might help with the donations.
>getting total donations of $11 That total has gone up. :-) Not currently having any plans of using openfreemap, but I like the cut of your jib. I'm currently in the process of generating aerial tiles for Colorado, and updating 2 of our map tile sets (bitmap tiles, Here and OpenStreetMap), but at some point we should switch to vector tiles. When we do I'll try to get a business sponsorship going, but it is nearly imp…
Re: Show HN: OpenFreeMap – Open-Source Map Hosting
#85I understand you don't plan to make money, only to cover costs. Nevertheless, I believe you would benefit from a more explicit "business plan". Your Gold support plan kind of fulfills that purpose (email support and an invoice), but right now it's kind of hidden in the middle of a donation request, and flavored as a donation. You might convince a lot more mba-type people to support you if you also extend the same off…
Do you think it'd be more clear to only accept donations on GitHub Sponsors and only offer actual support plans on the website? I mean actual email support, helping companies migrate their existing map stack to OpenFreeMap.
Re: Show HN: OpenFreeMap – Open-Source Map Hosting
#86I currently use the cyclosm[1] as a tile map for my small web app. I'd love to use OpenFreeMap instead, as cyclosm is quite slow. Is there any way I can do this for bicycle maps? Awesome project. [1] https://www.cyclosm.org
Re: Show HN: OpenFreeMap – Open-Source Map Hosting
#87Looks great love the free tiles and no limits or API keys. Question, why use btrfs?
So a full planet OSM extract is about 300 million binary files, in total about 90 GB. The most popular ways to store it: - MBTiles - an SQLite file, each file is a row in a table, you need a server to serve it. - PMTiles - a single file, optimised for serverless usage. - Extract them into a directory, which in practice should be on a partition image. This is the approach I choose. I tested ext4 and Btrfs and I choose…
Re: Show HN: OpenFreeMap – Open-Source Map Hosting
#88On top of a custom protomaps tileset and a few other MapTiler options (such as satellite and hiking), it packs a search engine, a basic OSM place UI, transit calculators (walk, bike with profiles, transit, car), small features like ruler and favorites, transit maps, photos of places, place search by categories, and the French open source street view Panoramax.
Of course, given the scope, its alpha software.
It's built locally for France and French speaking users, though most of the code is English, some data sets are not. I'm spending ~ 50 % working on transit, lots need to be done.
You can test it here : https://cartes.app.
The aim is not to provide map tiles as an API to other project, but to build a UI on it.
Re: Show HN: OpenFreeMap – Open-Source Map Hosting
#89Earlier quoted context omitted.
I'll write a detailed blog post for that, definitely. Basically Protomaps / PMTiles allows you to do this serverless, but it has it's downsides. There are two ways to use PMTiles with Cloudflare: - Putting the file in a public bucket and use HTTP range requests. - Deploy a worker to access it. For the range request version, you can test PMTiles here: https://pmtiles.io/?url=https%3A%2F%2Fdata.source.coop%2Fpro... . I…
I'm the developer of Protomaps, to summarize: The latency you see on https://pmtiles.io/?url=https%3A%2F%2Fdata.source.coop%2Fpro... is representative of how PMTiles works on AWS S3, coming from the us-west-2 region. It will be reasonable to load for those in the western US and likely quite slow from Europe or Oceania. If you want to make a direct comparison of Protomaps to OpenFreeMap, you need to compare serving Op…
I can imagine workers to be fast, it's the range requests which are super slow. It's also outside of your control, it depends on how Cloudflare and S3 handles range requests to 90 GB files.
I think if you could make PMTiles split into files <10 MB, it'd be perfect with range requests.
Re: Show HN: OpenFreeMap – Open-Source Map Hosting
#90I am currently exploring the open source mapping world and trying to get a better grasp of what's available. How does this project compare to Apache Baremaps (incubating)? https://baremaps.apache.org/