Build multimodal trips from trajectories.

palms_build_multimodal(data, spatial_threshold, temporal_threshold,
  verbose = TRUE)

Arguments

data

The trajectories object built with palms_calc_trajectories.

spatial_threshold

Spatial threshold in meters

temporal_threshold

Temporal threshold in minutes

verbose

Print progress after each step. Default is TRUE.

Value

The input trajectories LINESTRING geometry, collapsed into multimodal trips

Details

Several columns are required in the trajectories dataset. These need to be added as trajectory fields:

  • identifier

  • tripnumber

  • mot

  • start

  • end

  • geometry

Examples

#multimodal <- palms_calc_multimodal(trajectories, 200, 10)