Skip to content

Releases: ni1o1/transbigdata

0.5.3

28 Oct 09:57
6edcbea
Compare
Choose a tag to compare

0.5.2

14 Jun 10:32
66ea3a8
Compare
Choose a tag to compare

Add function traj_length to calculate trajectory length

0.5.1

06 Jun 08:31
Compare
Choose a tag to compare

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

25 May 14:48
b1571a8
Compare
Choose a tag to compare

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

0.4.17

25 Dec 07:38
Compare
Choose a tag to compare

0.4.16

16 Nov 05:34
959334c
Compare
Choose a tag to compare

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

0.4.15

31 Oct 05:50
fc9da1e
Compare
Choose a tag to compare
  • rename the tbd.mobile_stay_duration method name
  • fix bug in tbd.mobile_stay_move: some stay can not correctly identified.
  • fix bug in tbd.mobile_plot_activity: add the shuffle parameter and fix the norm function to control the color display

0.4.14

06 Oct 14:52
Compare
Choose a tag to compare
  • Update function clean_taxi_status. Sort the VehicleNum and Time columns before clean taxi status
  • Add error info in amap getadmin function
  • Fix error info in bounds setting in grid.py

0.4.13

11 Sep 09:56
4013448
Compare
Choose a tag to compare

Improve plotmap:

  • Change the way of creating file path in plotmap to solve the error not reading local base map in some system environment.
  • Expose the read_imgsavepath and read_mapboxtoken function

0.4.12

08 Sep 15:23
a281e03
Compare
Choose a tag to compare
  • Improve the test coverage to 100%
  • Require the geopandas version 0.10.2 to avoid some potential errors
  • Support python 3.6 and 3.10
  • Add the timeout parameter in crawler.py
  • Use requests instead of urllib in data fetching