Till senaste kommentaren
Detta inlägg är gammalt och kan innehålla inaktuell information.

GTFS Static Data: the day when the trip_id is served

Hello,

we are trying to use GTFS Static Data to understand how many bus journeys there are within one hour, however, we can not find a way to identify on which day of the week they are served. Trip_id is not very helpful as it's values do not seem to be assigned in any specific order.

Do you know if is is possible to extract more details regarding the timetable from the static data? Such as, the days of the week when a specific trip_id is served?

Thanks!

Kind regards,
Leyla Isaeva.

Kommentarer

  • Hi Leyla,

    The dates on which a trip is served are listed in calendar_dates, linked through a service_id. You could extract the days a trip runs by going through this list of dates, and filtering all dates that are for example a Tuesday.

    Regards,
    Bert
    Bert på Trafiklab
  • Indeed! Thanks for the clarification, Bert.

    Regards,
    Leyla.

Kommentera eller skriv ett nytt inlägg

Ditt namn och inlägg kan ses av alla. Din e-post visas aldrig publikt.