Cluster same-name stops within 50m into single markers
Same-name stops within 50m (opposite sides of a road, different platforms/entrances) are now merged into one marker at the cluster centroid. Uses scipy hierarchical clustering (single linkage, distance criterion). Stop counts after clustering: bus: 1610 -> 892 markers metro: 91 -> 46 markers s_tog: 76 -> 34 markers regional: 27 -> 10 markers Threshold configurable via styling.yaml stations.stop_cluster_m.
This commit is contained in:
@@ -73,6 +73,7 @@ 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)
|
||||
marker:
|
||||
shape: circle # circle | square
|
||||
fill: white
|
||||
|
||||
Reference in New Issue
Block a user