Overview
Since last report I worked on adding via points support to maps.I updated the interface with GraphHopper and now it can manage also via points. You can have a demo in the below video.
I was waiting for the markers bubble that will based on GtkPopover and the sidebar baseline, so I started studying the best solution for the alternative paths problem.
New sidebar mockups
Some of you remember that in my last post I also talked about the new sidebar, for those of you that are impatient Andreas made some fresh mockups.![]() |
Sidebar and new interactions mockups |
Studying best solution for supporting alternative paths.
In the last days I'm working also on alternative paths. GraphHopper currently is missing this feature. First of all I had some lectures about road network algorithms (Dijkstra, A*, Arc Flags, Highway Hierarchies and Contraction Hierarchies). Thanks Peter Karich for supportI also investigated on some solutions for the alternative paths problem. I need some more time but today the options are:
- k-shortest path
- pareto optimality
- penalty approach
- plateau method
You should check out OSRM: https://github.com/DennisOSRM/Project-OSRM
ReplyDeleteIt can be used as library, there is no need to reimplement all this fancy algorithms.
I'm using GraphHopper: http://graphhopper.com/
ReplyDeleteFaster then OSRM, I just have to implement alternatives for them.