News for hackers. Stuff that matters.
Re:Organicmaps: Android and iOS offline maps app for travele... by flakiness on Thursday June 17, 2021 @04:41PM (#27544328)
I would love to learn how the routing algorithm works. This is probably one of a few opensource-but-in-production implementation of such kind of algorithms. here seems no doc in the repo unfortunately.

Still, it's very exciting to see they started from a "Helicoptor Router" [1] five years ago! The author clearly knew what they were doing.

[1] https://github.com/organicmaps/organicmaps/commit/7123f71eec...

Re:Organicmaps: Android and iOS offline maps app for travele... by Doctor_Fegg on Thursday June 17, 2021 @07:26PM (#27545601)
I halfheartedly maintain a list of interesting open source routing implementations: https://gist.github.com/systemed/be2d6bb242d2fa497b5d93dcafe...
Re:Organicmaps: Android and iOS offline maps app for travele... by durkie on Thursday June 17, 2021 @10:11PM (#27546702)
hey systemed! thanks so much for tilemaker! it's incredibly useful.
Re:Organicmaps: Android and iOS offline maps app for travele... by Doctor_Fegg on Friday June 18, 2021 @04:07AM (#27548365)
No problem! It's come on in leaps and bounds this year thanks to a great new contributor.
Re:Organicmaps: Android and iOS offline maps app for travele... by et-al on Thursday June 17, 2021 @05:38PM (#27544737)
Valhalla is also open source and in production: https://github.com/valhalla/valhalla
Re:Organicmaps: Android and iOS offline maps app for travele... by flakiness on Thursday June 17, 2021 @06:52PM (#27545348)
It's used (or even built) by Mapbox? Very cool! Thanks for the pointer!

Leaving a couple of google results for interested folks like me:

  * https://blog.mapbox.com/mapbox-%EF%B8%8F-valhalla-1fdda95ac4f
  * https://blog.mapbox.com/valhalla-is-live-on-mapbox-d868e8d41611
Re:Organicmaps: Android and iOS offline maps app for travele... by neolog on Thursday June 17, 2021 @07:27PM (#27545607)
Re:Organicmaps: Android and iOS offline maps app for travele... by andrewljohnson on Thursday June 17, 2021 @11:39PM (#27547129)
MapBox hired the Valhalla team after Mapzen went out of business.
Re:Organicmaps: Android and iOS offline maps app for travele... by dagw on Friday June 18, 2021 @05:53AM (#27548848)
Valhalla is fantastic, especially since it can run completely offline. I had a project where I had to calculate isochrones of different radii around 10s of thousands of points. Using an online API would have taken several hours to run and cost a non-trivial amount of money.

By downloading the OSM data and running Valhalla locally I could process the data in minutes completely for free

Re:Organicmaps: Android and iOS offline maps app for travele... by erzapp on Thursday June 17, 2021 @05:14PM (#27544568)
There are some interesting resources available on the BRouter algorithm: https://brouter.de/brouter/index.html

The source code is here: https://github.com/abrensch/brouter

Re:Organicmaps: Android and iOS offline maps app for travele... by aasasd on Friday June 18, 2021 @02:32AM (#27547899)
OsmAnd also has good routing on phones. Possibly uses the algo from GraphHopper or OSRM, which are afaik go-to solutions for OSM routing.

You might be interested in links from https://wiki.openstreetmap.org/wiki/Routing

Re:Organicmaps: Android and iOS offline maps app for travele... by karussell on Friday June 18, 2021 @05:03AM (#27548608)
OsmAnd has a separate routing algorithm to my knowledge (was one of the first). It is definitely not GraphHopper as I created it later and prefer the routes it creates ;) but you can study our documentation to get a rough understanding how it all works: https://github.com/graphhopper/graphhopper/blob/master/docs/... and reach out in our forum for more details.

The algorithm from maps.me / Organicmaps is ported from OSRM to Android and iOS. The CTO of maps.me that did this port left maps.me in 2017 but now seems to work on Organicmaps again: https://github.com/biodranik

Re:Organicmaps: Android and iOS offline maps app for travele... by petre on Saturday June 19, 2021 @01:22AM (#27557992)
GraphHopper is anazing. Thank you! I also prefer the routes it creates and use it for bicycle routing.
Re:Organicmaps: Android and iOS offline maps app for travele... by flakiness on Saturday June 19, 2021 @11:51PM (#27566934)
This wiki is amazing! Thanks for the pointer!
Re:Organicmaps: Android and iOS offline maps app for travele... by jxf on Thursday June 17, 2021 @10:24PM (#27546765)
What is a "helicopter router" (helicopter routing?)? That's the first time I've heard that term and it sounds interesting.
Re:Organicmaps: Android and iOS offline maps app for travele... by flakiness on Thursday June 17, 2021 @10:32PM (#27546803)
It's a straight line ;-)
Re:Organicmaps: Android and iOS offline maps app for travele... by raffraffraff on Friday June 18, 2021 @02:47AM (#27547972)
"crow" would have been a more obvious reference
Re:Organicmaps: Android and iOS offline maps app for travele... by kortilla on Friday June 18, 2021 @04:08AM (#27548367)
You can’t ride a crow.
Re:Organicmaps: Android and iOS offline maps app for travele... by bufferoverflow on Friday June 18, 2021 @06:36AM (#27549059)
With a large enough flock you can.
Re:Organicmaps: Android and iOS offline maps app for travele... by jhgb on Friday June 18, 2021 @11:53AM (#27551661)
Gwaihir routing, then.
Re:Organicmaps: Android and iOS offline maps app for travele... by jxf on Sunday June 20, 2021 @08:36PM (#27575119)
Ha, got it. Thanks for enlightening me — that helicopter flew right over my head.
Re:Organicmaps: Android and iOS offline maps app for travele... by biodranik on Friday June 18, 2021 @06:58AM (#27549173)
It's a modified A*. Our code is open, you may learn and improve it :)