Datasets:
Add geese and stork trajectory datasets with dataset card
Browse filesFiles changed (3)
- README.mdAdded+138
- geese/train-00000-of-00001.parquetAdded+3
- stork/train-00000-of-00001.parquetAdded+3
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138---license: cc0-1.0pretty_name: WildGraph Wildlife Migration Trajectoriestask_categories:- othertags:- trajectory-generation- trajectory- wildlife- animal-movement- migration- gps- geospatial- movebanksize_categories:- 10K<n<100Kconfigs:- config_name: geese data_files: - split: train path: geese/train-00000-of-00001.parquet- config_name: stork data_files: - split: train path: stork/train-00000-of-00001.parquet---
# 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](https://doi.org/10.1145/3678717.3691265).> SIGSPATIAL 2024. ([arXiv:2404.08068](https://arxiv.org/abs/2404.08068))
Each dataset is a small set of months-long GPS trajectories with one location per day and the same length forevery trajectory. They were prepared for long-horizon trajectory generation from few samples: a model sees afew 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 trajectoriesbetween 9.3° and 53.0° N and between 6.4° W and 37.7° E.
```pythonfrom 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 animalidentifiers.
## How the data was built
Both datasets were obtained from the [Movebank Data Repository](https://www.movebank.org) and processed asdescribed in Section 5.4 of the paper.
1. Observations were reduced to one per day for each animal with [MoveApps](https://www.moveapps.org).2. Each track was clipped to the window in the table above, which covers one migration.3. Animals tracked over several years were split into one trajectory per year, so a `label` is an animal in one season, and two labels can belong to the same animal.4. 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.
```pythonfrom 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 spatialdistribution matches the real one (Pearson correlation and chi-squared similarity). Code for WildGraph, thebaselines, and the metrics is at [github.com/aliwister/wildgraph](https://github.com/aliwister/wildgraph). Thecode reads the columns `idx`, `label`, `location.lat`, and `location.long`, which keep their original nameshere, 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. Thisdataset is released under the same terms. Please cite the source data and the papers they accompany when youuse 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](https://doi.org/10.5441/001/1.ct72m82n). Accompanies Kölzsch et al. (2019), Movement Ecology 7:3, [doi:10.1186/s40462-019-0148-6](https://doi.org/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](https://doi.org/10.5441/001/1.rj21g1p1). Accompanies Carlson et al. (2021), Nature Communications 12:4572, [doi:10.1038/s41467-021-24826-x](https://doi.org/10.1038/s41467-021-24826-x).
## Citation
```bibtex@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}}```123version https://git-lfs.github.com/spec/v1oid sha256:b0e343bd248dc954399887299fc2cb1fe5936923278f0e8a782b74085d57ecb0size 283807123version https://git-lfs.github.com/spec/v1oid sha256:2e6d74c70c5fb1aae626cf7f39f59b3542bb7da8efb37ec6eda0c29f5d195816size 156684README.mdAdded+138
geese/train-00000-of-00001.parquetAdded+3
stork/train-00000-of-00001.parquetAdded+3