Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 744 Bytes

README.md

File metadata and controls

34 lines (25 loc) · 744 Bytes

This is a repo for utilities built around fetching parsing and recording MDT route updates.

http://www.miamidade.gov/transit/WebServices/Buses/?RouteID=1

XML Result Values:

BusID
BusName
Latitude
Longitude
RouteID
TripID
Direction
ServiceDirection
Service
ServiceName
TripHeadsign
LocationUpdated

For the moment, the first round is going to be grabbing the xml and parsing it into separate values.

Then we will both stuff the output into a database table. And pump out a JSON update.

Build and run

$ go build
$ ./miamidatedtransitgeo
2016/01/17 15:48:31 starting
2016/01/17 15:48:31 200 OK
2016/01/17 15:48:31 02085
2016/01/17 15:48:31 POINT(-80.34276 25.586525)