Hi Mani,

you can pass this time parameter in the WeightingMap (filled from
ghRequest.getHints, which is filled from URL parameters) which is
available in every Weighting:
https://github.com/graphhopper/graphhopper/blob/master/core/src/main/java/com/graphhopper/routing/util/FastestWeighting.java#L45

Kind Regards,
Peter

On 28.07.2015 09:32, Manikanta Kondeti wrote:
> Hello, 
>
>    I am working on a project where there is a need for handling time
> based restrictions. So I've written a temporal weighting class which
> filters based on the curr time. So my question is can we calculate
> this curr time param and pass it to the temporal weighting class? If
> so will it be accurate for bidirectional A*? Please help where to start.  
>
> Thanks,
> Mani 
>
>
> _______________________________________________
> GraphHopper mailing list
> [email protected]
> https://lists.openstreetmap.org/listinfo/graphhopper

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

Reply via email to