Extrapolation/prediction of VehiclePositions?

51 views
Skip to first unread message

Holger Bruch

unread,
Mar 6, 2021, 8:48:11 AM3/6/21
to TheTransitClock

Hi,

TransitClock generates GTFS-RT trip updates from GPS or GTFS-RT VehiclePositions.

Does TransitClock support the extrapolation of VehiclePositions as well?

My use case is vehicle positions received irregularly (every 30-60 seconds), which I'd like to generate predicted vehicle positions for e.g. every second.

Best regards,
Holger

Vicente Pérez

unread,
Mar 6, 2021, 9:19:07 AM3/6/21
to Holger Bruch, TheTransitClock
Hi Holger,

As far as I know it does not. Sean, who is the lidet of the project, might know something I don't. Anyway it is possible to do what you say based on the predictions and the current time. You just need to calculate the estimated distance over route based on the last vehicle position, next stop position, last vehicle transmission time, and next stop prediction time. The tricky part  it is to get the coordinate from the route (shape) after you get the estimation.  I believe I have some code for that, but for sure there are better ones on Internet. Let me know how it goes. 

Regards
Vicente 

--
www.thetransitclock.org
---
You received this message because you are subscribed to the Google Groups "TheTransitClock" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thetransitclo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/thetransitclock/91acc33f-d163-45ec-804f-17bea9f64696n%40googlegroups.com.

Óg Crudden

unread,
Mar 15, 2021, 11:51:03 AM3/15/21
to TheTransitClock
Hi Holger,

There are a couple of repositories I have been watching on GitHub that relate. One is using a Kalman filter and the other uses a particle filter.

I have not used either. 

Cheers,

Sean.
Reply all
Reply to author
Forward
0 new messages