I work in a small municipality so we don’t really have the resources to do the integration ourselves. What we did was find a company which specializes in making google maps like APIs/integration to osm as well as having a support line that can correct osm mistakes for us.
This is not free, like doing the integration ourselves would be. I can’t give you the exact price, but it is a lot cheaper than google maps and it’s worked great for us for several years now.
We did by a package with little osm support because we can update osm ourselves, but calculating routes is something we could never do within our budget.
If your country doesn’t have any companies offering these types of osm services, then I bet you could make a lot of money by building it though.
Perfect example of stifling regulations hurting the average person.
If it did not have that snark though, one could make the point that the data could still be 'deanonimitized'.
This is a guess, but I suspect the point had to do with data privacy. Maybe someone wrote legislation that prohibits public websites from hosting ads, or third party browser-tracking software. And google maps fits that.
In the parent comment, there's also this bit:
> but it is a lot cheaper than google maps
If true, this is an example of government regulations working as intended, and saving money.
Plus volunteers to answer any and all support requests? And the tile rendering needs to be fast? $5/month isn't enough hardware to a world-wide tile server and it sounds like users aren't willing to pay for setup costs.
> just want to "throw in a map", I don't want to spend a day+ doing it.
There's plenty of SaaS offering OSM tile hosting. If those are too expensive (quite more than $5/month, some have pay-as-you-go pricing) it's an indication running those servers is more complex than it seems.
> Where the whole process shouldn't take more than 10 minutes
That said, check out https://openmaptiles.org/docs/ installation. (They will charge up to 1000 USD for commercial use, free for personal project).
But on a serious note, yes, it would be nice if there was some pre-built container that just served the OSM tiles on an HTTP port. I imagine most people integrating OSM want to use their existing static-file-serving setup, which is why it doesn't already exist. (Or maybe it does, I haven't looked.)
In the end, Google Maps is free for 25,000 map loads per day and you don't have to run any servers. I'm guessing this is why it's more popular. The $5/month the OP ballparks as a price is how much Maps would cost for 760,000 map views per month. In the end, I doubt you'd do a lot better than that unless your bandwidth is free or you're serving a lot of maps. This, I guess, is why OSM isn't much more popular. The map data ends up not being the expensive part; bandwidth/hosting is.
I think the innovation in OSM is being able to use it for whatever you want. Garmin bike GPSes don't even use Garmin's own map data anymore; it's apparently cheaper for them to just use OSM data. That's because they don't have to pay the bandwidth hosting costs, they just dump the data out of the database and give people that care an update every 6 months. Each incremental map render costs them nothing, and nobody can stop them from using the data however they want. Pretty interesting that it ended up a better deal for them than using the maps they collected themselves (and probably supplemented with other vendors' data that won't let them use it on that "download once, use forever" model.)
This statement is true for a few more hours. As the headlined article informs us, Google changes its pricing plan tomorrow, 2018-07-16. Instead of 25000 free loads per day, as of tomorrow people get USD200 credit per month, on accounts that now must be backed by credit cards (or have billing enabled). Google tells us that a credit of USD200 per month is equivalent to 28000 free loads (of a dynamic map) per month (not per day).
* https://cloud.google.com/maps-platform/pricing/sheet/
* https://cloud.google.com/maps-platform/pricing/
Hence the timing of the OpenStreetMap article, of course.
On a related note, Firefox on Linux came with duckduckgo as default and I am so impressed with it's search results. Unfortunately their API does not return the same quality of results
I gave DDG a new chance a few months ago, first just on my phone as a pilot. It was good enough that I switched on all my devices. Huge difference from a few years ago!
I'm sorry you've had problems adding your card. If there is a systematic problem with some bank, I can sometimes do something about it (but no guarantees). I've added my work email to my HN profile, incase you want to reach out to me.
You assume wrong. :)
It takes an hour or so to get a tileserver up and running with the switch2osm instructions. I've done it countless times. (You do then need to wait for the Postgres database to populate, but that's just fire-and-forget.) They're written for Ubuntu LTS versions so the "newer versions" issue doesn't arise.
Or if Docker's your bag, you can get a ready-to-go image from openmaptiles: https://openmaptiles.com/server/
> where anyone can spin it up for $5/mo
Not gonna happen. Running a worldwide map server needs a lot of (SSD) storage and decent CPU. I have a £10/month Hetzner VM just to do geocoding (with Photon: https://github.com/komoot/photon) so you aren't going to get a tileserver for half that - and that's no surprise; OSM is ultimately competing with Google, and you can't really expect to host your own Google for $5. But there are plenty of hosted options with tiered pricing.
It is a one-liner:
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'}).addTo(map)But this amount of work is just too much.
Besides running your own tile server I'm also having problems using OSM to navigate. In the meantime I use G-Maps for stuff that is important and when I have to find my route quickly, it's just more reliable (it hurts to say that).
But frankly, it seems it's still a lot of work to build OSM into your own website/app, setting up your own tile server.
I know there are instructions for this [1] [2] -- but to really get popular, it seems like there really ought to be up-to-date, auto-updating, officially recommended and totally secure server images on Digital Ocean, AWS, Google Cloud and Azure where anyone can spin it up for $5/mo without even ever having to SSH in once (except to update the root password), and then embed a live JavaScript map into their web page with two lines of code -- one to load the library, and one to insert a live map of a given size centered on a given location. Where the whole process shouldn't take more than 10 minutes, and most of that is waiting for the image to be copied to your server.
I've Googled but I can't find anything like that -- with the links below, I assume I'd be using at least a day to set things up, especially since setting up servers from online tutorials never goes smoothly, as you have to google error messages that arise since newer versions have changed slightly since the tutorial was written... And most times where I just want to "throw in a map", I don't want to spend a day+ doing it.
[1] https://switch2osm.org/manually-building-a-tile-server-18-04...
[2] https://ircama.github.io/osm-carto-tutorials/tile-server-ubu...