Got the basic structure of the file down.  For some reason, it only works on routes 7 and 14 atm.  WIP.
Got the basic structure of the file down.  For some reason, it only works on routes 7 and 14 atm.  WIP.
Fixed string encoding error causing comparison problem.

Finally solved the mystery of why stops[:name] and main_stops weren't comparing correctly.  Turns out that one was ASCII and the other UTF-8.  Solved the problem by making them both UTF-8 when they enter the program.
Merge branch 'stop_times' of github.com:codeforanchorage/wheels-on-the-bus into stop_times

Conflicts:
	stop_times.rb
Merge branch 'stop_times' of github.com:codeforanchorage/wheels-on-the-bus into stop_times

Conflicts:
	stop_times.rb
Merge branch 'stop_times' of github.com:codeforanchorage/wheels-on-the-bus into stop_times
Wrote a class to parse the different sources of bus data.  WIP.

It's really close to working properly but I'm exhausted.  Sometimes through the loop to generate the GFVS data, it adds a weird hash.  Not sure why.
Rewrote trips to output the different schedules for the different routes.

Since each route (except 102) has a M-F schedule and a Sat and a Sun schedule, I rewrote the trip_id for each route to be the route number plus "W" for weekday, "Sa" for Saturday and "Su" for Sunday.  For example, route 1's trip ID for Saturday is now "1Sa".
stop_times.rb works and generates a stop_times.csv per the GTFS spec.

My this was difficult. Now I just need to change all of the other files to output CSV files instead of JSON.
Merge branch 'stop_times'