From cee521142a4e0673b155d97c3e4825b7fec1987f Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Sun, 30 Nov 2025 19:17:02 +0100 Subject: Refactor street name processing and remove unused stop downloader script - Updated `street_name.py` to simplify street name handling by removing the `re_remove_street_type` regex and exception streets list, replacing them with a dictionary for name replacements. - Deleted the `download-stops.py` script from the Santiago stop downloader, which was no longer needed. - Removed the empty `.gitkeep` file from the overrides directory. - Added a new `VigoController` class to handle stop estimates and timetables, including error handling for missing data. - Introduced `LineFormatterService` to format circulation routes based on specific line conditions. --- src/frontend/public/maps/spritesheet/sprite.json | 16 ---------------- src/frontend/public/maps/spritesheet/sprite@2x.json | 16 ---------------- 2 files changed, 32 deletions(-) (limited to 'src/frontend/public/maps/spritesheet') diff --git a/src/frontend/public/maps/spritesheet/sprite.json b/src/frontend/public/maps/spritesheet/sprite.json index 636efa5..504ff07 100644 --- a/src/frontend/public/maps/spritesheet/sprite.json +++ b/src/frontend/public/maps/spritesheet/sprite.json @@ -7,14 +7,6 @@ "height": 32, "pixelRatio": 1 }, - "stop-santiago": { - "id": "stop-santiago", - "x": 32, - "y": 0, - "width": 32, - "height": 32, - "pixelRatio": 1 - }, "stop-vigo-cancelled": { "id": "stop-vigo-cancelled", "x": 64, @@ -22,13 +14,5 @@ "width": 32, "height": 32, "pixelRatio": 1 - }, - "stop-santiago-cancelled": { - "id": "stop-santiago-cancelled", - "x": 96, - "y": 0, - "width": 32, - "height": 32, - "pixelRatio": 1 } } diff --git a/src/frontend/public/maps/spritesheet/sprite@2x.json b/src/frontend/public/maps/spritesheet/sprite@2x.json index f4a9adf..0586f5b 100644 --- a/src/frontend/public/maps/spritesheet/sprite@2x.json +++ b/src/frontend/public/maps/spritesheet/sprite@2x.json @@ -7,14 +7,6 @@ "height": 64, "pixelRatio": 2 }, - "stop-santiago": { - "id": "stop-santiago", - "x": 64, - "y": 0, - "width": 64, - "height": 64, - "pixelRatio": 2 - }, "stop-vigo-cancelled": { "id": "stop-vigo-cancelled", "x": 128, @@ -22,13 +14,5 @@ "width": 64, "height": 64, "pixelRatio": 2 - }, - "stop-santiago-cancelled": { - "id": "stop-santiago-cancelled", - "x": 192, - "y": 0, - "width": 64, - "height": 64, - "pixelRatio": 2 } } -- cgit v1.3