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

参数:
  • data (DataFrame) – Data

  • col (List) – The column name, in the sequence of [Vehicleid, Time, lng, lat]

  • timegap (number) – The sampling interval (second)

返回:

data1 – The processed data

返回类型:

DataFrame