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

Need a POST interface for GPS tracker data #14

Open
qtrandev opened this issue Dec 15, 2015 · 4 comments
Open

Need a POST interface for GPS tracker data #14

qtrandev opened this issue Dec 15, 2015 · 4 comments

Comments

@qtrandev
Copy link
Member

GPS trackers are constantly sending data to the server. Save this data to allow LeafletTransit project to get the last 10 positions or current positions.

@LostLucidity
Copy link

I will use my nascent Ruby on Rails skills to work on this.

@qtrandev
Copy link
Member Author

Right now the bus tracking GPS data comes in like this:

    records[i].properties.BusID,
    records[i].properties.lat,
    records[i].properties.lon,
    records[i].properties.speed,
    records[i].properties.bustime

So just those 5 properties are sent by the Ruby On Rails server

@LostLucidity
Copy link

GPS
{"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"Point","coordinates":["25.8042","-80.1952"]},"properties":{"lat":"25.8042","lon":"-80.1952","bustime":"2015-10-12 18:57:38","speed":"0.13","BusID":"1"}}]}

@qtrandev
Copy link
Member Author

Issue is same as #11 (Allow GPS Tracker data to be posted directly to miami-transit-api)

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

2 participants