Giter Site home page Giter Site logo

androidtransit's People

Contributors

jeffprestes avatar qtrandev avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

androidtransit's Issues

Add route lines

For buses on each route we display, we should add lines representing the routes. For now, we can choose a color like blue, but each route actually has its own color.

Our main data source is http://www.miamidade.gov/transit/WebServices/Transit_XML_Data_Feeds.pdf but that data is in XML format so we have a server generating the data in JSON:

http://miami-transit-api.herokuapp.com/api/Buses.json (this is down right now for some reason)
Backup: http://miami-transit-api-gtfsrt.herokuapp.com/api/Buses.json
Docs: http://julianbonilla.github.io/miami-transit-api-docs/

Bus Routes:
http://miami-transit-api-gtfsrt.herokuapp.com/api/BusRoutes.json (backup API location)

To get the shape, need 2 requests:
http://miami-transit-api-gtfsrt.herokuapp.com/api/BusRouteShapesByRoute.json?RouteID=31&Dir=Northbound
http://miami-transit-api-gtfsrt.herokuapp.com/api/BusRouteShape.json?ShapeID=134996

The ShapeID can also be obtained by TripID:
http://miami-transit-api-gtfsrt.herokuapp.com/api/BusRouteShapesByTrip.json?TripID=3500274

Make app work in the background

If the app is in the background, the process terminates and new data is not refreshed. We need to look at options to allow it to run in the background.

This is most apparent when tracking the GPS Tracker https://github.com/herrdragon/busTrackingGps where every position is logged. When other apps are in the foreground, the history is lost when returning to the Transit Tracker app.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.