Process data into [DirectionWithTrip]