time dependent weighting could be done but is not supported out of the box

to add edges to the graph you just call
edge=graph.edge(nodeA, nodeB);
edge.set...

Now in a custom weighting you check the time against some timetable you
store elsewhere. Of course this won't work with CH enabled.

Peter

On 23.11.2014 11:16, Yang wrote:
> right now OSM data contains only roads. but if I want to plan a longer
> trip, by including air travel too, I need to add airlines as edges. 
>
> but airline info changes very dynamically (ticket prices etc), so I
> can only merge this information dynamically. so if I already have a
> osm.pbf file, how can I incorporate more edges?
>
> thanks
> Yang


_______________________________________________
GraphHopper mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/graphhopper

Reply via email to