fix(roadtrip): search along the roads driven, not the lines between stops

The corridor was built from the day's stops, so it followed straight lines across
country the car never drives. Between two cities that line runs through open fields
while the motorway swings wide of it, which is why every hit came back sitting on a
stop rather than on the way.

The days now carry the routed geometry, and the corridor is cut from that. Same trip,
same search: 192 hits spread over the whole 482 km — first fifty, middle, and the last
stretch — where before all of them reported kilometre zero.

Following real roads takes more boxes to cover the same drive, so they go out three at
a time instead of strictly one after another, and the budget rises from ten to sixteen.
The panel head loses the sentence explaining what the sections below already say, and
the day's distance and driving time, which the day list has been showing all along.
This commit is contained in:
Maurice
2026-08-28 22:46:52 +02:00
committed by Maurice
parent 647e972c8b
commit 552bd61d11
27 changed files with 46 additions and 52 deletions
-1
View File
@@ -11,7 +11,6 @@ const roadtrip: TranslationStrings = {
'roadtrip.stops.label': 'Parades pel camí',
'roadtrip.stops.remove': 'Elimina la parada',
'roadtrip.poi.title': 'Al llarg de la ruta',
'roadtrip.poi.hint': 'Cerca al llarg del trajecte d’un dia el que necessitis.',
'roadtrip.poi.scope': 'Dia',
'roadtrip.poi.looking': 'Es busca',
'roadtrip.poi.searchingHint': 'S’està cercant la ruta…',