itinero / routing

The routing core of itinero.
Apache License 2.0
221 stars 70 forks source link

Question: Dynamic weight in contracted mode #233

Closed uu3474 closed 5 years ago

uu3474 commented 5 years ago

Hi, itinero is nice project and very help me with my problems. I'm trying to make routing with traffic jam. With my own implement of WeightHandler. It's works fine without contacted mode, i can easily get edge id and edge profile id. But in contacted mode, graph is different, and edges ids is different too. How can i convert contracted edge to obvious edge? Is this possible?

uu3474 commented 5 years ago

i use ExpandEdge, that is DirectedMetaGraph extension, maybe this help someone

xivk commented 5 years ago

This is not possible with the current implementation of contraction hierarchies. We do plan a solution for this using customizable contraction hierarchies but we can't really say yet when we have this done.