new features
Add the traj module for handling trajectory data. This module includes the following functionalities:
- [traj_mapmatch](https://transbigdata.readthedocs.io/en/latest/traj.html#transbigdata.traj_mapmatch)(traj, G[, col])
Nearest map matching: Find the nearest point on the road network for each trajectory point.
- [traj_clean_drift](https://transbigdata.readthedocs.io/en/latest/traj.html#transbigdata.traj_clean_drift)(data[, col, method, ...])
Delete the drift in the trajectory data.
- [traj_clean_redundant](https://transbigdata.readthedocs.io/en/latest/traj.html#transbigdata.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](https://transbigdata.readthedocs.io/en/latest/traj.html#transbigdata.traj_slice)(traj_data, slice_data[, ...])
Slice the trajectory data according to the slice data.
- [traj_smooth](https://transbigdata.readthedocs.io/en/latest/traj.html#transbigdata.traj_smooth)(data[, col, proj, ...])
Smooth Trajectory Using Kalman Filter.
- [traj_segment](https://transbigdata.readthedocs.io/en/latest/traj.html#transbigdata.traj_segment)(data[, groupby_col, retain_col])
Segment the trajectory in order and return the starting and ending information of each segment.
- [traj_densify](https://transbigdata.readthedocs.io/en/latest/traj.html#transbigdata.traj_densify)(data[, col, timegap])
Trajectory densification, ensure that there is a trajectory point each timegap seconds
- [traj_sparsify](https://transbigdata.readthedocs.io/en/latest/traj.html#transbigdata.traj_sparsify)(data[, col, timegap, method])
Trajectory sparsify.
- [traj_stay_move](https://transbigdata.readthedocs.io/en/latest/traj.html#transbigdata.traj_stay_move)(data, params[, col, activitytime])
Input trajectory data and gridding parameters, identify stay and move
- [points_to_traj](https://transbigdata.readthedocs.io/en/latest/traj.html#transbigdata.points_to_traj)(traj_points[, col, timecol])
Input trajectory, generate GeoDataFrame
fix bugs
- 68 Add the requests package to the requirements.
- [fix bug in calculating entropy](https://github.com/ni1o1/transbigdata/pull/70/commits/97720aa6ce543dc024c7e573cc8a14b7a1738eaa)
- [fix bug in entropy](https://github.com/ni1o1/transbigdata/pull/70/commits/39757f4f644f47b9ffae8d618de9b7c115781012)
- [fix bug that pd.DataFrame no longer have append](https://github.com/ni1o1/transbigdata/pull/70/commits/570e54af047db3f6552563c8d915cb44d38448b5)
- [Fix the bug in the `plotscale` function where, when `style` is set to 2, the scale is drawn incorrectly with the front black portion missing a segment.](https://github.com/ni1o1/plot_map/issues/5)