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

Can't search for route by id in mobile apps when outside coverage area #16

Closed barbeau closed 11 years ago

barbeau commented 11 years ago

In both iPhone and Android apps, after changing to the OBA Tampa API URL, if you tap on "Search" magnifying glass and enter a route number (e.g., 5), it returns no results if you are outside the coverage area (see below screenshot):

SamsungGalaxyNexus-Route5searchResults

The current behavior seems to be that we in Tampa can't query GA Tech's server (onebusaway.gatech.edu/onebusaway-api-webapp) to retrieve routes in Atlanta (e.g., route 60), and devices in Atlanta can't query our USF Tampa OBA server (http://onebusaway.forest.usf.edu/api) to query routes in Tampa (e.g., route 5).

However, all the other functionality of OBA apps (stops, arrival times, maps) seems functional if you are outside the coverage area.

As far as we know so far, all features (including route search) seems to work fine if you are inside the coverage area.

barbeau commented 11 years ago

Per Paul, this is currently by design as a side-effect of how "subregion" route search is implemented in the Android app: https://groups.google.com/forum/?fromgroups=#!topic/onebusaway-developers/SMxbrXSYWEM

Assuming similar for iPhone app. so, this issue should be closed and it should be moved to the respective apps.