From dc9265e6fb03c2bb4a3f6a1f2c19a526353bd040 Mon Sep 17 00:00:00 2001 From: Francia Csaba Date: Mon, 8 Jan 2024 15:15:02 +0100 Subject: [PATCH] #21 Moved URL from route to trip --- amarillo/app/models/gtfs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/amarillo/app/models/gtfs.py b/amarillo/app/models/gtfs.py index ee7f701..2189c61 100644 --- a/amarillo/app/models/gtfs.py +++ b/amarillo/app/models/gtfs.py @@ -3,10 +3,10 @@ from datetime import timedelta GtfsFeedInfo = namedtuple('GtfsFeedInfo', 'feed_id feed_publisher_name feed_publisher_url feed_lang feed_version') GtfsAgency = namedtuple('GtfsAgency', 'agency_id agency_name agency_url agency_timezone agency_lang agency_email') -GtfsRoute = namedtuple('GtfsRoute', 'agency_id route_id route_long_name route_type route_url route_short_name') +GtfsRoute = namedtuple('GtfsRoute', 'agency_id route_id route_long_name route_type route_short_name') GtfsStop = namedtuple('GtfsStop', 'stop_id stop_lat stop_lon stop_name') GtfsStopTime = namedtuple('GtfsStopTime', 'trip_id departure_time arrival_time stop_id stop_sequence pickup_type drop_off_type timepoint') -GtfsTrip = namedtuple('GtfsTrip', 'route_id trip_id service_id shape_id trip_headsign bikes_allowed') +GtfsTrip = namedtuple('GtfsTrip', 'route_id trip_id service_id shape_id trip_headsign bikes_allowed trip_url') GtfsCalendar = namedtuple('GtfsCalendar', 'service_id start_date end_date monday tuesday wednesday thursday friday saturday sunday') GtfsCalendarDate = namedtuple('GtfsCalendarDate', 'service_id date exception_type') GtfsShape = namedtuple('GtfsShape','shape_id shape_pt_lon shape_pt_lat shape_pt_sequence')