From e99f880f76b72d01dc4e570b829b30a65aced14a Mon Sep 17 00:00:00 2001 From: Kyler Chin <7539174+kylerchin@users.noreply.github.com> Date: Sat, 26 Oct 2024 19:43:18 -0700 Subject: [PATCH] remove preceeding Station word --- src/maple/gtfs_ingestion_sequence/stops_into_postgres.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/maple/gtfs_ingestion_sequence/stops_into_postgres.rs b/src/maple/gtfs_ingestion_sequence/stops_into_postgres.rs index 4e51ffb5..d3aacff3 100644 --- a/src/maple/gtfs_ingestion_sequence/stops_into_postgres.rs +++ b/src/maple/gtfs_ingestion_sequence/stops_into_postgres.rs @@ -25,6 +25,7 @@ pub async fn stops_into_postgres( let name: Option = titlecase_process_new(stop.name.as_ref()); let display_name: Option = name.as_ref().map(|name| { name.clone() + .replace("Station ", "") .replace(" Station", "") .replace(", Bahnhof", "") .replace(" Banhhof", "")