Per-mode stop clustering thresholds

Rail stations get generous thresholds to merge all platform/entrance
duplicates; bus stays conservative:
  metro: 200m    -> 91 stops -> 44 markers (0 duplicates)
  s_tog: 400m   -> 76 stops -> 30 markers (0 duplicates)
  regional: 500m -> 27 stops ->  9 markers (0 duplicates)
  bus: 100m      -> 1610 stops -> 781 markers

stop_cluster_m is now a dict keyed by mode in styling.yaml.
This commit is contained in:
marvin
2026-09-13 23:23:14 +02:00
parent 2f0cc07061
commit 86ccbb0515
2 changed files with 10 additions and 4 deletions
+5 -1
View File
@@ -73,7 +73,11 @@ basemap:
stations:
show: true # draw station markers (symbols without text)
styles: [metro, s_tog, regional, bus]
stop_cluster_m: 50 # merge same-name stops within this distance (opposite sides of road)
stop_cluster_m: # merge same-name stops within this distance (per mode)
metro: 200 # covers platform/entrance spread (~170m max)
s_tog: 400 # covers platform/entrance spread (~380m max)
regional: 500 # covers platform spread (~475m max)
bus: 100 # opposite sides of road, wide boulevards
marker:
shape: circle # circle | square
fill: white