CUTR-at-USF / onebusaway-application-modules

OneBusAway, modified for a Tampa, Fl deployment
https://github.com/OneBusAway/onebusaway-application-modules/wiki
Other
2 stars 1 forks source link

Route-specific URLs for schedule information are incorrect in HART GTFS data #18

Closed barbeau closed 11 years ago

barbeau commented 11 years ago

There is a feature in the OneBusAway Android app that allows the users to see more detailed route schedule information. This directs them to a website, using the field from HART GTFS data routes.txt file “route_url”.

We have gotten some reports from OneBusAway users that the URL to show HART routes is wrong (i.e., it gives a 404 error).

From the last GTFS data I loaded into OneBusAway, each route had a different bad URL, in the form: http://www.gohart.org/routes/hartline/05.html

This is the incorrect route URL OBA users are currently seeing.

It looks like HART’s most recent GTFS data now includes a generic schedule URL for all routes that points to this page: http://www.gohart.org/routes/maps-schedules.html

However, I still don’t believe this is the correct URL, as its not route-specific and requires several clicks to drill down to the information.

From looking at that website further, it seems the URL structure for each route in routes.txt should be like: http://www.gohart.org/routes/hart/01.html

We have requested that HART fix the GTFS data to the correct URL.

barbeau commented 11 years ago

I’ve been looking at the pages for the new route URL structure, and have found the below issues.

Route 20, 22, 24, 25, 27, 28, 47, 51, 53, 61 pages are missing: http://www.gohart.org/routes/hart/20.html http://www.gohart.org/routes/hart/22.html http://www.gohart.org/routes/hart/24.html http://www.gohart.org/routes/hart/25.html http://www.gohart.org/routes/hart/27.html http://www.gohart.org/routes/hart/28.html http://www.gohart.org/routes/hart/47.html http://www.gohart.org/routes/hart/51.html http://www.gohart.org/routes/hart/53.html http://www.gohart.org/routes/hart/61.html

Route 4, 10, 14, 31, 41, 46, 57 do not have weekend schedules: http://www.gohart.org/routes/hart/04.html http://www.gohart.org/routes/hart/10.html http://www.gohart.org/routes/hart/14.html http://www.gohart.org/routes/hart/31.html
http://www.gohart.org/routes/hart/41.html http://www.gohart.org/routes/hart/46.html http://www.gohart.org/routes/hart/57.html

Route 16, 37 do not have a Sunday schedule: http://www.gohart.org/routes/hart/16.html http://www.gohart.org/routes/hart/37.html

I’m not familiar enough with HART’s schedules to know if some of the above (e.g., missing Sunday schedule) are actually correct, based on the existing service.

barbeau commented 11 years ago

I just talked to Shannon, and the below routes I listed as missing pages are express routes, so they have a different URL structure, such as: http://www.gohart.org/routes/commuterexpress/020x.html

Shannon said the remaining routes with missing weekend/Sunday service are correct based on actual service.

He’s going to send me an updated GTFS file with corrected links and I’ll load this into OneBusAway.

barbeau commented 11 years ago

Shannon provided manually-updated GTFS data with new URLs, and I loaded it into OBA at 8:30pm on 3/31. Tested from Android app and it now directs to correct URL for schedules for that route.