Data formate
In pgSQL
trajectory
tid | index | lon | lat | timestamp |
---|---|---|---|---|
0 | 0 | -8.6 | 41.1 | 2014-6-12 02:09:57 |
0 | 1 | -8.7 | 41.2 | 2014-6-12 02:10:05 |
1 | 0 | -9.2 | 68.9 | 2014-7-22 02:52:52 |
1 | 1 | -9.3 | 68.8 | 2014-7-22 02:53:00 |
- tid: trajectory ID
- index: point index in trajectory
- lon&lat: longitude and latitude of point
- timestamp: the time this point recorded in
ROI
rid | density | score | range |
---|---|---|---|
0 | 15 | 15 | (-8.794023765372,41.2),(-8.8,41.19550339197) |
1 | 12 | 13 | (-8.7880475307441,41.2),(-8.7940241759202,41.19550339197) |
- rid: region ID
- density: number of trajectories passing through
- score: Attractive Score calculated by PATS algorithm
algo_para
Parameters in each algorithm
algo | para_name | type | def | min | max |
---|---|---|---|---|---|
test | delta | float | 0.5 | 0 | 0.1 |
test | alfa | int | 2 | 1 | 5 |
- algo: algorithm name
- para_name: parameter name
- type: data type
- def: default value
min&max minimum and maximum bound of parameter
algo_dataset
Available datasets in each algorithm
algo | dataset |
---|---|
test | a1 |
test | a2 |
In redis
TRD-Travel Route Dataset
The converted trajectory
Recorded in a list of ROIs
key(rid) | value(tid list) |
---|---|
0 | 0,1,2,3 |
1 | 1,5,6,10 |
- key(rid): region id
value(tid list): the trajectories passing through
json format
trajectory
{ "trajectory": [ { "tid": 0, "points":[ { "index": 0, "longitude": 41.1, "latitude": -8.6, "time": 2014-6-12 02:09:57 }, { "index": 1, "longitude": 41.2, "latitude": -8.7, "time": 2014-6-12 02:10:05 } ] }, { "tid": 1, "points":[ { "index": 0, "longitude": 68.9, "latitude": -9.2, "time": 2014-7-22 02:52:52 }, { "index": 1, "longitude": 68.8, "latitude": -9.3, "time": 2014-7-22 02:53:00 } ] } ] }
ROI
{ "ROI": [ { "density": 15, "range": { "east": "-8.8", "north": "41.2", "south": "41.19550339197", "west": "-8.794023765372" }, "rid": 0, "score": 15.0 }, { "density": 12, "range": { "east": "-8.7940241759202", "north": "41.2", "south": "41.19550339197", "west": "-8.7880475307441" }, "rid": 1, "score": 13.0 } ], "name": "test" }
algorithm
{ "ALGO": "CACT", "Parameter":[ { "name" : "delta", "type":"float", "default" : 0.5, "min": 0.0, "max": 1.0 }, { "name" : "alfa", "type":"int", "default" : 2, "min": 1, "max": 5 }, { "name" : "gamma", "type":"float", "default" : 30, "min": 0, "max": 100 } ], "Dataset":["a1","a2","a3"] }