General speed params

Hello, I’ve started working on justyfing general speed (time of traveling). I see some params in my profile class CarFlagEncoder - I can change speed on defaultSpeedMap depends on type of the way.

And my question: Are there any more params which are responsible for speed?
I mean, for example: when I have any route which inculdes secondary (60) and tertiary(50) can be there any possibility of changing speed because of bad surface, barriers or some special settings etc ? Or I have ony two speeds 60 and 50. ?

Have a look into custom profiles: graphhopper/ at master · graphhopper/graphhopper · GitHub

If you want to start from scratch (not basing the ETAs on cars) you can see the recently introduced roads TagParser (previously named RoadsFlagEncoder).

Powered by Discourse