Saltar al contenido
NavTrax Sistema operativo de expedición

Platform · Routing & optimization

Nine endpoints. One route you can defend.

Most apps snap a line to a trail. NavTrax runs a routing service with nine endpoints over OSRM, Valhalla and Overpass, solves against constraints you set, then enriches the result with water, resupply, difficulty and predicted coverage before it hands anything back.

9Routing endpointsplan, scenic, optimize, by-feature, difficulty, water, resupply, elevation, health
8Travel modesHike, bike, drive, 4WD, paddle, sail, ski, mixed
4Difficulty classesEasy, Moderate, Hard, Expert — from distance, gain and grade
3Upstream enginesOSRM for road, Valhalla for multi-modal, Overpass for features

The mechanism, not the promise.

Mode dispatch
The travel mode decides which engine answers. Road goes to OSRM with the MLD algorithm; anything multi-modal or elevation-aware goes to Valhalla; trails go to a dedicated trail graph.
Constraint solving
max_distance_km, max_elevation_gain_m, scenic_preference, past_water and preferred_surface are inputs, not filters applied afterwards.
Feature enrichment
Overpass queries pull rivers, lakes, waterfalls and viewpoints for scenic routing, and water sources and resupply points for the corridor.
Difficulty classification
Easy under 8 km, 300 m gain and 10% grade. Moderate under 16 / 800 / 15%. Hard under 32 / 1600 / 25%. Expert beyond any of those.
Coverage forecast
The finished line is run through the terrain-occlusion signal predictor so you know where the bars end before you walk into it.

What you actually get.

01

Multi-modal in one plan

Hike to a put-in, paddle a river, portage, then ride out. The router treats mode transitions as first-class rather than making you plan three separate routes.

02

Scenic and feature-seeking

Route past rivers, lakes or waterfalls by preference. The engine queries the actual OSM features rather than guessing from a photo database.

03

Water-aware

A dedicated endpoint finds water sources along the line, with community-reported status, spaced against what you can carry.

04

Resupply-aware

For long trails, resupply points come back with the vendors that serve them and what they stock.

05

Elevation profile

Gain, loss and maximum grade per segment, so a difficulty class has evidence behind it.

06

Offline recomputation

A route can be re-planned on the device against the cached graph. Losing signal does not mean losing the router.

Difficulty classification thresholds (navtrax_routing/config.py)
LevelMax distanceMax elevation gainMax grade
Easy< 8 km< 300 m< 10%
Moderate< 16 km< 800 m< 15%
Hard< 32 km< 1600 m< 25%
Expert≥ 32 km≥ 1600 m≥ 25%

Traced, node by node.

Every node in this graph names the file it came from, so the diagram can be audited against the codebase rather than taken on trust.

Route planning — process graph Arrastra para desplazar · ⌘/Ctrl + scroll para hacer zoom · arrastra un nodo para reorganizar

A route is a set of decisions.

Basic routing is free. Safety-aware, multi-modal and constraint-based routing are on Pro.