minimum fields needed in a VehicleLocationRecord when setting state in the TDS?

6 views
Skip to first unread message

Frumin, Michael

unread,
May 14, 2013, 4:01:40 PM5/14/13
to onebusaway...@googlegroups.com

We are wondering something: what are the minimum fields needed to be set in the VehicleLocationRecord when calling handleVehicleLocationRecord?

 

It seems like this is the place that those calls end up, i.e. where state really gets set in the TDS: https://github.com/OneBusAway/onebusaway-application-modules/blob/071db7e2c4999e59a25dd180bc0c531cc4b0f5b2/onebusaway-transit-data-federation/src/main/java/org/onebusaway/transit_data_federation/impl/realtime/BlockLocationServiceImpl.java#L287

 

In OBANYC we set a certain set of the fields in the VehicleLocationRecord: https://github.com/camsys/onebusaway-nyc/blob/master/onebusaway-nyc-transit-data-federation/src/main/java/org/onebusaway/nyc/transit_data_federation/impl/queue/InferenceInputQueueListenerTask.java#L53

 

But I’m wondering what the minimum fields needed for the TDS to actually work properly?  Is there other documentation that describes this?

 

Thanks,

Mike

 

Reply all
Reply to author
Forward
0 new messages