transbigdata.traj_densify
- transbigdata.traj_densify(data, col=['Vehicleid', 'Time', 'Lng', 'Lat'], timegap=15)
Trajectory densification, ensure that there is a trajectory point each timegap seconds
- Parameters:
data (DataFrame) – Data
col (List) – The column name, in the sequence of [Vehicleid, Time, lng, lat]
timegap (number) – The sampling interval (second)
- Returns:
data1 – The processed data
- Return type:
DataFrame