Configuration - NHLStenden-ISAL/Trajectory-Hotspots-Visualization GitHub Wiki
This page explains how to configure the tool.
If you haven't installed the tool yet, check out the Installation Guide.
Config.txt
The configuration file is a simple text file with the following layout:
| Name | File | Delimiter-XY | Delimiter-Points | Algorithm | Length/Radius | (Optional) Header |
|---|---|---|---|---|---|---|
| Bird-Migration-Trajectory | C:/mydata/trajectory1.txt | , | ; | Contiguous Fixed-Length | 1 | |
| Car-Trajectory | C:/mydata/trajectory2.txt | , | Space | Contiguous Fixed-Length | 2 | 5 |
| Whale-Trajectory | C:/mydata/trajectory3.txt | , | Newline | Contiguous Fixed-Length | 6 |
The file should look like this:
Bird-Migration-Trajectory C:/mydata/trajectory1.txt , ; get_hotspot_fixed_length_contiguous 1
Car-Trajectory C:/mydata/trajectory2.txt , get_hotspot_fixed_length_contiguous 2 5
Whale-Trajectory C:/mydata/trajectory3.txt , N get_hotspot_fixed_length_contiguous 6
Note the spaces between the values, these are required.
The trajectory files look like this:
C:/mydata/trajectory1.txt
1,2;3,4;5,6;7,8;9,10
C:/mydata/trajectory2.txt
(1) this is a header with
(2) useless
(3) information
(4) unlike how awesome you are
(5) and you deserve happiness, don't give up!
1,2 3,4 5,6 7,8 9,10
C:/mydata/trajectory3.txt
1,2
3,4
5,6
7,8
9,10
When using a newline as delimiter use N as delimiter. like shown in the example above. Space is no different just use
a space.
Paths can also be local from the .exe. e.g: examples/trajectory1.txt.
This means that the config file can be anywhere.
--- Trajectory-Hotspots-Visualization.exe
--- config.txt
--- examples
|--- config.txt
|--- trajectory1.txt