traviz is my Google Summer of Code 2020 project. To see the project abstract, use the following link https://summerofcode.withgoogle.com/projects/#5517386007969792
traviz contains two classes to store trajectories:
sfTrack
- store an individual track/trajectorysfTracks
- store a collection of sfTrack objects (trajectories)
sfTrack
and sfTracks
generic methods include:
sf::
- st_transform, st_coordinates, st_intersection, st_distance, st_bbox, st_length (https://github.com/r-spatial/sf)pv_stcube
- point value space time cubevscube
- value space cubecluster
- clustering of Tracks
traviz also contains convertor methods:
geodata_to_sf
- converts geographic point data to a trajectory in sf formatsf_to_rasterize
- converts sf data to raster point datasfTrack
andsfTracks
coercion methods: coerce classes todata.frame
,sf
,Track
,geojson
The main methods of traviz perform the following:
- Aggregation and subsetting of trajectories or trajectory point values
- Plotting of individual trajectories or a collection of trajectories
- Rasterization of point values in trajectories
- Visualization of trajectories through space time cubes, animations, and options for multiple projections
- Heatmap, hotspot, and density visualization
Weekly progress status for Google Summer of Code 2020
To install the most current version:
devtools::install_github("JamMurz/traviz")