Open mharvey opened 6 years ago
This adresses #63
If you know of a feed smaller than TriMet that uses this, I'd appreciate it
Sure thing!
Albany: http://transitfeeds.com/p/albany-transit-system/435/latest Emeryville: https://transitfeeds.com/p/emery-go-round/769/20161026 Petaluma: http://transitfeeds.com/p/petaluma-transit-gtfs/675/latest Patriots Party Boats: http://transitfeeds.com/p/massdot/648/latest
Those each seem to import in under five seconds. 😄
Sorry, some stuff came up and I got sidetracked from this. I'll block out time to get those follow-on actions added tomorrow and Thursday and commit them to this pull request, unless it works better for you to have them in a separate PR.
Not a problem, and thanks for the work so far! I think the example app is the most work and the lowest priority, so focus on the other bits when you have time.
We have reviewed this PR as well as extensible model in #83 and the later solution would be better for including non-standard models into multigtfs.
Some providers, notably TriMet, provide a route_directions.txt file that associates a
route_id
anddirection_id
with a human-readable name. This data is valuable and can be much more convenient to use than trying to divine this information usingStopTime.stop_headsign
— especially with the larger feeds.This PR implements the RouteDirection model and was based largely on existing models.
In addition to passing automated tests, I tested this with a few recent TriMet and C-TRAN feeds (which do not have
route_directions.txt
) and imports occurred as expected.