Dataset Viewer
Auto-converted to Parquet Duplicate
trajectory_id
stringlengths
77
127
split
stringclasses
1 value
city
stringclasses
41 values
mask_strategy
stringclasses
3 values
base_name
stringlengths
55
82
activity_type
stringclasses
11 values
activity_classification_method
stringclasses
3 values
mask_type
stringclasses
3 values
num_masked_segments
int32
1
1
num_masked_points
int32
2
4.26k
original_gpx
large_stringlengths
1.13k
530k
masked_gpx
large_stringlengths
904
519k
metadata_json
large_stringlengths
1.06k
375k
train/alps_chamonix/destination/2024_02_28_11_38_22_2024_02_28_11_38_22.gpx_2024-0_pistes_de_Coulouvrier_à_Mollie
train
alps_chamonix
destination
2024_02_28_11_38_22_2024_02_28_11_38_22.gpx_2024-0_pistes_de_Coulouvrier_à_Mollie
hiking
llm_exact_match
destination
1
57
<?xml version="1.0" encoding="UTF-8"?> <gpx xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd" version="1.1" creator="OSMGPXCrawler"> <metadata> <name>2024_02_28_11_38_22_2...
<?xml version="1.0" encoding="UTF-8"?> <gpx xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd" version="1.1" creator="OSMGPXCrawler"> <metadata> <name>2024_02_28_11_38_22_2...
{"mask_type": "destination", "masked_segments": [{"track_idx": 0, "segment_idx": 0, "start_idx": 229, "end_idx": 285, "start_point": {"lat": 46.025709, "lon": 6.704127, "ele": null, "time": "2024-02-28T10:45:46+00:00"}, "end_point": {"lat": 46.0248142, "lon": 6.7001885, "ele": null, "time": "2024-02-28T10:46:42+00:00"}...
train/alps_chamonix/destination/2024_02_28_14_43_48_2024_02_28_14_43_48.gpx_2024-0_piste_Serpentine_à_Désert_blan
train
alps_chamonix
destination
2024_02_28_14_43_48_2024_02_28_14_43_48.gpx_2024-0_piste_Serpentine_à_Désert_blan
driving
llm_exact_match
destination
1
67
<?xml version="1.0" encoding="UTF-8"?> <gpx xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd" version="1.1" creator="OSMGPXCrawler"> <metadata> <name>2024_02_28_14_43_48_2...
<?xml version="1.0" encoding="UTF-8"?> <gpx xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd" version="1.1" creator="OSMGPXCrawler"> <metadata> <name>2024_02_28_14_43_48_2...
{"mask_type": "destination", "masked_segments": [{"track_idx": 0, "segment_idx": 0, "start_idx": 267, "end_idx": 333, "start_point": {"lat": 46.0025332, "lon": 6.7174971, "ele": null, "time": "2024-02-28T13:48:19+00:00"}, "end_point": {"lat": 46.0020476, "lon": 6.7132243, "ele": null, "time": "2024-02-28T13:49:25+00:00...
"train/alps_chamonix/destination/2024_02_28_14_59_03_2024_02_28_14_59_03.gpx_2024-0_pistes_de_Déser(...TRUNCATED)
train
alps_chamonix
destination
2024_02_28_14_59_03_2024_02_28_14_59_03.gpx_2024-0_pistes_de_Désert_blanc_à_Diama
driving
llm_exact_match
destination
1
44
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<gpx xmlns=\"http://www.topografix.com/GPX/1/1\" xmlns:(...TRUNCATED)
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<gpx xmlns=\"http://www.topografix.com/GPX/1/1\" xmlns:(...TRUNCATED)
"{\"mask_type\": \"destination\", \"masked_segments\": [{\"track_idx\": 0, \"segment_idx\": 0, \"sta(...TRUNCATED)
"train/alps_chamonix/destination/2024_02_28_15_42_13_2024_02_28_15_42_13.gpx_2024-0_pistes_des_Grand(...TRUNCATED)
train
alps_chamonix
destination
2024_02_28_15_42_13_2024_02_28_15_42_13.gpx_2024-0_pistes_des_Grandes_Platières_à
hiking
llm_exact_match
destination
1
66
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<gpx xmlns=\"http://www.topografix.com/GPX/1/1\" xmlns:(...TRUNCATED)
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<gpx xmlns=\"http://www.topografix.com/GPX/1/1\" xmlns:(...TRUNCATED)
"{\"mask_type\": \"destination\", \"masked_segments\": [{\"track_idx\": 0, \"segment_idx\": 0, \"sta(...TRUNCATED)
"train/alps_chamonix/destination/2024_02_28_16_00_00_2024_02_28_16_00_00.gpx_2024-0_pistes_des_Grand(...TRUNCATED)
train
alps_chamonix
destination
2024_02_28_16_00_00_2024_02_28_16_00_00.gpx_2024-0_pistes_des_Grandes_Platières_à
hiking
llm_exact_match
destination
1
88
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<gpx xmlns=\"http://www.topografix.com/GPX/1/1\" xmlns:(...TRUNCATED)
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<gpx xmlns=\"http://www.topografix.com/GPX/1/1\" xmlns:(...TRUNCATED)
"{\"mask_type\": \"destination\", \"masked_segments\": [{\"track_idx\": 0, \"segment_idx\": 0, \"sta(...TRUNCATED)
"train/alps_chamonix/destination/2024_02_28_16_17_10_2024_02_28_16_17_10.gpx_2024-0_piste_des_Grands(...TRUNCATED)
train
alps_chamonix
destination
2024_02_28_16_17_10_2024_02_28_16_17_10.gpx_2024-0_piste_des_Grands_Vans_à_Mollie
hiking
llm_exact_match
destination
1
54
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<gpx xmlns=\"http://www.topografix.com/GPX/1/1\" xmlns:(...TRUNCATED)
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<gpx xmlns=\"http://www.topografix.com/GPX/1/1\" xmlns:(...TRUNCATED)
"{\"mask_type\": \"destination\", \"masked_segments\": [{\"track_idx\": 0, \"segment_idx\": 0, \"sta(...TRUNCATED)
"train/alps_chamonix/destination/2024_02_29_13_02_29_2024_02_29_13_02_29.gpx_2024-0_pointe_de_Véret(...TRUNCATED)
train
alps_chamonix
destination
2024_02_29_13_02_29_2024_02_29_13_02_29.gpx_2024-0_pointe_de_Véret_à_Tête_des_Ver
hiking
llm_exact_match
destination
1
202
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<gpx xmlns=\"http://www.topografix.com/GPX/1/1\" xmlns:(...TRUNCATED)
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<gpx xmlns=\"http://www.topografix.com/GPX/1/1\" xmlns:(...TRUNCATED)
"{\"mask_type\": \"destination\", \"masked_segments\": [{\"track_idx\": 0, \"segment_idx\": 0, \"sta(...TRUNCATED)
"train/alps_chamonix/destination/2024_02_29_13_32_16_2024_02_29_13_32_16.gpx_2024-0_piste_Tête_des_(...TRUNCATED)
train
alps_chamonix
destination
2024_02_29_13_32_16_2024_02_29_13_32_16.gpx_2024-0_piste_Tête_des_Verds_à_Désert
hiking
llm_exact_match
destination
1
34
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<gpx xmlns=\"http://www.topografix.com/GPX/1/1\" xmlns:(...TRUNCATED)
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<gpx xmlns=\"http://www.topografix.com/GPX/1/1\" xmlns:(...TRUNCATED)
"{\"mask_type\": \"destination\", \"masked_segments\": [{\"track_idx\": 0, \"segment_idx\": 0, \"sta(...TRUNCATED)
"train/alps_chamonix/destination/Evening_walkies.gpx_2024-07-22T18:53:10Z_Path_around_the_back_of_Le(...TRUNCATED)
train
alps_chamonix
destination
Evening_walkies.gpx_2024-07-22T18:53:10Z_Path_around_the_back_of_Les_Ge
walking
llm_exact_match
destination
1
481
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<gpx xmlns=\"http://www.topografix.com/GPX/1/1\" xmlns:(...TRUNCATED)
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<gpx xmlns=\"http://www.topografix.com/GPX/1/1\" xmlns:(...TRUNCATED)
"{\"mask_type\": \"destination\", \"masked_segments\": [{\"track_idx\": 0, \"segment_idx\": 0, \"sta(...TRUNCATED)
"train/alps_chamonix/destination/Evening_walkies.gpx_2024-07-22T18:53:30Z_Path_around_the_back_of_Le(...TRUNCATED)
train
alps_chamonix
destination
Evening_walkies.gpx_2024-07-22T18:53:30Z_Path_around_the_back_of_Les_Ge
walking
llm_exact_match
destination
1
179
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<gpx xmlns=\"http://www.topografix.com/GPX/1/1\" xmlns:(...TRUNCATED)
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<gpx xmlns=\"http://www.topografix.com/GPX/1/1\" xmlns:(...TRUNCATED)
"{\"mask_type\": \"destination\", \"masked_segments\": [{\"track_idx\": 0, \"segment_idx\": 0, \"sta(...TRUNCATED)
End of preview. Expand in Data Studio

GlobalTrace

GlobalTrace is a benchmark of GPS trajectories drawn from 73 cities/regions across the world, with masked-segment annotations for evaluating trajectory reconstruction methods. Three masking strategies are provided per trajectory: destination, large_gap, and simple_interpolation (200m gap target).

Splits

Split Cities Trajectories
train 44 8,815
validation 10 1,787
test 19 1,707

The validation/test splits are held out for evaluation; the test set is unchanged from the original release. See redistribution_summary.md for the dev-set redistribution details.

Schema (one row per trajectory)

Column Type Description
trajectory_id string {split}/{city}/{strategy}/{base_name}
split string train / validation / test
city string Source city or region
mask_strategy string destination, large_gap, or simple_interpolation
base_name string Original trace base name
activity_type string e.g. walking, hiking, driving, cycling
activity_classification_method string How the activity label was derived
mask_type string Same as mask_strategy (from metadata)
num_masked_segments int32 Number of masked segments
num_masked_points int32 Total points removed across all masked segments
original_gpx string Full original GPX (XML)
masked_gpx string GPX with the target segment(s) removed
metadata_json string JSON-encoded metadata: per-segment indices, start/end points, context_before/after, original_points

The full per-segment metadata is preserved in metadata_json (parse with json.loads).

Usage

from datasets import load_dataset

ds = load_dataset("joey234/globaltrace")
print(ds)
print(ds["validation"][0]["trajectory_id"], ds["validation"][0]["activity_type"])

import json
meta = json.loads(ds["validation"][0]["metadata_json"])
print(meta["masked_segments"][0]["start_point"])

The original per-city directory layout is also kept in this repo under train_masks_200m/, dev_masks_200m/, test_masks_200m/ for users who prefer to consume raw .gpx and metadata files directly.

Citation

If you use GlobalTrace, please cite the corresponding paper.

Downloads last month
71