Live data from Hacker News

Show HN: OpenFreeMap – Open-Source Map Hosting

openfreemap.org

221–230 of 243 posts

Re: Show HN: OpenFreeMap – Open-Source Map Hosting

#221
post #15

FYI if you need a CDN you can get bulk pricing from fastly with a monthly commitment. I'm not sure if their hosting works for you because you might be serving byte ranges. I think we're paying 2k/month usd for like 300TB/month. Backblaze-to-fastly is free, so no egress. Love your project, more power to you. I'll be using this for a few side projects for sure.

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 $200 per month. I have to be very careful about what hosting providers to use and CDNs are out of the question.

The problem with hetzner, or any point solution, is that at some point you will saturate your bandwidth - either on the network or storage side.

Maybe it's worth front-ending it with cloudflare free, just to see/measure cache hits/requests/bandwidth?

Re: Show HN: OpenFreeMap – Open-Source Map Hosting

#222
post #221

Earlier quoted context omitted.

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 $200 per month. I have to be very careful about what hosting providers to use and CDNs are out of the question.

The problem with hetzner, or any point solution, is that at some point you will saturate your bandwidth - either on the network or storage side. Maybe it's worth front-ending it with cloudflare free, just to see/measure cache hits/requests/bandwidth?

Cloudflare Free is a good idea, but I'm afraid they'd be the one who limit me before. There is a comment in this thread who did 150 TB+ on Hetzner. I don't believe Cloudflare Free would allow 150 TB, not alone 300 TB in a month (I use two servers currently).

Re: Show HN: OpenFreeMap – Open-Source Map Hosting

#223

Earlier quoted context omitted.

Yes, small files can fit in the metadata, which makes a super big difference when you have 300 million files of 405 bytes each. Also, inode handling is way better compared to ext4.

Oh neat! Thanks! I'm checking the docs and I guess you're referring to "Inline files". I don't have much knowledge about btrfs, so I didn't know... The nearest thing (and it's not really really similar, just related) that ZFS has is special VDEVs. When you have an array of disks (usually "slow", like regular HDDs) you can attach to it another array of disks (usually very fast, like NVMe) where you can store metadata…

Yes, the key thing about Btrfs is how it handles inodes and how it can store data with the metadata. In the OpenFreeMap image, 60% of the files are stored with the metadata, essentially taking up no space.

Re: Show HN: OpenFreeMap – Open-Source Map Hosting

#224
post #2

This is neat! After the huge price increase a couple years ago with GMaps, it looks like you’ve come up with a creative way to offer much of the same functionality for most users. It’s unfortunate to still see small business sites to this day with error messages on their map widgets because of the API change from Google. I know nothing about mapping, but I’ve always had a dream of making a private neighborhood map wh…

If you live in the US, you can get parcel information from your local tax assessor's website, usually. Sometimes it's devoid of owner information. Such cases usually require going to a company like ReGrid or Corelogic to purchase the data. I work for a company (onXmaps) which produces user-friendly maps of such information. You could use our app to create such a "rolodex" of your neighborhood, by annotating individua…

Thanks, Tony! I’m actually an Elite member of the off-road flavor! Is your recommendation to essentially use waypoints for the info?

In my mind I’d really like to host my own map which neighbors could share, just starting from a baseline of parcel boundaries and a way to drop info on each plot (onX does this wonderfully already).

Back in the day, my mom would make a little neighborhood diagram using MS Publisher and drawing boxes at the approximate locations of houses, and include names & phone numbers of each house. She would then distribute copies to the neighbors to hang on fridges. I loved that idea and basically want an online version of that, in a perfect world!

Re: Show HN: OpenFreeMap – Open-Source Map Hosting

#225
post #133

Something I'd be willing to pay for is historical tiles/data. I'm writing an application that lets you view historical data, and the problem is that most/all map services show only current data. It would be nice if the map reflected the year of the data we're layering on top. So if you want to make some money, there's an option for you!

I think you’d be interested in Pastmaps:

https://pastmaps.com

Re: Show HN: OpenFreeMap – Open-Source Map Hosting

#226

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 sc…

To be clear, OpenMapTiles is kept up-to-date. The latest version was published in April: https://www.maptiler.com/news/2024/04/openstreetmap-data-pre...

Re: Show HN: OpenFreeMap – Open-Source Map Hosting

#227

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 sc…

To be clear, OpenMapTiles is kept up-to-date. The latest version was published in April: https://www.maptiler.com/news/2024/04/openstreetmap-data-pre...

I 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.

Re: Show HN: OpenFreeMap – Open-Source Map Hosting

#228
post #39
post #32

I really like the idea. Why OMT instead of protomaps? The latter is clearly where the community is moving towards (albeit very slowly). I'm somewhat sceptical about the "free with no API keys" idea. I guess your service is not guaranteed to be up so no one too big will rely on it. But what if you start getting abuse or someone using them on some humongous site (e.g. one of those cheap restaurant email builders that a…

From the FAQs on GitHub [1] > What about PMTiles? > I would have loved to use PMTiles; they are a brilliant idea! > 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. > If PMTiles implements splitting to [1] https://github.com/hyperknot/openfreemap

If you store the PMTiles in S3 or any other object store that supports HTTP Range Requests, that's a no-brainer... In a normal disk on you own server, this might become interesting, yes.

Re: Show HN: OpenFreeMap – Open-Source Map Hosting

#229
I created a similar project, https://serverlessmaps.com which lets you host PMTiles on S3 and CloudFront, with a Lambda@Edge layer where you could also do auth...

With 1TB free traffic from the CDN, and pretty small costs for S3 and Lambda@Edge, it's probably even cheaper to self-host I guess. Even lower costs would be possible by entirely using CloudFlare services (CDN, R2)...

Re: Show HN: OpenFreeMap – Open-Source Map Hosting

#230
post #229

I created a similar project, https://serverlessmaps.com which lets you host PMTiles on S3 and CloudFront, with a Lambda@Edge layer where you could also do auth... With 1TB free traffic from the CDN, and pretty small costs for S3 and Lambda@Edge, it's probably even cheaper to self-host I guess. Even lower costs would be possible by entirely using CloudFlare services (CDN, R2)...

Replace lambda by DBOS and you'll cut down the cost by 15x, at least, and save you a lot of time developing (SAML sucks)
Post reply on HN