From 558f755f5746a4ee819de87579951b7533688e5d Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Thu, 27 Aug 2026 18:05:59 +0200 Subject: Categorise OSM passes by highway and colour them on the ride detail map Passes are extracted from OSM PBF nodes (mountain_pass=yes) and linked to containing ways; highway road values map to road, track to track, path/footway to path, plus hiking for rock/climbing. All passes are kept, coloured distinctly (road/track/path/hiking/unknown) for road-bike validation on ride 397. Single squashed migration adds category column, cheap to re-extract. --- web/frontend/types.d.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'web/frontend/types.d.ts') diff --git a/web/frontend/types.d.ts b/web/frontend/types.d.ts index d4c4bdf..790abe6 100644 --- a/web/frontend/types.d.ts +++ b/web/frontend/types.d.ts @@ -62,6 +62,7 @@ export interface RideMapPass { elevationM: number; latitude: number; longitude: number; + category: string; } export interface ClimbBounds { -- cgit v1.3