GTFS
GTFS copied to clipboard
.NET implementation of a General Transit Feed Specification (GTFS) feed parser.
I haven't tested it to see what would happen, but there is a backward compatibility issue when adding more columns to existing tables in the way that you did it....
When you write a feed to some path, it creates empty files for the entity sets that contain no items. I would be better not to create these files at...
Parsing a feed from txt files is slower than it could be. Look at how this can be improved.
Translations.txt is an extension containing the translations of (mainly) stops. The format is: ```` trans_id,lang,translation Ingelmunster,fr,Ingelmunster Ingelmunster,nl,Ingelmunster Ingelmunster,de,Ingelmunster Ingelmunster,en,Ingelmunster ```` Having support for this would greatly benefit itinero-transit
Reference here: https://developers.google.com/transit/gtfs/reference#field_definitions I started working on this. Will open PR when ready/pushable. ### Changes to be made - Everywhere - [ ] Update xml documentation from reference - [...
The values in the DropOffType enum were directly copied from PickupType. It would make sense to rather change them from e.g. NoPickup to NoDropOff and so on.
Try this set: https://romamobilita.it/sites/default/files/rome_static_gtfs.zip
Make lat/lons nullable, they can be empty: https://github.com/itinero/GTFS/pull/51
https://github.com/zzzprojects/nmemory/ https://github.com/zzzprojects/nmemory/issues/20
StopTimeParser doesn't handle arrival/departure times >= 100:00:00 Example data for stop_times.txt trip_id,stop_id,arrival_time,departure_time,stop_sequence,stop_headsign,pickup_type,drop_off_type,shape_dist_traveled NRI:VehicleJourney:000127-0001689-,NSR:Quay:99528,100:15:00,100:30:00,18,,,, NRI:VehicleJourney:000127-0001689-,NSR:Quay:99534,102:45:00,103:45:00,19,,,, NRI:VehicleJourney:000127-0001689-,NSR:Quay:99535,107:00:00,107:30:00,20,,,, NRI:VehicleJourney:000127-0001689-,NSR:Quay:99533,110:15:00,114:30:00,21,,,, NRI:VehicleJourney:000127-0001689-,NSR:Quay:99540,118:30:00,118:45:00,22,,,, NRI:VehicleJourney:000127-0001689-,NSR:Quay:99509,122:00:00,122:15:00,23,,,, NRI:VehicleJourney:000127-0001689-,NSR:Quay:99515,125:15:00,126:00:00,24,,,, NRI:VehicleJourney:000127-0001689-,NSR:Quay:99511,128:45:00,129:15:00,25,,,, NRI:VehicleJourney:000127-0001689-,NSR:Quay:99512,131:15:00,134:45:00,26,,,, NRI:VehicleJourney:000127-0001689-,NSR:Quay:99522,137:00:00,137:15:00,27,,,, NRI:VehicleJourney:000127-0001689-,NSR:Quay:99524,139:15:00,139:30:00,28,,,, NRI:VehicleJourney:000127-0001689-,NSR:Quay:99523,142:00:00,142:15:00,29,,,, NRI:VehicleJourney:000127-0001689-,NSR:Quay:99518,143:45:00,144:15:00,30,,,, NRI:VehicleJourney:000127-0001689-,NSR:Quay:99514,147:15:00,147:30:00,31,,,, NRI:VehicleJourney:000127-0001689-,NSR:Quay:99513,150:45:00,151:15:00,32,,,, NRI:VehicleJourney:000127-0001689-,NSR:Quay:99519,153:00:00,153:00:00,33,,1,,