Datasets:
File size: 9,593 Bytes
0343ffa | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 | ---
language:
- en
- de
license: cc-by-nd-4.0
tags:
- autonomous-driving
- traffic-analysis
- trajectory-prediction
- drone-data
- automatum
- open-drive
- json
- t-crossing
- intersection
- openscenario
pretty_name: "Automatum Data: T-Crossing Drone Dataset"
task_categories:
- time-series-forecasting
- object-detection
size_categories:
- 1K<n<10K
---

# Automatum Data: T-Crossing Drone Dataset
[](https://automatum-data.com)
[](https://openautomatumdronedata.readthedocs.io)
[](https://pypi.org/project/openautomatumdronedata/)
[](https://creativecommons.org/licenses/by-nd/4.0/)
## Introduction
The **Automatum Data T-Crossing Dataset** contains high-precision movement data of traffic participants (cars, trucks, vans) extracted from drone recordings at T-shaped intersections in Bavaria, Germany. The data is captured from a bird's eye view and provides complete trajectories with velocities, accelerations, lane assignments, and object relationships.
This dataset directly competes with established benchmarks such as **highD** and **NGSIM** — offering superior data quality (JSON instead of CSV), standardized road geometry (OpenDRIVE XODR), and precise UTM world coordinate mapping.

## Dataset at a Glance
| Metric | Value |
|--------|-------|
| **Scenario Type** | T-Crossing / Intersection |
| **Recordings** | 2 |
| **Total Duration** | ~30 minutes (0.49 hours) |
| **Total Distance** | 108.8 km |
| **Total Vehicles Tracked** | 683 |
| **Vehicle Types** | 623 Cars, 47 Trucks, 13 Vans |
| **Max Trajectory Length** | 160.3 m |
| **Coordinate System** | UTM Zone 32U |
| **FPS** | 29.97 |
| **License** | CC BY-ND 4.0 |

## Repository Structure
```
automatum-data-crossing/
├── README.md # This file
├── doc/ # Documentation images, logo, technical diagrams
├── example_scripts/ # Ready-to-use Python analysis scripts
├── Sample_Data/ # One recording unpacked for quick preview
│ └── T-Crossing--GaimersheimStadtweg_e2e6-.../
│ ├── dynamicWorld.json
│ ├── staticWorld.xodr
│ ├── recording.html
│ └── img/
└── automatum_data_crossing.zip # All recordings as archive
```
> **Quick Preview:** Browse `Sample_Data/` to explore the data structure before downloading the full archive. The sample recording can be loaded directly with the `openautomatumdronedata` Python library.
## Recording Overview
### 1. T-Crossing Gaimersheim Stadtweg
| | |
|---|---|
|  |  |
| KPI | Value |
|-----|-------|
| Trajectories | 299 |
| Duration | 650.7 s (~10.8 min) |
| Traffic Flow | 1,654.3 veh/h |
| Traffic Density | 40.2 veh/km |
| Avg. Speed | 41.2 km/h |
| Max. Speed | 109.4 km/h |
| Max. Acceleration | 4.7 m/s² |
| Location | 48.7882°N, 11.3855°E |
### 2. T-Crossing St2214 Dünzlau Umgehung
| | |
|---|---|
|  |  |
| KPI | Value |
|-----|-------|
| Trajectories | 384 |
| Duration | 1,125.6 s (~18.8 min) |
| Traffic Flow | 1,228.1 veh/h |
| Traffic Density | 22.1 veh/km |
| Avg. Speed | 55.6 km/h |
| Max. Speed | 110.4 km/h |
| Max. Acceleration | 5.8 m/s² |
| Location | 48.7762°N, 11.3196°E |
## Data Structure
Each recording folder contains:
```
recording_folder/
├── dynamicWorld.json # Trajectories, velocities, accelerations, bounding boxes
├── staticWorld.xodr # Road geometry in OpenDRIVE format
├── recording_name.html # Interactive metadata overview (Bokeh)
└── img/
├── kpis.json # Key performance indicators
├── *_map.jpg # Aerial map view
├── *_trajectories.jpg # Trajectory visualization
└── *_centerImg_thumb.jpg # Center frame thumbnail
```
### dynamicWorld.json
The core data file contains for each tracked vehicle:
- **Position vectors**: `x_vec`, `y_vec` — UTM coordinates over time
- **Velocity vectors**: `vx_vec`, `vy_vec` — in m/s
- **Acceleration vectors**: `ax_vec`, `ay_vec` — in m/s²
- **Jerk vectors**: `jerk_x_vec`, `jerk_y_vec`
- **Heading**: `psi_vec` — orientation angle
- **Lane assignment**: `lane_id_vec`, `road_id_vec` — linked to XODR
- **Object dimensions**: `length`, `width`
- **Object relationships**: `object_relation_dict_list` — front/behind/left/right neighbors
- **Safety metrics**: `ttc_dict_vec` (Time-to-Collision), `tth_dict_vec` (Time-to-Headway)
- **Lane distances**: `distance_left_lane_marking`, `distance_right_lane_marking`

### staticWorld.xodr
OpenDRIVE 1.6 format file defining:
- Road network topology and geometry
- Lane definitions with widths and types
- Junction configurations
- Speed limits and road markings

### Key Metrics Explained



## Quick Start
### Installation
```bash
pip install openautomatumdronedata
```
### Load and Explore
```python
from openautomatumdronedata.dataset import droneDataset
import os
# Point to one recording folder
path = os.path.abspath("T-Crossing--GaimersheimStadtweg_e2e6-e2e6f4bb-4668-4654-ac7e-bcd90c9df4c2")
dataset = droneDataset(path)
# Access dynamic world
dynWorld = dataset.dynWorld
print(f"UUID: {dynWorld.UUID}")
print(f"Duration: {dynWorld.maxTime:.1f} seconds")
print(f"Frames: {dynWorld.frame_count}")
print(f"Vehicles: {len(dynWorld)}")
# Get all vehicles visible at t=1.0s
objects = dynWorld.get_list_of_dynamic_objects_for_specific_time(1.0)
for obj in objects[:5]:
print(f" {obj.UUID} ({obj.type}) — x={obj.x_vec[0]:.1f}, y={obj.y_vec[0]:.1f}")
```
### Using with Hugging Face
```python
from huggingface_hub import snapshot_download, hf_hub_download
import zipfile, os
# Option 1: Download only the sample for a quick look
local_path = snapshot_download(
repo_id="AutomatumData/automatum-data-crossing",
repo_type="dataset",
allow_patterns=["Sample_Data/**"]
)
# Option 2: Download the full archive
archive = hf_hub_download(
repo_id="AutomatumData/automatum-data-crossing",
filename="automatum_data_crossing.zip",
repo_type="dataset"
)
# Extract
with zipfile.ZipFile(archive, 'r') as z:
z.extractall("automatum_data_crossing")
# Load with openautomatumdronedata
from openautomatumdronedata.dataset import droneDataset
dataset = droneDataset("automatum_data_crossing/T-Crossing--GaimersheimStadtweg_e2e6-e2e6f4bb-4668-4654-ac7e-bcd90c9df4c2")
print(f"Vehicles: {len(dataset.dynWorld)}")
```
## Example Scripts
See the `example_scripts/` folder for ready-to-use analysis scripts:
- **`01_lane_changes.py`** — Analyze lane change behavior across all vehicles
- **`02_heatmap_density.py`** — Generate traffic density heatmaps
- **`03_high_acceleration.py`** — Detect high-acceleration events
- **`04_export_objects.py`** — Export per-vehicle JSON files with surrounding object data
## Comparison with Established Datasets
| Feature | Automatum Data | highD | NGSIM |
|---------|---------------|-------|-------|
| **Data Format** | JSON + OpenDRIVE XODR | CSV + XML | CSV |
| **Road Geometry** | OpenDRIVE 1.6 standard | Simple annotations | Basic annotations |
| **Coordinate System** | UTM world coordinates | Local coordinates | Local coordinates |
| **Object Relationships** | Built-in (TTC, TTH, distances) | Must compute | Must compute |
| **Velocity Error** | < 0.2% (validated) | < 10 cm positional | Known issues |
| **Python Library** | `openautomatumdronedata` | Custom scripts | Custom scripts |
| **OpenSCENARIO** | Available on request | No | No |
## Research Use & Extended Data Pool
**These publicly available datasets are intended exclusively for research purposes.**
This dataset is a small excerpt from the comprehensive **Automatum Data Pool** containing over **1,000 hours of processed drone video**. For commercial use or access to further datasets, including OpenSCENARIO exports, please contact us via our website:
**[automatum-data.com](https://automatum-data.com)**
## Citation
If you use this dataset in your research, please cite:
```bibtex
@inproceedings{spannaus2021automatum,
title={AUTOMATUM DATA: Drone-based highway dataset for development and validation of automated driving software},
author={Spannaus, Paul and Zechel, Peter and Lenz, Kilian},
booktitle={IEEE Intelligent Vehicles Symposium (IV)},
year={2021}
}
```
## License
This dataset is licensed under [Creative Commons Attribution-NoDerivatives 4.0 International (CC BY-ND 4.0)](https://creativecommons.org/licenses/by-nd/4.0/).
## Contact
- **Website**: [automatum-data.com](https://automatum-data.com)
- **Email**: info@automatum-data.com
- **HuggingFace**: [AutomatumData](https://huggingface.co/AutomatumData)
- **Documentation**: [openautomatumdronedata.readthedocs.io](https://openautomatumdronedata.readthedocs.io)
|