I'm working on an application with a lot of GPS sensors, for each vehicle and person in a scene.
I want to show a vehicle and his occupants in the same marker. But I can't get the vehicle occupants list from the system, I only have GPS positions and object type (firetruck, policeman, car driver, etc…).
I'm looking for an existing model or library doing this kind of merge.
The simple approach can be to merge closest sensors from a vehicle into it, but sometimes you have a lot of people outside of a vehicle.
I can use the historical data, if some sensors are moving at the same speed and are near since a long time, I can consider that they are in the same vehicle. But it's a homemade system and it's maybe not very good.
Is there a good way?