Add smoothness, track type, cycleway, and bike route color modes

Four new route visualization modes extracted from BRouter WayTags:

- Smoothness: excellent (green) → impassable (dark red)
- Track Type: grade1 (green, best) → grade5 (red, worst)
- Cycleway: track/lane/shared_lane/no with direction awareness
- Bike Route: icn/ncn/rcn/lcn priority from route_bicycle_* tags

Each mode includes map polyline coloring, elevation chart coloring,
inline legend, hover label, i18n (EN+DE), and mock fixture data.

Dockerfile patched to also expose tracktype in BRouter WayTags
(smoothness, cycleway, and route_bicycle already present).

Dropdown order: plain, elevation, grade, surface, road type, speed
limit, smoothness, track type, cycleway, bike route.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-04-11 09:58:25 +02:00
parent 768fa9df44
commit 6ec95216e1
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9
9 changed files with 472 additions and 15 deletions

View file

@ -104,6 +104,10 @@ export default {
grade: "Steigung",
highway: "Straßentyp",
maxspeed: "Tempolimit",
smoothness: "Fahrbahnqualität",
tracktype: "Wegtyp",
cycleway: "Radweg",
bikeroute: "Radroute",
surfaceLegend: "Farbe nach Straßenbelag",
surfaceUnavailable: "Untergrunddaten für dieses Profil nicht verfügbar",
},
@ -115,6 +119,10 @@ export default {
grade: "Steigungsprofil",
highway: "Straßentypenprofil",
maxspeed: "Tempolimitprofil",
smoothness: "Fahrbahnqualitätsprofil",
tracktype: "Wegtypenprofil",
cycleway: "Radwegprofil",
bikeroute: "Radroutenprofil",
low: "Tief",
high: "Hoch",
},

View file

@ -104,6 +104,10 @@ export default {
grade: "Grade",
highway: "Road Type",
maxspeed: "Speed Limit",
smoothness: "Smoothness",
tracktype: "Track Type",
cycleway: "Cycleway",
bikeroute: "Bike Route",
surfaceLegend: "Color by road surface type",
surfaceUnavailable: "Surface data not available for this profile",
},
@ -115,6 +119,10 @@ export default {
grade: "Grade Profile",
highway: "Road Type Profile",
maxspeed: "Speed Limit Profile",
smoothness: "Smoothness Profile",
tracktype: "Track Type Profile",
cycleway: "Cycleway Profile",
bikeroute: "Bike Route Profile",
low: "Low",
high: "High",
},