| Forum | GitHub | Maps | Blog

Are time dependent edge weights possible?


My current understanding is that edge weights can not be made time-dependent. Is this correct?


You can’t do time-dependent routing atm, yes:

You can do routing with changing weights based on a fixed time (list of weights per edge) or similar.


ah, so the use of lists of weights per edge sounds interesting. Do you have a link to a use case?


No, but this should not be hard via an array ala weight[edgeId][timeSlice].

I would use DataAccess instead of an array to grow unlimited and have it stored on disc. Additional care needs to be taken for virtual edges but then it should work.