Surface was only paved/unpaved binary - gravel, dirt and sand cost the same. Add a surfacepenalty into costfactor so a dirt track beats a gravel one of the same tracktype (asphalt 0 < compacted .2 < ground/dirt/earth .4 < cobblestone/sett .6 < gravel .9 < clay 1.3 < grass/wood 1.5 < sand/mud 5). Canonical lookup values only. Verified on the home RouteServer: engages on unpaved, doesn't distort paved routes. Untagged-ford avoidance by estimated_river_class was tried and dropped - it forced 5x detours (flags riverside ways, not only crossings); untagged fords stay shown (wetcross) + future marks. |
||
|---|---|---|
| .. | ||
| capabilities | ||
| gen/android/app | ||
| icons | ||
| src | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| tauri.conf.json | ||