Since there is no track attribute for the stop time, it is not included.
In the realtime feed, there is also no track attribute in the StopTimeEvent for a trip update.
--
You received this message because you are subscribed to the Google Groups "mtadeveloperresources" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mtadeveloperreso...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The LIRR conveys track information in their countdown feeds through the TrainTime API—I’d recommend using that whenever possible. It has track and platform information for stations as well as track information for terminals off the Solari boards.
The only downside is each station is its own separate feed, so to get the full picture, you have to pull 120+ different feeds. If the LIRR could consider providing a similar feed that conveys this level of information for all trains and stops in one place I think it’d be very beneficial to riders—even if it’s not directly tied to the static GTFS or GTFS-RT it could give developers willing to ‘think outside the box’ for their users the tools to do so.
…patrick…
--
Patrick,
This is actually by trip (start station, end station) and will only give the status at the origin. It is true that track may be included shortly before departure time.
To get track to correlate to the GTFS RT feed, you would have to constantly call the Train Time feed with the location presented in GTFS RT and its destination.
This may be even simpler than I had thought since it is JSON based.
My goal is straightforward in that I just want to push the track number of my trains to my watch and there are plenty of apps that allow to make JSON calls.
Does the train track API have a limit on the number of calls you can make? Or any other limitations on the feed similar to gtfs?
To unsubscribe from this group and stop receiving emails from it, send an email to mtadeveloperresources+unsub...@googlegroups.com.
TIMESTAMP: "04/25/2016 07:43:06",
TRAINS: {
{
TRIAN_ID: "1011"
CLOSEST_TRIP_ID: "GO104_151011"
OP_DATE: "04/25/2016"
DEST: "ATL",
STOPS: {
{
STATION: "MPK"
TIME: "04/25/2016 06:59:00"
TRACK: "1A"
}
{
STATION: "MQA"
TIME: "04/25/2016 07:01:00"
TRACK: "1A"
}
{
STATION: "SFD"
TIME: "04/25/2016 07:04:00"
TRACK: "1A"
}
{
STATION: "FPT"
TIME: "04/25/2016 07:11:00"
TRACK: "1A"
}
{
STATION: "BWN"
TIME: "04/25/2016 07:14:00"
TRACK: "1A"
}
{
STATION: "RVC"
TIME: "04/25/2016 07:17:00"
TRACK: "1A"
}
{
STATION: "JAM"
TIME: "04/25/2016 07:37:00"
TRACK: "2"
}
{
STATION: "ATL"
TIME: "04/25/2016 07:54:00"
TRACK: "1"
}
},
NEXT_STOP: "ATL"
DIR: "W",
JAMAICA: true
HILLSIDE: false
OTP: -60,
UPDATE_LOCATION: "JAY"
UPDATE_TIME: "04/25/2016 07:39:37"
}
},
{ (and so on for all running trains) }
}
Thanks!
…patrick…
However, if a mobile app calls a feed directly, you are in violation of the usage policy. You must always have your mobile app access data from a non MTA hosted application. That is made quite clearin statis as well as real time feeds.
--
You received this message because you are subscribed to the Google Groups "mtadeveloperresources" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mtadeveloperreso...@googlegroups.com.
John - would you be so kind to share the link to this MNR GTFS-RT feed with track extension that you mentioned? I dont believe its listed in the MTA's datamine portal. Thanks.
--
You received this message because you are subscribed to the Google Groups "mtadeveloperresources" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mtadeveloperreso...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mtadeveloperresources/5d5a9a1b-cdc9-402b-9e1c-e06ab6113cae%40googlegroups.com.