graphhopper / graphhopper

Open source routing engine for OpenStreetMap. Use it as Java library or standalone web server.

Home Page:https://www.graphhopper.com/open-source/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CarAverageSpeedParser should use estimated max speed

otbutz opened this issue · comments

The MaxSpeedCalculator is currently called in GraphHopper.postImport() to fill in the missing max_speed values. This is too late for the values to be picked up by the CarAverageSpeedParser.

It is not possible because we need urban_density for max_speed and urban_density is only available once we have all the road network. But you can use a custom model to limit the car speed to max_speed.