Skip to content

0.5.0

Compare
Choose a tag to compare
@ni1o1 ni1o1 released this 25 May 14:48
· 24 commits to main since this release
b1571a8

new features

Add the traj module for handling trajectory data. This module includes the following functionalities:

  • traj_mapmatch(traj, G[, col])
    Nearest map matching: Find the nearest point on the road network for each trajectory point.

  • traj_clean_drift(data[, col, method, ...])
    Delete the drift in the trajectory data.

  • traj_clean_redundant(data[, col])
    Delete the data with the same information as the data before and after to reduce the amount of data.

  • traj_slice(traj_data, slice_data[, ...])
    Slice the trajectory data according to the slice data.

  • traj_smooth(data[, col, proj, ...])
    Smooth Trajectory Using Kalman Filter.

  • traj_segment(data[, groupby_col, retain_col])
    Segment the trajectory in order and return the starting and ending information of each segment.

  • traj_densify(data[, col, timegap])
    Trajectory densification, ensure that there is a trajectory point each timegap seconds

  • traj_sparsify(data[, col, timegap, method])
    Trajectory sparsify.

  • traj_stay_move(data, params[, col, activitytime])
    Input trajectory data and gridding parameters, identify stay and move

  • points_to_traj(traj_points[, col, timecol])
    Input trajectory, generate GeoDataFrame

fix bugs