Skip to main content

Module routing

Module routing 

Source
Expand description

Local OSM road routing using Overpass API.

Structs§

BoundingBox
CacheStats
Coord
NetworkConfig
NetworkRef
RAII guard providing zero-cost access to a cached RoadNetwork.
RoadNetwork
RouteResult
Slowdown
Roads that take factor times as long to drive: every road of the listed classes (every road when none is listed), only where they lie in area when one is given. An edge lies in an area when its midpoint does.
SlowdownError
A slowdown factor that is not a finite number above zero.
SnappedCoord
SpeedProfile
StreetRun
One named street along a route, with the distance covered on it.
TravelTimeMatrix

Enums§

BBoxError
ConnectivityPolicy
CoordError
Objective
RoadClass
The class of road an edge belongs to, from its OpenStreetMap highway tag. A link (motorway_link) belongs to the class of the road it serves.
RoutingError
RoutingProgress
SnapAccess
How an itinerary may traverse a snapped location.

Constants§

UNREACHABLE

Functions§

haversine_distance

Type Aliases§

RoutingResult