Back to the changelog
RecordedRoutingImprovedAvailability unverified

Cycling and walking routes know about hills

The Canada graph is rebuilt over our own 30 m national elevation model, so every edge carries a grade and bicycle and pedestrian times reflect the climb. Driving times are unchanged: Valhalla's auto and truck costing have no grade term, which is why use_hills is a 400 on those modes rather than a no-op.

  • bicycle and pedestrian durations and isochrones now account for terrain, with no parameter needed
  • use_hills from 0 (avoid climbs even for a longer route) to 1 (indifferent), on bicycle and pedestrian only
  • Grades come from NRCan MRDEM-30 at 30 m to 85 degrees north, the same model the outdoor styles shade with; SRTM, which most engines use, stops at 60

AvailabilityAvailability was not re-checked against production for this record. The note says bicycle and pedestrian times use grade, and use_hills is rejected on driving modes.