Evaluate mobility behavior using mobility metrics
| Tool Info | Links |
|---|---|
| Original Tool | https://github.com/irmlma/mobility-metrics |
| Current Tool Version | 7c1e475940ebf941b788c800685d501d18379c67 |
odtp new component \
--name odtp-mobility-metrics \
--component-version v0.0.3 \
--repository https://github.com/irmlma/mobility-metrics
| Parameter | Description | Default Value | Options |
|---|---|---|---|
| DATASET | CSV input filename without format (.csv) |
dtepr | Any string |
| ALL_BASIC_METRICS | Set to TRUE in order to run all combinations of basic metrics available | FALSE | TRUE, FALSE |
| METRICS_TYPE | Type of metrics to be calculated | BASIC | BASIC, ENTROPY, MOBILITY_METRICS |
| BASIC_METRIC_TYPE | Type of basic metrics to be calculated: Location visitation frequency, Radius of gyration, Jump length, Wait time | rg | rg, locf, jump, wait |
| RADIUS_OF_GYRATION_METHOD | Radius of gyration method: 'count' calculates with visitation frequency, 'duration' calculates with activity duration | duration | duration, count |
| File/Folder | Type | Path | Description | Parameter |
|---|---|---|---|---|
| dtepr.csv | csv | dtepr.csv | Output from odtp-mobility-simulation. The filename can be modified in DATASET parameter | null |
Disclaimer: To complete.
| File/Folder | Type | Path | Description | Parameter |
|---|---|---|---|---|
| rg.png | png | rg.png | Output from basic metrics > rg | null |
| ... | ... | ... | ... | ... |
-
Create an input folder containing:
dtepr.csv -
Create an empty output folder called
odtp-output. -
Build the dockerfile
docker build -t odtp-mobility-metrics .
- Run the following command. Mount the correct volumes for input/output folders.
docker run -it --rm \
-v {PATH_TO_YOUR_INPUT_VOLUME}:/odtp/odtp-input \
-v {PATH_TO_YOUR_OUTPUT_VOLUME}:/odtp/odtp-output \
--env-file .env odtp-mobility-metrics
docker run -it --rm -v ${pwd}/odtp-input:/odtp/odtp-input -v ${pwd}/odtp-output:/odtp/odtp-output --env-file .env odtp-mobility-metrics
-
v0.0.3
- Updated component client to v0.1.2
- Github actions for docker building
- Fix on windows build
- Added GDAL, rasterio, and fiona as dependencies to solve problem when building for arm64.
-
v0.0.2
- Update to mobility-metrics
0.0.1 - Bugs corrected on
app.sh - Added option to run all metrics
- Update to mobility-metrics
-
v0.0.1
- Initial release
SDSC & CSFM