diff options
Diffstat (limited to 'src/gtfs_vigo_stops/stop_report.py')
| -rw-r--r-- | src/gtfs_vigo_stops/stop_report.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gtfs_vigo_stops/stop_report.py b/src/gtfs_vigo_stops/stop_report.py index ab6bac8..8a36e60 100644 --- a/src/gtfs_vigo_stops/stop_report.py +++ b/src/gtfs_vigo_stops/stop_report.py @@ -6,6 +6,7 @@ import time import traceback from typing import Any, Dict, List +from src.shapes import process_shapes from src.common import get_all_feed_dates from src.download import download_feed_from_url from src.logger import get_logger @@ -339,6 +340,13 @@ def main(): _, stop_summary = process_date(feed_dir, date, output_dir) all_stops_summary[date] = stop_summary + logger.info("Finished processing all dates. Beginning with shape transformation.") + + # Process shapes, converting each coordinate to EPSG:25829 and saving as Protobuf + process_shapes(feed_dir, output_dir) + + logger.info("Finished processing shapes.") + if feed_url: if os.path.exists(feed_dir): shutil.rmtree(feed_dir) |
