Generate an index for trip times.