|
|
|
|
|
by skimpycompiler
4064 days ago
|
|
Google Maps is just too expensive and its pricing model isn't exponential at all, it's not even quadratic. Very common operation is looking for pairwise distance matrix. Pricing and limits are totally irrational. 100,000 daily limit is totally impossible for an app with 10 users. 100x100 = 10,000 :D Given that Google probably has all of the distances cached somewhere on their servers, I see no technical reason why this limit can't easily be increased. My app can have millions of shortest paths requests per day, and I certainly do not have Google's infrastructure. I get incomparable functionality using OSM. |
|
The osm datasets actually aren't that big, the entire PBF formatted dataset is <30GB. You can fit that on any system (not in RAM of course but hard disk access is still a million times quicker than using an online service). There are simple scripts to keep the dataset in sync on your server.
Also it's just completely fucking ridiculous to send a request over the internet to perform a calculation.
I encountered the issue myself ages ago where i had a task to reverse geocode for a railways GPS system for every train every minute. Google and other services would have costed millions of dollars every year, used massive amounts of bandwidth and been waaay too slow. I wrote a library - https://github.com/AReallyGoodName/OfflineReverseGeocode in a day that could easily do millions of lookups each minute.