You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Custom models: Is "add" supported for speed or is this just undefined behaviour? #3347
Currently add is only supported for turn_penalty and cannot easily be added as it is.
I move this discussion to the main repository because add works for speed (see below). Is the support for add as an operator for speed a bug, a feature or undefined behaviour?
Example with GraphHopper 11.0 routing through Karoline-Luise-Tunnel in Karlsruhe:
average_speed reported in the details is 195 km/h in the first example.
Is this undefined behaviour? Should GraphHopper raise an exception?
To Reproduce
GraphHopper master (commit ) or version 11.0 (both tested)
default config-example.yml as shipped with those versions
import: java -Ddw.graphhopper.datareader.file=karlsruhe-regbez.osm.pbf -Ddw.graphhopper.graph.location=graph-cache -jar web/target/graphhopper-web-12.0-SNAPSHOT.jar server config-example.yml (different path to .jar file for 11.0 of course)
Reported travel times differ by 1 to 3 seconds between GraphHopper 11.0 and master but the general behaviour is present in both.
Activity
karussell commentedon Apr 28, 2026
"add" is supported for speed (and should work) but not for priority.