We have found that it is possible to tell the trips apart by NyctTripDescriptor.train_id, whose origin and destination codes differ (MST, 111, WPT, 34H). Pair each VehiclePosition with its TripUpdate by entity id rather than trip_id (we've noticed that the real time feed writes a train's two entities one after the other, so if the TripUpdate's id is 000332, the VehiclePosition's is 000333); and when matching to the static GTFS, choose the static trip whose first stop matches the train ID's origin.
Your example is two trips in the 5:15:30 PM slot: train IDs 07 1715+ 111/34H (from 111 St) and 07 1715+ MST/34H (from Flushing-Main St). We see that pair on every weekday we have logged (e.g. 29 and 30 September, 1 and 5 October). If the file name of your attachment is based on UTC, 21:13:02 is 5:13 PM in New York, two minutes before both leave. So I suspect we are looking at the same data from September 29.
From 26 September to 5 October we counted 171 trip IDs shared by two trains at the same moment, on 8 service days. The commonest pairs, by the train ID's origin/destination codes: 111/34H with MST/34H (afternoon starts at 111 St and Main St): 50; 34H/111 with 34H/WPT: 41; and 34H/111 with 34H/MST: 40 (morning trips from Hudson Yards); MST/34H with WPT/34H: 21.
I hope this helps.
--
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 visit https://groups.google.com/d/msgid/mtadeveloperresources/882bbb9e-477c-49d8-9f9b-9a0f69b450c0n%40googlegroups.com.