Skip to content

Instantly share code, notes, and snippets.

@qtekk
Created July 27, 2017 13:40
Show Gist options
  • Save qtekk/82047b1ad70880ddbda644b89e6079a1 to your computer and use it in GitHub Desktop.
Save qtekk/82047b1ad70880ddbda644b89e6079a1 to your computer and use it in GitHub Desktop.
RealTime sample
header {
gtfs_realtime_version: "0.1"
timestamp: 1501162687
}
entity {
id: "v1271"
vehicle {
trip {
trip_id: "34265958"
start_date: "20170727"
schedule_relationship: SCHEDULED
route_id: "39"
}
position {
latitude: 42.346207
longitude: -71.084854
}
current_stop_sequence: 24
timestamp: 1501162668
stop_id: "11390"
vehicle {
id: "y1271"
label: "1271"
}
}
}
entity {
id: "v1687"
vehicle {
trip {
trip_id: "34229325"
start_date: "20170727"
schedule_relationship: SCHEDULED
route_id: "37"
}
position {
latitude: 42.287163
longitude: -71.12942
}
current_stop_sequence: 9
timestamp: 1501162641
stop_id: "797"
vehicle {
id: "y1687"
label: "1687"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment