Live data from Hacker News

Show HN: OpenFreeMap – Open-Source Map Hosting

openfreemap.org

181–190 of 243 posts

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

#181

Earlier quoted context omitted.

I see you're sourcing images from Wikimedia. Have you found any other good sources? I'm working on indexing images by place taken for my own project and am primarily very slowly and jankily enumerating the flickr API. (You can see https://plantopo.com/geophotos for a pre-alpha view of where I have coverage. Zoom in where there are blue dots and click the map to search. Don't click Oregon or Washington because of a bu…

Wikimedia is a totally underrated source of photos. The problem is filtering good ones. See my PR of the day, where I'm using only the images that are featured on Wikipedia pages. It gives better results than google maps in lots of places. Also some weird pictures like logos but I'm confident they can be ruled out. Your map is cool ! https://plantopo.com/geophotos#13.92/50.91621/-1.37752 https://cartes.app/?photos=ou…

Interesting! I'll definitely check out Wikimedia.

My project is for planning hiking trips so the areas I'm searching typically are places in the wilderness that don't have many photos. Right now I'm not doing any ranking. I just semi-randomly take ten photos for the search area.

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

#182
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.

If I were running fastly, I'd donate bandwidth so that you would implement turn-key, bring-your-api-key fastly support to your open source setup!

As for other cdns - I remember https://neocities.org/ built their own cdn - but I couldn't immediately find a blog post about the cdn, or something related in their GitHub (unless every node runs part of it, which would make sense, I guess).

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

#183

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…

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

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

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

#184
Thank you so much for sharing the setup and the hosted service.

I'm a little curious about the setup bit for (self) hosting - it's essentially a series of bespoke python scripts? Not cloud init, not Ansible - and not shell scripts - nor Terraform/tofu.

Would love to hear a few thoughts of how you arrived at this setup - and if you re-use parts for other projects?

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

#185
post #184

Thank you so much for sharing the setup and the hosted service. I'm a little curious about the setup bit for (self) hosting - it's essentially a series of bespoke python scripts? Not cloud init, not Ansible - and not shell scripts - nor Terraform/tofu. Would love to hear a few thoughts of how you arrived at this setup - and if you re-use parts for other projects?

Not OP but I do the same thing, except with NodeJS.

I spent a long time learning Salt stack (like Ansible) but it never really paid off. When you're writing o config to set up one specific project on known infrastructure you might as well just code it in the scripting language you like best.

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

#186

I've been using Google maps for a decade, and when they started offering a $200 credit, it was fine until my bill started going up to $200-300 after the credits. It's for a hobby project that's outlasted well-funded projects, so the traffic kept increasing as competitors folded. A few years back, I tried to run my own tileserver, but the difficulty of creating an updated vector tileset put me off, and I just continue…

If you can be more specific in your questions I can probably help. I've been full time consulting in mapbox and maplibre for 7 years.

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

#187

Earlier quoted context omitted.

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

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

Yeah there are some pretty specific requirements for the server hosting the PMtiles that weren't well documented when I last looked at it.

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

#188
post #175

Earlier quoted context omitted.

My main project is MapHub, it gives me my income. It's not an income like you'd get in a FAANG job, but still, I'm running it for making a living. For MapHub to work, I had to invest in my own tile server infrastructure: there is no way I could have made MapHub financially profitable with a 3rd party tile provider. So I kept iterating and iterating on the tile server infrastructure and after 9 years I arrived at a st…

As long as it stays with one server that’s fine. But what do you do in the hypothetical scenario that Facebook decides to use your tile server? Nginx is fast, but I think that’s asking too much of it. Of course that problem hasn’t happened yet, but it’s what I’d be worried about.

I have actually worked on Facebook's mapping infrastructure. They moved away from Google Maps and Mapbox because they wanted maximum control.

The specific example you give is not going to happen.

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

#189

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

Yeah it is way easier for someone at a company to get approval for a paid service than for a "donation" of any kind, which raises lots of red flags.

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

#190

I've been using Google maps for a decade, and when they started offering a $200 credit, it was fine until my bill started going up to $200-300 after the credits. It's for a hobby project that's outlasted well-funded projects, so the traffic kept increasing as competitors folded. A few years back, I tried to run my own tileserver, but the difficulty of creating an updated vector tileset put me off, and I just continue…

If you can be more specific in your questions I can probably help. I've been full time consulting in mapbox and maplibre for 7 years.

Thanks, I mainly want to be able to load either mapbox-gl or its alternatives, then not change the rest of my code. I don't yet know how incompatible mapbox-gl 3 is with the libre options.
Post reply on HN