Transbigdata Versions Save

A Python package develop for transportation spatio-temporal big data processing, analysis and visualization.

0.5.2

11 months ago

Add function traj_length to calculate trajectory length

0.5.1

11 months ago

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

11 months ago

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.16

1 year ago

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

1 year ago
  • 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

1 year ago
  • 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

1 year ago

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

1 year ago
  • 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