Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow GPS Tracker data to be posted directly to miami-transit-api #11

Open
qtrandev opened this issue Jun 8, 2015 · 0 comments
Open

Comments

@qtrandev
Copy link
Member

qtrandev commented Jun 8, 2015

The data at
https://miami-transit-api.herokuapp.com/tracker.json
currently comes through Matt's PHP server. We should have the GPS Tracker post directly to our server.

The data format is:

{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          "25.8011",
          "-80.2022"
        ]
      },
      "properties": {
        "lat": "25.8011",
        "lon": "-80.2022",
        "bustime": "2015-06-06 18:15:59",
        "speed": "0.32",
        "BusID": "1"
      }
    }
  ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant