Datasets:
idx int64 0 11.1k | label int64 0 59 | day int64 0 184 | location.lat float64 48.5 76.2 | location.long float64 2.75 113 |
|---|---|---|---|---|
9,065 | 0 | 0 | 52.033976 | 6.112912 |
9,066 | 0 | 1 | 52.033776 | 6.113028 |
9,067 | 0 | 2 | 52.023652 | 6.117 |
9,068 | 0 | 3 | 52.034172 | 6.112228 |
9,069 | 0 | 4 | 52.033789 | 6.112922 |
9,070 | 0 | 5 | 52.021875 | 6.118282 |
9,071 | 0 | 6 | 52.02191 | 6.118134 |
9,072 | 0 | 7 | 52.024404 | 6.116705 |
9,073 | 0 | 8 | 52.024491 | 6.116495 |
9,074 | 0 | 9 | 52.025018 | 6.117462 |
9,075 | 0 | 10 | 52.024873 | 6.117198 |
9,076 | 0 | 11 | 52.024768 | 6.117305 |
9,077 | 0 | 12 | 52.032708 | 6.117002 |
9,078 | 0 | 13 | 52.026929 | 6.121908 |
9,079 | 0 | 14 | 52.69292 | 9.277737 |
9,080 | 0 | 15 | 53.063988 | 19.344186 |
9,081 | 0 | 16 | 53.284273 | 21.001148 |
9,082 | 0 | 17 | 53.370512 | 22.524832 |
9,083 | 0 | 18 | 53.393381 | 22.499294 |
9,084 | 0 | 19 | 53.451068 | 22.55708 |
9,085 | 0 | 20 | 53.405873 | 22.525305 |
9,086 | 0 | 21 | 53.232146 | 22.507872 |
9,087 | 0 | 22 | 53.222957 | 22.533101 |
9,088 | 0 | 23 | 53.11536 | 22.312386 |
9,089 | 0 | 24 | 53.11512 | 22.310658 |
9,090 | 0 | 25 | 53.112672 | 22.29628 |
9,091 | 0 | 26 | 53.113159 | 22.297692 |
9,092 | 0 | 27 | 53.559646 | 22.785256 |
9,093 | 0 | 28 | 53.694567 | 22.736785 |
9,094 | 0 | 29 | 53.695857 | 22.734631 |
9,095 | 0 | 30 | 53.694083 | 22.73939 |
9,096 | 0 | 31 | 53.651149 | 22.758474 |
9,097 | 0 | 32 | 53.692487 | 22.745253 |
9,098 | 0 | 33 | 55.568845 | 24.391906 |
9,099 | 0 | 34 | 54.542857 | 29.153525 |
9,100 | 0 | 35 | 54.950344 | 28.560114 |
9,101 | 0 | 36 | 55.011158 | 28.531051 |
9,102 | 0 | 37 | 55.011556 | 28.599697 |
9,103 | 0 | 38 | 54.901024 | 28.69145 |
9,104 | 0 | 39 | 54.904417 | 28.695218 |
9,105 | 0 | 40 | 54.902322 | 28.693514 |
9,106 | 0 | 41 | 54.906245 | 28.697679 |
9,107 | 0 | 42 | 54.901313 | 28.688905 |
9,108 | 0 | 43 | 54.90478 | 28.693932 |
9,109 | 0 | 44 | 54.901896 | 28.693394 |
9,110 | 0 | 45 | 54.789609 | 28.560778 |
9,111 | 0 | 46 | 56.364189 | 28.087747 |
9,112 | 0 | 47 | 56.36542 | 28.087589 |
9,113 | 0 | 48 | 55.15361 | 29.931894 |
9,114 | 0 | 49 | 55.156658 | 29.944172 |
9,115 | 0 | 50 | 55.128626 | 29.84767 |
9,116 | 0 | 51 | 55.157676 | 29.919818 |
9,117 | 0 | 52 | 55.107602 | 29.832141 |
9,118 | 0 | 53 | 55.140118 | 29.892091 |
9,119 | 0 | 54 | 55.141585 | 29.969447 |
9,120 | 0 | 55 | 55.190575 | 29.712258 |
9,121 | 0 | 56 | 55.207324 | 29.652888 |
9,122 | 0 | 57 | 55.209478 | 29.647774 |
9,123 | 0 | 58 | 55.211007 | 29.661882 |
9,124 | 0 | 59 | 55.091013 | 29.673084 |
9,125 | 0 | 60 | 55.187244 | 29.856156 |
9,126 | 0 | 61 | 55.20967 | 29.654603 |
9,127 | 0 | 62 | 55.206249 | 29.649182 |
9,128 | 0 | 63 | 55.267005 | 29.730087 |
9,129 | 0 | 64 | 55.587748 | 29.967939 |
9,130 | 0 | 65 | 55.777584 | 30.032961 |
9,131 | 0 | 66 | 55.776408 | 30.033904 |
9,132 | 0 | 67 | 55.774291 | 30.023407 |
9,133 | 0 | 68 | 55.771733 | 30.025806 |
9,134 | 0 | 69 | 55.769419 | 30.027904 |
9,135 | 0 | 70 | 55.845089 | 30.028886 |
9,136 | 0 | 71 | 55.807401 | 30.03051 |
9,137 | 0 | 72 | 55.84429 | 30.027513 |
9,138 | 0 | 73 | 55.844516 | 30.027489 |
9,139 | 0 | 74 | 56.757022 | 30.221469 |
9,140 | 0 | 75 | 60.785524 | 39.015805 |
9,141 | 0 | 76 | 64.533285 | 48.067574 |
9,142 | 0 | 77 | 64.67117 | 45.596548 |
9,143 | 0 | 78 | 64.693185 | 45.586813 |
9,144 | 0 | 79 | 64.696019 | 45.543168 |
9,145 | 0 | 80 | 64.703257 | 45.537242 |
9,146 | 0 | 81 | 64.699928 | 45.511915 |
9,147 | 0 | 82 | 64.718105 | 45.509081 |
9,148 | 0 | 83 | 64.71772 | 45.509014 |
9,149 | 0 | 84 | 64.751249 | 45.534955 |
9,150 | 0 | 85 | 64.747136 | 45.545811 |
9,151 | 0 | 86 | 64.775918 | 45.599336 |
9,152 | 0 | 87 | 64.777364 | 45.596308 |
9,153 | 0 | 88 | 64.777421 | 45.596401 |
9,154 | 0 | 89 | 64.936604 | 45.819933 |
9,155 | 0 | 90 | 67.245061 | 54.202332 |
9,156 | 0 | 91 | 69.240854 | 68.101881 |
9,157 | 0 | 92 | 69.230453 | 68.119692 |
9,158 | 0 | 93 | 69.200527 | 68.162244 |
9,159 | 0 | 94 | 69.06469 | 68.383926 |
9,160 | 0 | 95 | 68.223476 | 69.430366 |
9,161 | 0 | 96 | 68.22187 | 69.432872 |
9,162 | 0 | 97 | 68.227262 | 69.490713 |
9,163 | 0 | 98 | 68.236268 | 69.489266 |
9,164 | 0 | 99 | 68.48742 | 69.245215 |
WildGraph: wildlife migration trajectories
The two bird migration datasets used in
Ali Al-Lawati, Elsayed Eshra, Prasenjit Mitra. WildGraph: Realistic Long-Horizon Trajectory Generation with Limited Sample Size. SIGSPATIAL 2024. (arXiv:2404.08068)
Each dataset is a small set of months-long GPS trajectories with one location per day and the same length for every trajectory. They were prepared for long-horizon trajectory generation from few samples: a model sees a few dozen real migrations and has to generate new, realistic ones.
Contents
Two configurations, each with a single train split and one row per daily location.
| Configuration | Species | Clipping window | Days per trajectory | Trajectories | Rows |
|---|---|---|---|---|---|
geese |
Greater white-fronted goose (Anser albifrons) | Mar 1 to Sep 1 | 185 | 60 | 11,100 |
stork |
White stork (Ciconia ciconia) | Aug 15 to Nov 1 | 79 | 77 | 6,083 |
The geese trajectories lie between 48.5° and 76.2° N and between 2.8° and 113.2° E, and the stork trajectories between 9.3° and 53.0° N and between 6.4° W and 37.7° E.
from datasets import load_dataset
ds = load_dataset("aliwister/WildGraph", "geese", split="train")
print(ds[0])
# {'idx': 9065, 'label': 0, 'day': 0, 'location.lat': 52.0339758, 'location.long': 6.1129115}
# all trajectories as one array of shape (trajectories, days, 2), ordered (latitude, longitude)
df = ds.to_pandas()
trajs = df[["location.lat", "location.long"]].to_numpy().reshape(df["label"].nunique(), -1, 2)
print(trajs.shape)
# (60, 185, 2)
Fields
| Field | Type | Description |
|---|---|---|
idx |
int64 | Row identifier kept from the released CSV files. It is unique within a configuration and consecutive within a trajectory, but it does not order the trajectories. |
label |
int64 | Trajectory identifier, 0 to 59 for geese and 0 to 76 for stork. One label is one animal in one season (see below). |
day |
int64 | Position of the location within its trajectory, starting at 0. Day 0 corresponds to the first day of the clipping window. |
location.lat |
float64 | Latitude in decimal degrees (WGS84). |
location.long |
float64 | Longitude in decimal degrees (WGS84). |
Rows are stored trajectory by trajectory and in day order. The files hold no timestamps, years, or animal identifiers.
How the data was built
Both datasets were obtained from the Movebank Data Repository and processed as described in Section 5.4 of the paper.
- Observations were reduced to one per day for each animal with MoveApps.
- Each track was clipped to the window in the table above, which covers one migration.
- Animals tracked over several years were split into one trajectory per year, so a
labelis an animal in one season, and two labels can belong to the same animal. - Trajectories with significant missing readings were dropped, and the remaining isolated gaps were filled by simple interpolation. A small number of locations are therefore interpolated and not measured.
Use
The paper trains on the trajectories of four folds and compares generated trajectories with the held-out fold,
using five-fold cross-validation over label without shuffling.
from sklearn.model_selection import KFold
labels = range(df["label"].nunique())
for k, (train_labels, test_labels) in enumerate(KFold(n_splits=5).split(labels)):
train, test = df[df["label"].isin(train_labels)], df[df["label"].isin(test_labels)]
Generated trajectories are scored by their distance to the real ones (Hausdorff distance, dynamic time warping,
and final displacement error), by how many held-out trajectories they cover, and by how closely their spatial
distribution matches the real one (Pearson correlation and chi-squared similarity). Code for WildGraph, the
baselines, and the metrics is at github.com/aliwister/wildgraph. The
code reads the columns idx, label, location.lat, and location.long, which keep their original names
here, so ds.to_pandas() can replace the CSV files of that repository.
Source data and license
The trajectories are derived from two studies published in the Movebank Data Repository under CC0 1.0. This dataset is released under the same terms. Please cite the source data and the papers they accompany when you use it.
geese: Kölzsch A, Müskens GJDM, Moonen S, Kruckenberg H, Glazov P, Wikelski M (2019). Data from: Flyway connectivity and exchange primarily driven by moult migration in geese [North Sea population]. Movebank Data Repository. doi:10.5441/001/1.ct72m82n. Accompanies Kölzsch et al. (2019), Movement Ecology 7:3, doi:10.1186/s40462-019-0148-6.stork: Carlson B, Rotics S, Nathan R, Wikelski M, Jetz W (2021). Data from: Individual environmental niches in mobile organisms. Movebank Data Repository. doi:10.5441/001/1.rj21g1p1. Accompanies Carlson et al. (2021), Nature Communications 12:4572, doi:10.1038/s41467-021-24826-x.
Citation
@inproceedings{allawati2024wildgraph,
title = {WildGraph: Realistic Long-Horizon Trajectory Generation with Limited Sample Size},
author = {Al-Lawati, Ali and Eshra, Elsayed and Mitra, Prasenjit},
booktitle = {Proceedings of the 32nd ACM International Conference on Advances in Geographic Information Systems},
publisher = {ACM},
pages = {247--258},
year = {2024},
doi = {10.1145/3678717.3691265}
}
- Downloads last month
- -