openplannerteam / itinero-transit

A transit routing module for Itinero using Linked Connections.
Other
6 stars 1 forks source link

GTFS IO doesn't follow the GTFS spec #92

Open xivk opened 4 years ago

xivk commented 4 years ago

There is a lot of operator-specific code (NMBS) in the GTFS IO code:

https://github.com/openplannerteam/itinero-transit/blob/develop/src/Itinero.Transit.IO.GTFS/Data/GTFS2Tdb.cs#L89

We need to follow the GTFS spec and allow enough flexibility in the code to allow for operator specifics to be added by users of this library.

xivk commented 4 years ago

Or we need to exactly define what a trip means in the context of the transitdb vs the GTFS definition.