Crates.io | lachesis |
lib.rs | lachesis |
version | 1.0.2 |
source | src |
created_at | 2023-05-03 06:41:01.100083 |
updated_at | 2023-05-03 06:53:02.052859 |
description | GPS stop point detection from Hariharan and Toyama (2004) 'Project Lachesis: Parsing and Modeling Location Histories' |
homepage | https://github.com/hamishgibbs/lachesis |
repository | https://github.com/hamishgibbs/lachesis |
max_upload_size | |
id | 855147 |
size | 34,726 |
Implements the first-stage stop point detection algorithm from Hariharan and Toyama (2004) Project Lachesis: Parsing and Modeling Location Histories
cargo install lachesis
This binary requires a .csv
file (no header) with the columns: id
(String), time
(String), x
(Float), y
(Float).
cat data/gps_data.csv | lachesis --distance 200 --time 300 --fmt-time '%Y-%m-%d %H:%M:%S' > output.csv
lachesis --help
GPS stop point detection from Hariharan and Toyama (2004) 'Project Lachesis: Parsing and Modeling Location Histories'
Usage: lachesis --distance <DISTANCE> --time <TIME> --fmt-time <FMT_TIME>
Options:
-d, --distance <DISTANCE> Maximum spatial roam of a stop point (i.e. 200m)
-t, --time <TIME> Minimum time duration of a stop point (i.e. 300 seconds)
-f, --fmt-time <FMT_TIME> Format of dates in the input file (i.e. "%Y-%m-%d %H:%M:%S")
-h, --help Print help
-V, --version Print version