Transbigdata

Latest version: v0.5.3

Safety actively analyzes 625726 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

0.5.3

[fix bug in `getbusdata` and `traj_stay_move`](https://github.com/ni1o1/transbigdata/actions/runs/6676161016)

0.5.2

Add function `traj_length` to calculate trajectory length

0.5.1

Upgrade
improve function `busgps_arriveinfo` to automatically select projection crs
Rename
rename function `tbd.points_to_traj` to `tbd.traj_to_linestring`

0.5.0

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)

0.4.17

[fix bug to support shapely 2.0.0](https://github.com/ni1o1/transbigdata/commit/8b60e9d3516fd6420cf982d3522743efdb7d1881)

0.4.16

Add activity.py to analysis human activity
- `Entropy` to calculate Entropy and Entropy rate
- `Confidence ellipse` to calculate and plot confidence ellipse
- `Activity plot` to plot Activity

Update function `tbd.mobile_plot_activity` rename it to `tbd.plot_activity`
- Add parameter `fontsize` to control fontsize of xticks and yticks
- Add parameter `yticks_gap` to control yticks
- Add parameter `xticks_rotation` and `xticks_gap` to control xticks
- Use column `group` to control the color of the bars

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.