aboutsummaryrefslogtreecommitdiff
path: root/data/overrides
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2025-04-20 21:37:10 +0200
committerAriel Costas Guerrero <ariel@costas.dev>2025-04-20 21:37:10 +0200
commitdfdf4a291f3a686496ed9948a31e26ef43879f19 (patch)
tree6a168d0aad2084ef32434b27d0b4ad406039e976 /data/overrides
parent3676b1d1d9216a676c7d5a40affa5b3256ca8df3 (diff)
Enhance stop data handling by adding support for multiple YAML override files and improving coordinate accuracy for various stops
Diffstat (limited to 'data/overrides')
-rw-r--r--data/overrides/fix-gregorio-espino.yaml20
-rw-r--r--data/overrides/hide-virtual-stops.yaml17
-rw-r--r--data/overrides/improve-coordinates-misc.yaml35
3 files changed, 72 insertions, 0 deletions
diff --git a/data/overrides/fix-gregorio-espino.yaml b/data/overrides/fix-gregorio-espino.yaml
new file mode 100644
index 0000000..2e035a2
--- /dev/null
+++ b/data/overrides/fix-gregorio-espino.yaml
@@ -0,0 +1,20 @@
+# Fix the position of the stops in Gregorio Espino, which are "opposite" to the actual location of the bus stops.
+5720: # Gregorio Espino, 33
+ location:
+ latitude: 42.23004933454558
+ longitude: -8.706947409683313
+
+5710: # Gregorio Espino, 22
+ location:
+ latitude: 42.23003666347398
+ longitude: -8.707266671978003
+
+5730: # Gregorio Espino, 44
+ location:
+ latitude: 42.227850036119314
+ longitude: -8.708105429626789
+
+5740: # Gregorio Espino, 57
+ location:
+ latitude: 42.22783722597372
+ longitude: -8.707849091551859 \ No newline at end of file
diff --git a/data/overrides/hide-virtual-stops.yaml b/data/overrides/hide-virtual-stops.yaml
new file mode 100644
index 0000000..a2bf0b1
--- /dev/null
+++ b/data/overrides/hide-virtual-stops.yaml
@@ -0,0 +1,17 @@
+# The Vitrasa network has several virtual stops created for internal purposes, like
+# end of certain lines with a "nice" name.
+
+20223: # Castrelos (Pavillón) - Final U1
+ hide: true
+20146: # García Barbón 7 - final líneas A y 18A
+ hide: true
+20220: # (Samil) COIA-SAMIL - Final L15A
+ hide: true
+20001: # (Samil) Samil por Beiramar - Final L15B
+ hide: true
+20002: # (Samil) Samil por Torrecedeira - Final L15C
+ hide: true
+20144: # (Samil) Samil por Coia - Final C3D+C3i
+ hide: true
+20145: # (Samil) Samil por Bouzas - Final C3D+C3i
+ hide: true \ No newline at end of file
diff --git a/data/overrides/improve-coordinates-misc.yaml b/data/overrides/improve-coordinates-misc.yaml
new file mode 100644
index 0000000..5779565
--- /dev/null
+++ b/data/overrides/improve-coordinates-misc.yaml
@@ -0,0 +1,35 @@
+# Improves coordinates for some locations in the dataset to be more accurate, and avoid clustering
+6620: # Policarpo Sanz, 40
+ location:
+ latitude: 42.23757846151978
+ longitude: -8.721031378896738
+
+20193: # Policarpo Sanz, 25
+ location:
+ latitude: 42.23767601188501
+ longitude: -8.721582630122455
+
+3130: #Avda. de Cesáreo Vázquez 169
+ location:
+ latitude: 42.1909867388476
+ longitude: -8.799722173771636
+
+3090: # Avda. de Cesáreo Vázquez 182
+ location:
+ latitude: 42.19102742639083
+ longitude: -8.799428820699774
+
+14294: # Avda. de Ricardo Mella 406
+ location:
+ latitude: 42.190684424876565
+ longitude: -8.799308812770041
+
+3120: # Cesáreo Vázquez 141
+ location:
+ latitude: 42.187377693269696
+ longitude: -8.800971611890894
+
+3080: # Cesáreo Vázquez 136
+ location:
+ latitude: 42.18722607751238
+ longitude: -8.800947897477887