aboutsummaryrefslogtreecommitdiff
path: root/src/gtfs_perstop_report
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2025-12-12 10:36:45 +0100
committerAriel Costas Guerrero <ariel@costas.dev>2025-12-12 10:36:45 +0100
commit401b6a7bcf0e4f93f4605d77a35325b8211288ba (patch)
tree2fc088ee63c67d09332da257f62ae5fe4f4f53e1 /src/gtfs_perstop_report
parent3a1a1e6dc2f6f0abceac5da0cfb530fdb45fc6f5 (diff)
fix: enhance route matching logic and improve CSS layout for consolidated circulation card
Diffstat (limited to 'src/gtfs_perstop_report')
-rw-r--r--src/gtfs_perstop_report/src/street_name.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/gtfs_perstop_report/src/street_name.py b/src/gtfs_perstop_report/src/street_name.py
index 81d419b..e744ea3 100644
--- a/src/gtfs_perstop_report/src/street_name.py
+++ b/src/gtfs_perstop_report/src/street_name.py
@@ -14,10 +14,14 @@ NAME_REPLACEMENTS = {
"FORA DE SERVIZO.G.B.": "",
"Praza de Fernando O Católico": "",
"Rúa da Travesía de Vigo": "Travesía de Vigo",
- " de ": " ",
- " do ": " ",
- " da ": " ",
- " das ": " ",
+ "Rúa de ": " ",
+ "Rúa do ": " ",
+ "Rúa da ": " ",
+ "Rúa das ": " ",
+ "Avda. de ": " ",
+ "Avda. do ": " ",
+ "Avda. da ": " ",
+ "Avda. das ": " ",
"Riós": "Ríos",
}