Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hyperknot
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
91.
▲
by
hyperknot
2y ago
Thank you so much for your donation, it's appreciated!
92.
▲
by
hyperknot
2y ago
They are providing the building blocks for making a self-hosted vector tiles server, they don't actually host the tiles.
93.
▲
by
hyperknot
2y ago
Yes, you need a dedicated server with 128 GB RAM to generate the tiles. For hosting the tiles, you can use anything with 300 GB disk space, CPU is not important.
94.
▲
by
hyperknot
2y ago
Yes, exactly, it's to save space. For example there is one such tile for "ocean", which covers 70% of earth. In total, there are 271 million hard links. So out of 300 million files 271 are hard links! The file system limit is
95.
▲
by
hyperknot
2y ago
Thanks, I've thought about it and rewritten the whole donations / sponsorships / support plan section. What do you think?
96.
▲
by
hyperknot
2y ago
That's great to know! I know of one story where someone got terminated on Hetzner because of the bandwidth but it turned out he was also running a Tor node.
97.
▲
by
hyperknot
2y ago
Someone making a Docker image from this. Instead of using Fabric's commands like c.sudo('git clone ...') it'd use the RUN commands. I think it would be quite a straightforward task to transform it into a Docker file. I&
98.
▲
by
hyperknot
2y ago
This is totally customizable and the house numbers are already present in the original data, it's just not displayed in the default styles. You can customize the style by using the Maputnik editor, house numbers are visible in the &quo
99.
▲
by
hyperknot
2y ago
Thank you very much, and also thank you for your donation!
100.
▲
by
hyperknot
2y ago
Yes, I was thinking about that, it might actually be a good idea. Provide a premium service with SLAs, while providing the SLA-less service for free, with two pool of servers.
101.
▲
by
hyperknot
2y ago
So Protomaps is a really full stack map platform, they are competing with kind of like 3-4 projects at once: - There is the Protomaps schema. It's competing with OpenMapTiles and Shortbread ( https://shortbread-tiles.org/
102.
▲
by
hyperknot
2y ago
PMTiles could come up with a version in the future where instead of one 90 GB file, they have 9 thousand 10 MB files. That would work well I believe.
103.
▲
by
hyperknot
2y ago
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.
104.
▲
by
hyperknot
2y ago
I definitely not want to charge for requests, that's the founding principle of this project. And the risk of this project is largely mitigated by offering the full repo as open-source, so you can always self host this if needed.
105.
▲
by
hyperknot
2y ago
Thanks a lot for the offer, I'll definitely reach out!
106.
▲
by
hyperknot
2y ago
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, op
107.
▲
by
hyperknot
2y ago
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
108.
▲
by
hyperknot
2y ago
Thanks! I don't know where you'd be able to get property boundaries, I guess it's usually not open-source / public data? Probably depends on the country / city.
109.
▲
by
hyperknot
2y ago
Round Robin DNS. The browser selects the best server, based on ping or some other internal metric. Also thanks for the donation!
110.
▲
by
hyperknot
2y ago
Bunny is also $10-$60/TB/month. I believe Hetzner should not have any problem with using 100 mbps out of the 1 Gbps on their servers. That's 30 TB/month for free, per server. It'd be $300-$1800 per month on Bunny.
111.
▲
by
hyperknot
2y ago
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 publi
112.
▲
by
hyperknot
2y ago
Satellite images are definitely expensive, they are by far the biggest cost for MapHub. I spend more on satellite images per month than on servers. I couldn't find a high quality satellite images from free sources.
113.
▲
by
hyperknot
2y ago
At Hetzner, the bandwidth is unlimited in theory. In practice, there are stories of terminating accounts of those who used too much. I don't think this project will ever make $2k per month. TBH, I'd be happy it it ever reaches $20
114.
▲
by
hyperknot
2y ago
Thanks a lot for your words! I'm also curious whether the donations will be able to cover the bandwidth costs. Currently I'm paying for 3 dedicated servers at Hetzner and getting a total of $11 per month from donations.
115.
▲
by
hyperknot
2y ago
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.
116.
▲
by
hyperknot
2y ago
CloudFlare buckets don't support indexing / directory listing, so you need to get the exact URL. To help with this, here is a file listing the content of the bucket: https://btrfs.openfreemap.com/files.txt
117.
▲
by
hyperknot
2y ago
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.
118.
▲
Show HN: OpenFreeMap – Open-Source Map Hosting
(openfreemap.org)
848 points
by
hyperknot
2y ago
|
234 comments
119.
▲
by
hyperknot
2y ago
I think he meant How?, meaning normally a calibration is placing indoor monitors outdoors for 20 mins.
120.
▲
by
hyperknot
2y ago
If you have any questions feel free to ask.
More ›