You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GtfsReader currently reads StopTimes between Trip and ServiceCalendar. Would it be possible to parse StopTimes as the last entity? As far as I know, StopTimes is normally the largest file in GTFS and StopTimes (indirectly) reference ServiceCalendar and ServiceCalendarDate via Trip/serviceId.
I'm implementing a "streaming" load of GTFS into a graph database (as a time-expanded graph). The import runs for some specified date. So I'd like to filter out irrelevant StopTimes and I need ServiceCalendars and ServiceCalendarDates for this before reading StopTimes.
I've solved it at the moment by subclassing the GtfsReader and changing the order of the entity classes. I think it is generaly reasonable and wanted to propose it as a change.
The text was updated successfully, but these errors were encountered:
GtfsReader
currently readsStopTime
s betweenTrip
andServiceCalendar
. Would it be possible to parseStopTime
s as the last entity? As far as I know,StopTime
s is normally the largest file in GTFS andStopTime
s (indirectly) referenceServiceCalendar
andServiceCalendarDate
viaTrip
/serviceId
.I'm implementing a "streaming" load of GTFS into a graph database (as a time-expanded graph). The import runs for some specified date. So I'd like to filter out irrelevant
StopTime
s and I needServiceCalendar
s andServiceCalendarDate
s for this before readingStopTimes
.I've solved it at the moment by subclassing the
GtfsReader
and changing the order of the entity classes. I think it is generaly reasonable and wanted to propose it as a change.The text was updated successfully, but these errors were encountered: