diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2025-11-30 19:17:02 +0100 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2025-11-30 19:17:02 +0100 |
| commit | cee521142a4e0673b155d97c3e4825b7fec1987f (patch) | |
| tree | e8030687f62a63c34ad69cb81eefe8470c55cfee /src/frontend/public/maps/spritesheet | |
| parent | e7283ba10d45b42e1274cd13c3d6aabec57c85b4 (diff) | |
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.
Diffstat (limited to 'src/frontend/public/maps/spritesheet')
| -rw-r--r-- | src/frontend/public/maps/spritesheet/sprite.json | 16 | ||||
| -rw-r--r-- | src/frontend/public/maps/spritesheet/sprite@2x.json | 16 |
2 files changed, 0 insertions, 32 deletions
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 } } |
