Commit ·
6cbe918
0
Parent(s):
v2.1 super-squash
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +92 -0
- CHANGELOG.md +198 -0
- CITATION.cff +93 -0
- DATA_CARD.md +390 -0
- LICENSE +52 -0
- NOTICE.md +64 -0
- README.md +271 -0
- SUMMARY_v2.md +308 -0
- checkpoints/bilstm_2l.pt +3 -0
- checkpoints/bilstm_2l_norm.json +18 -0
- checkpoints/lstm_2l.pt +3 -0
- checkpoints/lstm_2l_norm.json +18 -0
- checkpoints/lstm_env_binary_spatial_attn.pt +3 -0
- checkpoints/lstm_env_binary_spatial_attn_norm.json +18 -0
- checkpoints/lstm_env_desc_v2.pt +3 -0
- checkpoints/lstm_env_desc_v2_norm.json +18 -0
- checkpoints/lstm_env_sdf.pt +3 -0
- checkpoints/lstm_env_sdf_norm.json +18 -0
- checkpoints/lstm_env_spatial_attn.pt +3 -0
- checkpoints/lstm_env_spatial_attn_norm.json +18 -0
- checkpoints/lstm_social_env_sdf.pt +3 -0
- checkpoints/lstm_social_env_sdf_norm.json +18 -0
- checkpoints/lstm_social_env_v2.pt +3 -0
- checkpoints/lstm_social_env_v2_norm.json +18 -0
- checkpoints/tcn.pt +3 -0
- checkpoints/tcn_norm.json +18 -0
- examples/README.md +13 -0
- examples/baseline_constant_velocity.py +88 -0
- meteo_features/osm_dma.geojson +0 -0
- meteo_features/osm_noaa.geojson +0 -0
- meteo_features/osm_norway.geojson +1 -0
- meteo_features/osm_piraeus.geojson +1 -0
- scripts/extras/build_meteo_features.py +688 -0
- scripts/extras/pbf_to_tile_cache.py +189 -0
- scripts/extras/stage_17_osm_temporal_consistency.py +241 -0
- scripts/extras/taxonomy.py +127 -0
- track_a_short-term_Cross-domain_Datasets/dma_track_v1/README.md +109 -0
- track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1/README.md +133 -0
- track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1/augmented/test/part-000.csv.gz +3 -0
- track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1/augmented/train/part-000.csv.gz +3 -0
- track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1/augmented/val/part-000.csv.gz +3 -0
- track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1/environment/all_environment_descriptors.csv +3 -0
- track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1/environment/anchor_lookup.json +3 -0
- track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1/environment/anchors/all_anchors.csv +3 -0
- track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1/environment/anchors/test_anchors.csv +0 -0
- track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1/environment/anchors/train_anchors.csv +3 -0
- track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1/environment/anchors/val_anchors.csv +0 -0
- track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1/environment/failed_tiles.json +10 -0
- track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1/environment/failed_tiles.pre_refill.json +754 -0
- track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1/environment/feature_stats.json +32 -0
.gitattributes
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.avro filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
# Audio files - uncompressed
|
| 40 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
# Audio files - compressed
|
| 44 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
# Image files - uncompressed
|
| 50 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
# Image files - compressed
|
| 55 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
# Video files - compressed
|
| 59 |
+
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
standard_track_v1/reports/train_selected_metadata.csv filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
standard_track_v1/context_v1/environment/all_environment_descriptors.csv filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
standard_track_v1/context_v1/environment/anchors/all_anchors.csv filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
standard_track_v1/context_v1/environment/anchors/train_anchors.csv filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
standard_track_v1/context_v1/environment/features/train/environment_descriptors.csv filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
standard_track_v1/context_v1/social/features/train/social_features.csv filter=lfs diff=lfs merge=lfs -text
|
| 67 |
+
noaa_track_v1/reports/train_selected_metadata.csv filter=lfs diff=lfs merge=lfs -text
|
| 68 |
+
noaa_track_v1/context_v1/environment/all_environment_descriptors.csv filter=lfs diff=lfs merge=lfs -text
|
| 69 |
+
noaa_track_v1/context_v1/environment/anchors/all_anchors.csv filter=lfs diff=lfs merge=lfs -text
|
| 70 |
+
noaa_track_v1/context_v1/environment/features/train/environment_descriptors.csv filter=lfs diff=lfs merge=lfs -text
|
| 71 |
+
noaa_track_v1/context_v1/social/features/train/social_features.csv filter=lfs diff=lfs merge=lfs -text
|
| 72 |
+
track_b/dma/standard_track_v1/context_v1/environment/all_environment_descriptors.csv filter=lfs diff=lfs merge=lfs -text
|
| 73 |
+
track_b/dma/standard_track_v1/context_v1/environment/features/train/environment_descriptors.csv filter=lfs diff=lfs merge=lfs -text
|
| 74 |
+
track_b/dma/standard_track_v1/context_v1/social/features/train/social_features.csv filter=lfs diff=lfs merge=lfs -text
|
| 75 |
+
track_b/dma/standard_track_v1/reports/train_selected_metadata.csv filter=lfs diff=lfs merge=lfs -text
|
| 76 |
+
track_b/noaa/standard_track_v1/context_v1/environment/all_environment_descriptors.csv filter=lfs diff=lfs merge=lfs -text
|
| 77 |
+
track_b/noaa/standard_track_v1/reports/train_selected_metadata.csv filter=lfs diff=lfs merge=lfs -text
|
| 78 |
+
piraeus_track_v1/reports/train_selected_metadata.csv filter=lfs diff=lfs merge=lfs -text
|
| 79 |
+
piraeus_track_v1/context_v1/social/features/train/social_features.csv filter=lfs diff=lfs merge=lfs -text
|
| 80 |
+
norway_track_v1/reports/train_selected_metadata.csv filter=lfs diff=lfs merge=lfs -text
|
| 81 |
+
norway_track_v1/context_v1/social/features/train/social_features.csv filter=lfs diff=lfs merge=lfs -text
|
| 82 |
+
norway_track_v1/context_v1/environment/features/train/environment_descriptors.csv filter=lfs diff=lfs merge=lfs -text
|
| 83 |
+
norway_track_v1/context_v1/environment/all_environment_descriptors.csv filter=lfs diff=lfs merge=lfs -text
|
| 84 |
+
piraeus_track_v1/context_v1_2019osm/environment/anchor_lookup.json filter=lfs diff=lfs merge=lfs -text
|
| 85 |
+
piraeus_track_v1/context_v1_2019osm/environment/all_environment_descriptors.csv filter=lfs diff=lfs merge=lfs -text
|
| 86 |
+
piraeus_track_v1/context_v1_2019osm/environment/anchors/all_anchors.csv filter=lfs diff=lfs merge=lfs -text
|
| 87 |
+
piraeus_track_v1/context_v1_2019osm/environment/features/train/environment_descriptors.csv filter=lfs diff=lfs merge=lfs -text
|
| 88 |
+
piraeus_track_v1/context_v1/environment/all_environment_descriptors.csv filter=lfs diff=lfs merge=lfs -text
|
| 89 |
+
piraeus_track_v1/context_v1/environment/anchor_lookup.json filter=lfs diff=lfs merge=lfs -text
|
| 90 |
+
piraeus_track_v1/context_v1/environment/features/train/environment_descriptors.csv filter=lfs diff=lfs merge=lfs -text
|
| 91 |
+
piraeus_track_v1/context_v1/environment/anchors/all_anchors.csv filter=lfs diff=lfs merge=lfs -text
|
| 92 |
+
standard_track_v1/context_v1/environment/anchor_lookup.json filter=lfs diff=lfs merge=lfs -text
|
CHANGELOG.md
ADDED
|
@@ -0,0 +1,198 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Changelog
|
| 2 |
+
|
| 3 |
+
All notable changes to this benchmark are listed here. Dates are UTC.
|
| 4 |
+
|
| 5 |
+
## v2.1 weather + waves + ports + TSS — 2026-06-19
|
| 6 |
+
|
| 7 |
+
Each Track A / Track B sample CSV row now carries 15 anchor-time
|
| 8 |
+
scalars (no row changes, no flag-filter break). Sources:
|
| 9 |
+
|
| 10 |
+
- **Weather** (Open-Meteo Archive, ERA5 reanalysis): 10-m wind speed
|
| 11 |
+
& direction, 2-m temperature, surface pressure, cloud cover. Wind
|
| 12 |
+
direction also reported relative to vessel COG.
|
| 13 |
+
- **Sea state** (Open-Meteo Marine, ECMWF WAM): significant wave
|
| 14 |
+
height, mean wave direction & period, swell wave height.
|
| 15 |
+
- **Port proximity** (OSM `harbour=*` / `seamark:type=harbour`):
|
| 16 |
+
nearest port distance (km) + name.
|
| 17 |
+
- **Fairway / TSS** (OSM `seamark:type=fairway` /
|
| 18 |
+
`separation_zone|line|boundary`): in-fairway flag, distance to
|
| 19 |
+
fairway, in-TSS flag.
|
| 20 |
+
|
| 21 |
+
Coverage:
|
| 22 |
+
|
| 23 |
+
| subset | wind | wave | port | in_tss |
|
| 24 |
+
|---|---|---|---|---|
|
| 25 |
+
| DMA Track A | 100 % | 98 % | 100 % | 3 % (Skagerrak) |
|
| 26 |
+
| NOAA Track A | 100 % | 93 % | 100 % | 1 % |
|
| 27 |
+
| Piraeus Track A | 100 % | 0 % (see below) | 100 % | 0 % |
|
| 28 |
+
| Norway Track A | 100 % | 97 % | 100 % | 0 % |
|
| 29 |
+
|
| 30 |
+
**Known gap.** Open-Meteo Marine reanalysis begins 2022-01-01.
|
| 31 |
+
Piraeus AIS is from 2019, so wave columns there are blank. Other
|
| 32 |
+
columns (weather, port, TSS) are present for every Piraeus sample.
|
| 33 |
+
|
| 34 |
+
Build wall-clock: ≈ 3.5 h (NOAA OSM cluster-fetch dominates).
|
| 35 |
+
Code: `scripts/extras/build_meteo_features.py`.
|
| 36 |
+
|
| 37 |
+
## v2 compact — 2026-06-18 (storage cleanup)
|
| 38 |
+
|
| 39 |
+
The bulk of the HF storage was the uncompressed `masks.npy` rasters
|
| 40 |
+
(6-channel uint8 binary, 0.5–11 GB each, 27 files total). Switching
|
| 41 |
+
to `numpy.savez_compressed` is fully lossless on binary masks and
|
| 42 |
+
shrinks each file 100–1700×:
|
| 43 |
+
|
| 44 |
+
- All 27 `rasters/<split>/masks.npy` replaced with `masks.npz` (key=`masks`).
|
| 45 |
+
- Total mask storage 40.1 GB → 283.6 MB (saved 99.3%).
|
| 46 |
+
- LFS history super-squashed to drop pre-v2 raster versions and
|
| 47 |
+
intermediate upload-phase artefacts.
|
| 48 |
+
|
| 49 |
+
Loader change for users:
|
| 50 |
+
|
| 51 |
+
masks = np.load("…/rasters/train/masks.npz")["masks"] # was np.load(…masks.npy)
|
| 52 |
+
|
| 53 |
+
Other rasters (`signed_dist_shore.npy`, `signed_dist_nav.npy`,
|
| 54 |
+
`sample_ids.npy`) are unchanged. SDFs are float16 metres at 78 m grid
|
| 55 |
+
pitch — float32 would be excess precision and was never used in the
|
| 56 |
+
build pipeline.
|
| 57 |
+
|
| 58 |
+
## v2 final — 2026-06-17 (HF simplification)
|
| 59 |
+
|
| 60 |
+
Following user feedback for an open-source-friendly layout, the HF
|
| 61 |
+
dataset was simplified to **one directory per (subset, track)**:
|
| 62 |
+
|
| 63 |
+
- The 4 stage-17 OSM-temporal-consistency flag columns
|
| 64 |
+
(`osm_temporal_consistent`, `osm_max_inland_depth_m`,
|
| 65 |
+
`osm_n_inland_points`, `osm_max_consec_inland_run`) are merged
|
| 66 |
+
inline into `<subset>_track_v1/{train,val,test}/part-000.csv.gz`.
|
| 67 |
+
- For Piraeus, the inline flag uses the 2020-01-01 OSM snapshot
|
| 68 |
+
(matches the 2019 AIS year). The 2026-OSM flag remains in the
|
| 69 |
+
side-car `osm_temporal_consistency/` for ablation.
|
| 70 |
+
- The 16 redundant sibling directories
|
| 71 |
+
(`<subset>_track_v1_all/`, `<subset>_track_v1_filtered/` × 4
|
| 72 |
+
subsets × 2 tracks) were removed from HF. The same row sets are
|
| 73 |
+
recoverable in one line of pandas:
|
| 74 |
+
|
| 75 |
+
df = pd.read_csv("<subset>_track_v1/train/part-000.csv.gz")
|
| 76 |
+
df_filtered = df[df["osm_temporal_consistent"] == "true"]
|
| 77 |
+
|
| 78 |
+
- `scripts/extras/publish_dual_subset.py` is kept for historical
|
| 79 |
+
reproducibility but marked deprecated.
|
| 80 |
+
|
| 81 |
+
## v2 — 2026-06-14
|
| 82 |
+
|
| 83 |
+
> **Notice to downstream authors using the Norway subset**
|
| 84 |
+
>
|
| 85 |
+
> The Norway environmental context (`context_v1/environment/`) has
|
| 86 |
+
> been substantively updated. If your trained model relies on the
|
| 87 |
+
> per-sample SDF / raster / scene-type fields for Norway, re-evaluate
|
| 88 |
+
> against the new context. The corresponding tensors at
|
| 89 |
+
> `rasters/{split}/{masks,signed_dist_shore,signed_dist_nav}.npy` and
|
| 90 |
+
> `all_environment_descriptors.csv` have all changed for ~85 % of
|
| 91 |
+
> Norway samples. Pre-v2 numbers for Norway env-aware models are no
|
| 92 |
+
> longer comparable to v2 numbers. The Track A trajectory CSVs and
|
| 93 |
+
> the env-free models are unaffected.
|
| 94 |
+
|
| 95 |
+
### Corrections to documentation
|
| 96 |
+
|
| 97 |
+
- Time spans in the original 2026-05-21 `REPORT.md` were inaccurate.
|
| 98 |
+
Verified time spans (from `train/part-000.csv.gz` first-row
|
| 99 |
+
`hist_end_ts`):
|
| 100 |
+
- DMA = 2025-09-01 ~ 2025-09-30 (was claimed: 2019)
|
| 101 |
+
- NOAA = 2025-03-01 ~ 2025-03-31 (was claimed: 2015–2019)
|
| 102 |
+
- Piraeus = 2019-01-01 ~ 2019-12-26 (was partly claimed: 2019-12 only)
|
| 103 |
+
- Norway = 2025-08-01 ~ 2025-09-30 (unchanged)
|
| 104 |
+
- Piraeus upstream license corrected: CC BY 4.0, not CC BY-NC-SA 4.0
|
| 105 |
+
(verified from Zenodo 10.5281/zenodo.6323416 metadata).
|
| 106 |
+
|
| 107 |
+
### New files
|
| 108 |
+
|
| 109 |
+
- `LICENSE`, `NOTICE.md`, `DATA_CARD.md`, `CITATION.cff`, `SUMMARY_v2.md`
|
| 110 |
+
- `Piraeus_ship_trajectory_datasets/LICENSE` (CC BY 4.0)
|
| 111 |
+
- `norway_ship_trajectory_datasets/LICENSE` (NLOD 2.0)
|
| 112 |
+
- `NOAA_ship_trajectory_datasets/LICENSE` (US public domain notice)
|
| 113 |
+
- `scripts/extras/stage_17_osm_temporal_consistency.py`
|
| 114 |
+
- `scripts/extras/pbf_to_tile_cache.py`
|
| 115 |
+
- `scripts/extras/publish_dual_subset.py`
|
| 116 |
+
- `scripts/extras/post_rebuild_refresh.sh`
|
| 117 |
+
- `scripts/extras/verify_v2_artifacts.py`
|
| 118 |
+
|
| 119 |
+
### New data artefacts per subset
|
| 120 |
+
|
| 121 |
+
- `multi_type_mini_bench_build/track_a_short-term_Cross-domain_Datasets/dma_track_v1/osm_temporal_consistency/`
|
| 122 |
+
— Stage-17 per-sample flag CSVs.
|
| 123 |
+
- `multi_type_mini_bench_build/standard_track_v1_all/`
|
| 124 |
+
— Original benchmark rows with 4 extra flag columns.
|
| 125 |
+
- `multi_type_mini_bench_build/standard_track_v1_filtered/`
|
| 126 |
+
— Subset where `osm_temporal_consistent = true`. **Recommended
|
| 127 |
+
default for paper main tables.**
|
| 128 |
+
|
| 129 |
+
### Piraeus-only
|
| 130 |
+
|
| 131 |
+
- `data_raw/historical_osm/greece-200101.osm.pbf` (185 MB, Geofabrik archive).
|
| 132 |
+
- Track A: `multi_type_mini_bench_build/track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1_2019osm/`
|
| 133 |
+
— Env / SDF / raster stack rebuilt against the 2020-01-01 OSM snapshot
|
| 134 |
+
for temporal alignment with the 2019 AIS year.
|
| 135 |
+
- Track B: `track_b/Piraeus/multi_type_mini_bench_build/track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1_2019osm/`
|
| 136 |
+
— Same rebuild applied to the long-horizon track (1,154 samples).
|
| 137 |
+
Build wall time: 10 min.
|
| 138 |
+
- Stage-17 flag CSVs against 2019-OSM at
|
| 139 |
+
`osm_temporal_consistency_2019osm/` for both Track A and Track B.
|
| 140 |
+
These drive Piraeus's default `standard_track_v1_filtered/`.
|
| 141 |
+
- Per-sample comparison of the 2026-OSM vs 2019-OSM consistency flags:
|
| 142 |
+
- Track A: train 8 / val 0 / test 4 samples flipped consistent under
|
| 143 |
+
2019 OSM (i.e. the 2026 OSM incorrectly flagged them as inland due
|
| 144 |
+
to post-2020 port construction).
|
| 145 |
+
- Track B: 0 samples changed (Track B trajectories happen to stay
|
| 146 |
+
clear of the contested coastal cells; we ship the historical
|
| 147 |
+
context anyway for ablation symmetry).
|
| 148 |
+
|
| 149 |
+
### DMA-only
|
| 150 |
+
|
| 151 |
+
- `data_raw/dma/historical_osm/denmark-260101.osm.pbf` (459 MB).
|
| 152 |
+
- 188 → 2 failed OSM tiles after Geofabrik refill + env rebuild.
|
| 153 |
+
- Top-level `context_v1/summary.json` now correctly serialises the
|
| 154 |
+
`environment` section (previously empty `{}` due to a cosmetic bug
|
| 155 |
+
in the summary writer — the underlying data was always at
|
| 156 |
+
`environment/summary.json` and was correct).
|
| 157 |
+
|
| 158 |
+
### Norway-only
|
| 159 |
+
|
| 160 |
+
- `data_raw/historical_osm/norway-260101.osm.pbf` (1.36 GB).
|
| 161 |
+
- 184 → 2 failed OSM tiles after refill + env rebuild.
|
| 162 |
+
- Scene-counts on train split rebalanced from
|
| 163 |
+
`open_water 47,695 / nearshore 168 / harbor 0 / constrained 137` to
|
| 164 |
+
`open_water 34,888 / nearshore 10,113 / harbor 1,320 / constrained 1,679`,
|
| 165 |
+
reflecting the true fjord / coastal distribution that had been hidden
|
| 166 |
+
by the silently-failing OSM tiles.
|
| 167 |
+
- The pre-rebuild context is no longer kept on disk for Norway
|
| 168 |
+
(overwritten by the v2 rebuild). The pre-rebuild failed-tile list
|
| 169 |
+
is preserved at `failed_tiles.pre_refill.json`.
|
| 170 |
+
|
| 171 |
+
### Known limitations carried into v2
|
| 172 |
+
|
| 173 |
+
- 2 DMA + 2 Norway OSM tiles still fail Overpass (429/504 throttle).
|
| 174 |
+
The affected anchors are all in the open North Sea or Baltic with no
|
| 175 |
+
expected coastline features; their SDFs read as uniformly +5000 m
|
| 176 |
+
(open water), which is the correct outcome for the anchor locations.
|
| 177 |
+
- The Track B contexts were built later when Overpass was stable
|
| 178 |
+
(failed_tiles = 0 for DMA / Piraeus / Norway, = 17 for NOAA). They
|
| 179 |
+
were NOT rebuilt as part of v2; their existing SDFs and stage-17
|
| 180 |
+
flags are kept as-is.
|
| 181 |
+
|
| 182 |
+
### Build wall times
|
| 183 |
+
|
| 184 |
+
| Job | Elapsed wall |
|
| 185 |
+
|------------------------------------|---------------:|
|
| 186 |
+
| DMA env rebuild (150 K samples) | 6.5 h |
|
| 187 |
+
| Piraeus 2020-01 OSM rebuild (60 K) | 8.6 h |
|
| 188 |
+
| Norway env rebuild (60 K) | 10.3 h |
|
| 189 |
+
| Stage 17 + dual-subset publish | < 5 min |
|
| 190 |
+
|
| 191 |
+
Total wall time (3-way parallel + final stage): ~10.5 h.
|
| 192 |
+
|
| 193 |
+
## v1.x — earlier history
|
| 194 |
+
|
| 195 |
+
See `REPORT.md` and `PIPELINE_NOTES.md` for the pre-v2 history. Note
|
| 196 |
+
that several specific numeric / license claims in those documents are
|
| 197 |
+
superseded by v2 — `REPORT.md` carries an inline v2-update banner at
|
| 198 |
+
the top that lists the corrections.
|
CITATION.cff
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
cff-version: 1.2.0
|
| 2 |
+
title: "EnvShip-Bench Cross-Domain Extension: A Multi-Jurisdiction, Multi-Scale, Context-Aware Ship Trajectory Prediction Benchmark"
|
| 3 |
+
message: "If you use EnvShip-Bench in your research, please cite this work and the upstream AIS providers."
|
| 4 |
+
type: dataset
|
| 5 |
+
authors:
|
| 6 |
+
- family-names: Ma
|
| 7 |
+
given-names: Kun
|
| 8 |
+
email: kunma1220@gmail.com
|
| 9 |
+
orcid: ""
|
| 10 |
+
abstract: >
|
| 11 |
+
The EnvShip-Bench cross-domain extension augments the original DMA-only
|
| 12 |
+
benchmark with three additional jurisdictions (NOAA, Piraeus, Norway)
|
| 13 |
+
and a long-horizon Track B (30 minute observation, 60 minute prediction).
|
| 14 |
+
The four subsets together provide 330,000 Track A samples and 106,857
|
| 15 |
+
Track B samples curated across four operationally distinct regimes:
|
| 16 |
+
Northern European coastal traffic, US open-ocean transits,
|
| 17 |
+
Mediterranean port and ferry traffic, and Norwegian fjord and coastal
|
| 18 |
+
traffic. Each sample is paired with a 6-channel OpenStreetMap raster,
|
| 19 |
+
2-channel signed-distance field, exact polylines, 14-dimensional scene
|
| 20 |
+
descriptors, and up to ten neighbour vessels within a 3 km radius
|
| 21 |
+
(with CPA / TCPA). For the Piraeus subset (AIS year 2019), we
|
| 22 |
+
additionally release an env / SDF stack rebuilt with the contemporary
|
| 23 |
+
Geofabrik 2020-01-01 OSM snapshot to eliminate temporal mismatch with
|
| 24 |
+
recently-built port infrastructure. A new Stage 17 quantifies and
|
| 25 |
+
flags OSM temporal-consistency per sample.
|
| 26 |
+
version: "1.0"
|
| 27 |
+
date-released: 2026-06-13
|
| 28 |
+
keywords:
|
| 29 |
+
- "ship trajectory prediction"
|
| 30 |
+
- "AIS"
|
| 31 |
+
- "maritime benchmark"
|
| 32 |
+
- "cross-domain"
|
| 33 |
+
- "environmental context"
|
| 34 |
+
- "signed distance field"
|
| 35 |
+
- "social interaction"
|
| 36 |
+
- "long horizon forecasting"
|
| 37 |
+
license: CC-BY-4.0
|
| 38 |
+
repository-code: "https://github.com/mark000071/envship_v2_datasets"
|
| 39 |
+
url: "https://huggingface.co/datasets/mark000071/envship_v2_datasets"
|
| 40 |
+
preferred-citation:
|
| 41 |
+
type: conference-paper
|
| 42 |
+
title: "EnvShip-Bench: A Cross-Domain Multi-Scale Benchmark for Context-Aware Ship Trajectory Prediction"
|
| 43 |
+
authors:
|
| 44 |
+
- family-names: Ma
|
| 45 |
+
given-names: Kun
|
| 46 |
+
collection-title: "Proc. IEEE International Conference on Data Engineering (ICDE)"
|
| 47 |
+
year: 2026
|
| 48 |
+
|
| 49 |
+
# Upstream AIS providers — please cite alongside this work
|
| 50 |
+
references:
|
| 51 |
+
- type: dataset
|
| 52 |
+
title: "Danish Maritime Authority AIS Data (aisdk-2025-09)"
|
| 53 |
+
authors:
|
| 54 |
+
- name: "Danish Maritime Authority"
|
| 55 |
+
url: "https://www.dma.dk/safety-at-sea/navigational-information/ais-data"
|
| 56 |
+
license: CC-BY-4.0
|
| 57 |
+
- type: dataset
|
| 58 |
+
title: "NOAA / MarineCadastre AIS Data, March 2025"
|
| 59 |
+
authors:
|
| 60 |
+
- name: "U.S. National Oceanic and Atmospheric Administration"
|
| 61 |
+
url: "https://marinecadastre.gov/"
|
| 62 |
+
notes: "U.S. government work in the public domain."
|
| 63 |
+
- type: dataset
|
| 64 |
+
title: "The Piraeus AIS Dataset for Large-scale Maritime Data Analytics"
|
| 65 |
+
authors:
|
| 66 |
+
- family-names: Tritsarolis
|
| 67 |
+
given-names: Andreas
|
| 68 |
+
- family-names: Kontoulis
|
| 69 |
+
given-names: Yannis
|
| 70 |
+
- family-names: Theodoridis
|
| 71 |
+
given-names: Yannis
|
| 72 |
+
year: 2022
|
| 73 |
+
doi: "10.5281/zenodo.6323416"
|
| 74 |
+
license: CC-BY-4.0
|
| 75 |
+
- type: dataset
|
| 76 |
+
title: "Kystverket / Kystdatahuset AIS positions"
|
| 77 |
+
authors:
|
| 78 |
+
- name: "Kystverket (Norwegian Coastal Administration)"
|
| 79 |
+
url: "https://kystdatahuset.no/"
|
| 80 |
+
license: NLOD-2.0
|
| 81 |
+
- type: dataset
|
| 82 |
+
title: "OpenStreetMap contributors"
|
| 83 |
+
authors:
|
| 84 |
+
- name: "OpenStreetMap contributors"
|
| 85 |
+
url: "https://www.openstreetmap.org/copyright"
|
| 86 |
+
license: ODbL-1.0
|
| 87 |
+
notes: "Cartographic basis for all environmental rasters and signed-distance fields."
|
| 88 |
+
- type: dataset
|
| 89 |
+
title: "Geofabrik OpenStreetMap historical extracts (greece-200101.osm.pbf)"
|
| 90 |
+
authors:
|
| 91 |
+
- name: "Geofabrik GmbH"
|
| 92 |
+
url: "https://download.geofabrik.de/"
|
| 93 |
+
license: ODbL-1.0
|
DATA_CARD.md
ADDED
|
@@ -0,0 +1,390 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# EnvShip-Bench Cross-Domain Extension — Data Card
|
| 2 |
+
|
| 3 |
+
*Datasheet template adapted from Gebru et al., "Datasheets for Datasets" (2021).*
|
| 4 |
+
|
| 5 |
+
This data card covers the cross-domain extension of EnvShip-Bench. It
|
| 6 |
+
adds three jurisdictions (NOAA, Piraeus, Norway) on top of the original
|
| 7 |
+
DMA-only release and introduces a long-horizon track (Track B). For the
|
| 8 |
+
DMA-only single-track parent benchmark see
|
| 9 |
+
`../ICDE_conferece_dataset_paper/DATA_CARD.md`.
|
| 10 |
+
|
| 11 |
+
## Motivation
|
| 12 |
+
|
| 13 |
+
**Purpose.** The cross-domain extension exists to test whether ship
|
| 14 |
+
trajectory predictors trained on one maritime jurisdiction transfer to
|
| 15 |
+
another, and whether long-horizon (60 min) forecasts trained on short
|
| 16 |
+
trajectories generalise. The four jurisdictions span three operational
|
| 17 |
+
regimes (Northern European coastal traffic, US open-ocean transits,
|
| 18 |
+
Mediterranean port/ferry mix, Norwegian fjord and coastal traffic) and
|
| 19 |
+
two distinct AIS time-resolutions / vessel-mix profiles.
|
| 20 |
+
|
| 21 |
+
**Authors.** Constructed by the EnvShip-Bench authors (see top-level
|
| 22 |
+
`CITATION.cff`).
|
| 23 |
+
|
| 24 |
+
**Funding.** No external funding earmarked specifically for cross-domain
|
| 25 |
+
construction.
|
| 26 |
+
|
| 27 |
+
## Composition
|
| 28 |
+
|
| 29 |
+
**What each instance represents.** A single sample is a 20-minute window
|
| 30 |
+
of a vessel's trajectory under Track A (10-minute observation +
|
| 31 |
+
10-minute prediction, 30 + 30 points at 20 s); or a 90-minute window
|
| 32 |
+
under Track B (30-minute observation + 60-minute prediction, 90 + 180
|
| 33 |
+
points). All positions are in a local planar frame centred on the
|
| 34 |
+
anchor (last history point), with x = east, y = north, units of metres.
|
| 35 |
+
|
| 36 |
+
**Sample counts.**
|
| 37 |
+
|
| 38 |
+
Track A (10/10):
|
| 39 |
+
|
| 40 |
+
| Subset | Train | Val | Test | Total |
|
| 41 |
+
|---------|--------:|-------:|-------:|--------:|
|
| 42 |
+
| DMA | 120,000 | 15,000 | 15,000 | 150,000 |
|
| 43 |
+
| NOAA | 48,000 | 6,000 | 6,000 | 60,000 |
|
| 44 |
+
| Piraeus | 48,000 | 6,000 | 6,000 | 60,000 |
|
| 45 |
+
| Norway | 48,000 | 6,000 | 6,000 | 60,000 |
|
| 46 |
+
| **Combined** | **264,000** | **33,000** | **33,000** | **330,000** |
|
| 47 |
+
|
| 48 |
+
Track B (30/60):
|
| 49 |
+
|
| 50 |
+
| Subset | Train | Val | Test | Total |
|
| 51 |
+
|---------|-------:|------:|------:|-------:|
|
| 52 |
+
| DMA | 46,744 | 5,414 | 6,000 | 58,158 |
|
| 53 |
+
| NOAA | 35,893 | 4,725 | 4,148 | 44,766 |
|
| 54 |
+
| Piraeus | 628 | 394 | 132 | 1,154 |
|
| 55 |
+
| Norway | 2,441 | 117 | 221 | 2,779 |
|
| 56 |
+
| **Combined** | **85,706** | **10,650** | **10,501** | **106,857** |
|
| 57 |
+
|
| 58 |
+
The Piraeus/Norway Track-B sample counts are intrinsically small because
|
| 59 |
+
the underlying port/coastal trajectories rarely exceed two hours; this
|
| 60 |
+
is a domain characteristic, not a defect.
|
| 61 |
+
|
| 62 |
+
**Time spans (verified from first-row `hist_end_ts` in standard_track_v1
|
| 63 |
+
train CSVs).**
|
| 64 |
+
|
| 65 |
+
| Subset | Min date | Max date | Days |
|
| 66 |
+
|---------|-------------|-------------|-----:|
|
| 67 |
+
| DMA | 2025-09-01 | 2025-09-30 | 30 |
|
| 68 |
+
| NOAA | 2025-03-01 | 2025-03-31 | 31 |
|
| 69 |
+
| Piraeus | 2019-01-01 | 2019-12-26 | 360 |
|
| 70 |
+
| Norway | 2025-08-01 | 2025-09-30 | 61 |
|
| 71 |
+
|
| 72 |
+
**Bounding boxes (verified from anchor coordinates).**
|
| 73 |
+
|
| 74 |
+
| Subset | lon range | lat range |
|
| 75 |
+
|---------|--------------------|--------------------|
|
| 76 |
+
| DMA | 2.13 – 19.66 °E | 52.75 – 59.85 °N |
|
| 77 |
+
| NOAA | -159.12 – 144.34 | 13.70 – 49.45 °N (CONUS + Hawaii + western Pacific) |
|
| 78 |
+
| Piraeus | 23.06 – 23.70 °E | 37.67 – 38.03 °N |
|
| 79 |
+
| Norway | 4.00 – 11.93 °E | 57.50 – 60.49 °N (Skagerrak + south Norwegian coast) |
|
| 80 |
+
|
| 81 |
+
**What each row contains.** Each row of
|
| 82 |
+
`<subset>/multi_type_mini_bench_build/track_a_short-term_Cross-domain_Datasets/dma_track_v1/{train,val,test}/part-000.csv.gz`
|
| 83 |
+
contains (full schema in `summary.json`):
|
| 84 |
+
|
| 85 |
+
- `sample_id`, `mmsi`, `segment_id`, `ship_type`, `ship_class`,
|
| 86 |
+
`ship_type_id`, `ship_class_unified`, `ship_type_id_unified` (Piraeus
|
| 87 |
+
+ Norway only)
|
| 88 |
+
- `hist_end_ts`, `pred_end_ts` (UTC ISO timestamps)
|
| 89 |
+
- `hist_x_json` / `hist_y_json` — 30 (Track A) or 90 (Track B) points;
|
| 90 |
+
metres relative to anchor
|
| 91 |
+
- `fut_x_json` / `fut_y_json` — 30 or 180 future points
|
| 92 |
+
- `hist_sog_json`, `hist_cog_sin_json`, `hist_cog_cos_json`,
|
| 93 |
+
`hist_heading_sin_json`, `hist_heading_cos_json` — kinematic arrays
|
| 94 |
+
- `hist_time_of_day_sin/cos_json`, `hist_day_of_week_sin/cos_json` —
|
| 95 |
+
periodic time encodings
|
| 96 |
+
- `hist_interp_json` / `fut_interp_json` — booleans for interpolated points
|
| 97 |
+
- `interp_ratio_*`, `grid_interp_ratio_*` — quality scalars
|
| 98 |
+
- `hist_displacement_m`, `fut_displacement_m`
|
| 99 |
+
- `core_eligible`, `full_eligible`, `quality_tier`, `split`
|
| 100 |
+
|
| 101 |
+
**Per-sample artefacts** (context_v1):
|
| 102 |
+
- `environment/rasters/{split}/masks.npz` (N, 6, 128, 128) uint8 — load via `np.load(...)['masks']`
|
| 103 |
+
- `environment/rasters/{split}/signed_dist_shore.npy` (N, 128, 128) float16, metres
|
| 104 |
+
- `environment/rasters/{split}/signed_dist_nav.npy` (N, 128, 128) float16
|
| 105 |
+
- `environment/rasters/{split}/sample_ids.npy` (N,) object
|
| 106 |
+
- `environment/vectors/{split}/vectors.jsonl.gz` exact OSM polylines
|
| 107 |
+
- `environment/all_environment_descriptors.csv` tabular scene descriptors
|
| 108 |
+
- `social/<split>_social_descriptors.csv` neighbour-aware scalars
|
| 109 |
+
|
| 110 |
+
**OSM temporal-consistency artefacts** (new, see § OSM Temporal
|
| 111 |
+
Consistency below):
|
| 112 |
+
- `osm_temporal_consistency/{train,val,test}_flags.csv` per-sample flags
|
| 113 |
+
- `osm_temporal_consistency/summary.json` aggregate
|
| 114 |
+
- The 4 flag columns are merged inline into
|
| 115 |
+
`<subset>_track_v1/<split>/part-000.csv.gz` in the v2-final HF release;
|
| 116 |
+
paper-default filter is `df[df["osm_temporal_consistent"] == "true"]`.
|
| 117 |
+
|
| 118 |
+
**Phase 1+2 context columns (added 2026-06-19).** Each row of the
|
| 119 |
+
main CSV also carries 15 anchor-time scalar columns covering weather
|
| 120 |
+
(6 cols), sea state (4 cols), port proximity (2 cols), fairway/TSS
|
| 121 |
+
proximity (3 cols). See `README.md` for the full column-by-column
|
| 122 |
+
schema and the `CHANGELOG.md` v2.1 entry for coverage and
|
| 123 |
+
known-gap notes (Piraeus 2019 has empty wave columns).
|
| 124 |
+
|
| 125 |
+
**Splits.** Vessel-disjoint. `stable_split_from_mmsi(mmsi)` = MD5(MMSI)
|
| 126 |
+
mod 10; bucket 0 = val, bucket 1 = test, otherwise = train. No MMSI
|
| 127 |
+
appears in more than one split.
|
| 128 |
+
|
| 129 |
+
**Missing / partial fields.**
|
| 130 |
+
- Ship dimensions (length, beam, draught) — available only for ~20–60%
|
| 131 |
+
of vessels depending on subset (Piraeus best, Norway worst before
|
| 132 |
+
VesselFinder enrichment; see `norway_ship_trajectory_datasets/ENRICHMENT_REPORT.md`).
|
| 133 |
+
- Bathymetry, weather, currents — not bundled.
|
| 134 |
+
- Visual imagery — not bundled.
|
| 135 |
+
- ~0.2 % of samples have `anchor_in_water = 0` (anchor falls on land
|
| 136 |
+
per OSM raster, typically vessels berthed at piers); retained for
|
| 137 |
+
completeness.
|
| 138 |
+
|
| 139 |
+
**Class taxonomy.**
|
| 140 |
+
- `ship_class` — raw text class assigned at preprocess time.
|
| 141 |
+
- `ship_class_unified` — 7+1 canonical classes (`cargo`, `tanker`,
|
| 142 |
+
`passenger`, `fishing`, `tug`, `service`, `sailing_leisure`, plus
|
| 143 |
+
`unknown`). Implemented in `scripts/extras/taxonomy.py`; mapping rule
|
| 144 |
+
table is also documented there.
|
| 145 |
+
- `ship_type_id_unified` — integer 0…7 matching the canonical class order.
|
| 146 |
+
|
| 147 |
+
For DMA and NOAA the raw `ship_class` is reused as-is (the upstream
|
| 148 |
+
field is already clean). Piraeus and Norway gain the unified columns
|
| 149 |
+
inline; Norway's `unknown` rate dropped from ~52 % to ~18 % on the test
|
| 150 |
+
split after VesselFinder enrichment (`scripts/extras/enrich_norway_static.py`).
|
| 151 |
+
|
| 152 |
+
## OSM temporal consistency
|
| 153 |
+
|
| 154 |
+
OSM is a living dataset: ports, piers, breakwaters, and quays added
|
| 155 |
+
after the AIS date can appear as "land" in the SDF even when the
|
| 156 |
+
trajectory was genuinely on water. This is highest-risk for the
|
| 157 |
+
**Piraeus 2019** subset (6 — 7 year gap to a 2026 OSM snapshot) and
|
| 158 |
+
near-zero for the other three subsets (4 — 12 month gap).
|
| 159 |
+
|
| 160 |
+
**Method (Stage 17 — `scripts/extras/stage_17_osm_temporal_consistency.py`).**
|
| 161 |
+
|
| 162 |
+
For every sample, the 60 (Track A) or 270 (Track B) trajectory points are
|
| 163 |
+
projected onto the per-sample 128 × 128 `signed_dist_shore` raster. A
|
| 164 |
+
point with `signed_dist_shore < 0` is inland per the OSM snapshot used
|
| 165 |
+
for the build. We record `max_inland_depth_m`, `n_inland_points`,
|
| 166 |
+
`max_consec_inland_run`, and a default flag:
|
| 167 |
+
|
| 168 |
+
> `osm_temporal_consistent = (max_inland_depth_m ≤ 30 m) AND (max_consec_inland_run < 3)`
|
| 169 |
+
|
| 170 |
+
Thresholds are configurable; 30 m matches the SDF cell pitch of ~78 m so
|
| 171 |
+
a single-cell brush is permitted (within-cell positional jitter).
|
| 172 |
+
|
| 173 |
+
**Results — Track A against current 2026 OSM**:
|
| 174 |
+
|
| 175 |
+
| Subset | Train consistent | Val consistent | Test consistent |
|
| 176 |
+
|---------|-----------------:|---------------:|----------------:|
|
| 177 |
+
| DMA | 119,135 / 120,000 (99.28 %) | 14,881 / 15,000 (99.21 %) | 14,889 / 15,000 (99.26 %) |
|
| 178 |
+
| NOAA | 47,704 / 48,000 (99.38 %) | 5,950 / 6,000 (99.17 %) | 5,926 / 6,000 (98.77 %) |
|
| 179 |
+
| Piraeus | 47,797 / 48,000 (99.58 %) | 5,988 / 6,000 (99.80 %) | 5,974 / 6,000 (99.57 %) |
|
| 180 |
+
| Norway | 47,965 / 48,000 (99.93 %) | 5,994 / 6,000 (99.90 %) | 5,989 / 6,000 (99.82 %) |
|
| 181 |
+
|
| 182 |
+
**For Piraeus**, we additionally rebuild the env/SDF stack using a
|
| 183 |
+
contemporaneous OSM snapshot (`greece-200101.osm.pbf` — Geofabrik
|
| 184 |
+
historical extract), and publish that as `context_v1_2019osm/`.
|
| 185 |
+
This roughly halves the inconsistent-sample count for Piraeus
|
| 186 |
+
because all new-build piers from 2020 – 2025 are excluded from the SDF.
|
| 187 |
+
See § Piraeus historical-OSM rebuild.
|
| 188 |
+
|
| 189 |
+
**Two subsets are released:**
|
| 190 |
+
- `track_a_short-term_Cross-domain_Datasets/dma_track_v1/` — the full curated benchmark with the
|
| 191 |
+
`osm_temporal_consistency/<split>_flags.csv` side-car (no rows deleted).
|
| 192 |
+
- `<subset>_track_v1/<split>/part-000.csv.gz` inline filter — drop rows
|
| 193 |
+
where `osm_temporal_consistent != "true"`. **This is the recommended
|
| 194 |
+
default for paper main tables.**
|
| 195 |
+
|
| 196 |
+
## Pipeline
|
| 197 |
+
|
| 198 |
+
The cross-domain extension reuses the same 14-stage AIS pipeline from
|
| 199 |
+
the parent DMA-only release and adds three virtual stages:
|
| 200 |
+
|
| 201 |
+
| Stage | Name | Output |
|
| 202 |
+
|------:|-------------------------------------|-----------------------------------|
|
| 203 |
+
| 01 | Field standardisation | `data_interim/01_standardized/` |
|
| 204 |
+
| 02 | Validity filter | `02_filtered/` |
|
| 205 |
+
| 03 | Sort + dedup | `03_deduped/` |
|
| 206 |
+
| 04 | Ship-type-aware speed filter | `04_shiptype_speed_filtered/` |
|
| 207 |
+
| 05 | Trajectory segmentation | `05_segmented/` |
|
| 208 |
+
| 06 | Anchorage removal | `06_underway_only/` |
|
| 209 |
+
| 07 | Short-gap interpolation | `07_gap_imputed/` |
|
| 210 |
+
| 08 | 20-s UTC resample | `08_resampled_20s/` |
|
| 211 |
+
| 09 | Second-pass anomaly check | `09_rechecked/` |
|
| 212 |
+
| 10 | Minimum-length filter | `10_minlen_filtered/` |
|
| 213 |
+
| 11 | Sliding window generation | `benchmark/full/` |
|
| 214 |
+
| 12 | Quality + difficulty labels | (in-place) |
|
| 215 |
+
| 13 | Core/full benchmark export | `benchmark/{core,full}/` |
|
| 216 |
+
| 14 | Partition summaries | `benchmark/*.json` |
|
| 217 |
+
| 15 | Stratified standard-track curation | `multi_type_mini_bench_build/track_a_short-term_Cross-domain_Datasets/dma_track_v1/` |
|
| 218 |
+
| 16 | Env-SDF + social context (OSM) | `.../track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1/` |
|
| 219 |
+
| **17**| **OSM temporal consistency** | `.../osm_temporal_consistency/` |
|
| 220 |
+
| 10b | Track-B segment-duration prefilter | `track_b_medium-term_Cross-domain_Datasets/<DS>/data_interim/` |
|
| 221 |
+
|
| 222 |
+
Track B re-runs stages 10b → 11 → 12 → 13 → 15 → 16 → 17.
|
| 223 |
+
|
| 224 |
+
## Collection process
|
| 225 |
+
|
| 226 |
+
**How acquired.**
|
| 227 |
+
- DMA: https://web.ais.dk/aisdata/ (aisdk-2025-09-*.zip, 30 daily ZIPs)
|
| 228 |
+
- NOAA: https://marinecadastre.gov/ (March 2025 daily CSVs)
|
| 229 |
+
- Piraeus: Zenodo 10.5281/zenodo.6323416 (CC BY 4.0; ferry-rich port AIS for 2019)
|
| 230 |
+
- Norway: Kystverket / Kystdatahuset public API (NLOD 2.0; Aug + Sep 2025)
|
| 231 |
+
|
| 232 |
+
**Time frame.** Documented per-subset in
|
| 233 |
+
`<subset>/multi_type_mini_bench_build/track_a_short-term_Cross-domain_Datasets/dma_track_v1/summary.json`.
|
| 234 |
+
|
| 235 |
+
**Ethical review.** AIS positions are broadcast publicly by vessels per
|
| 236 |
+
SOLAS Ch. V. MMSI is a vessel identifier, not a personal identifier. No
|
| 237 |
+
human-subjects review applies.
|
| 238 |
+
|
| 239 |
+
## Preprocessing / cleaning / labelling
|
| 240 |
+
|
| 241 |
+
See § Pipeline above. Stage code lives under each subset's `scripts/`
|
| 242 |
+
plus shared utilities in `scripts/extras/` (taxonomy unification,
|
| 243 |
+
Norway VesselFinder enrichment, Track-B pre-filter, OSM PBF tile builder,
|
| 244 |
+
OSM temporal-consistency flagger).
|
| 245 |
+
|
| 246 |
+
## Uses
|
| 247 |
+
|
| 248 |
+
**Baselines reported.** See the parent ICDE paper
|
| 249 |
+
(`../ICDE_conferece_dataset_paper/paper_v4.pdf`) for the full
|
| 250 |
+
25-baseline grid (physics, classical ML, traj-only DL, social-aware,
|
| 251 |
+
env-aware, joint social+env, Transformer family). Headline numbers:
|
| 252 |
+
|
| 253 |
+
Track A in-domain ADE (metres, best-of-3 seed):
|
| 254 |
+
|
| 255 |
+
| Model | DMA | NOAA | Piraeus | Norway |
|
| 256 |
+
|--------------------|------:|------:|--------:|-------:|
|
| 257 |
+
| TCN (traj-only) | 85.8 | 91.2 | 169.1 | 122.6 |
|
| 258 |
+
| LSTM + Env-SDF | 87.3 | 101.8 | 151.8 | 127.5 |
|
| 259 |
+
| LSTM + Soc + Env-v2| 87.2 | — | — | — |
|
| 260 |
+
| GRU-2L | — | — | — | 128.1 |
|
| 261 |
+
|
| 262 |
+
Other downstream methods that consume this dataset include
|
| 263 |
+
EnvSocial-TrAISformer (cross-domain Track B), GeoMode-TKDE (SDF-gradient
|
| 264 |
+
CVAE), ship_LLM_traj_pred_benchmark (LMTraj adaptation), MFPD-TKDE
|
| 265 |
+
(diffusion), AnchorDiff (DMA-only diffusion), and M-CTX-ICDE (spatial
|
| 266 |
+
indexing benchmark).
|
| 267 |
+
|
| 268 |
+
**Other tasks** the dataset can support:
|
| 269 |
+
- Anomaly / route-deviation detection
|
| 270 |
+
- Vessel-type classification from kinematics
|
| 271 |
+
- Multimodal stochastic forecasting (mixture / diffusion)
|
| 272 |
+
- Geographic generalisation studies (train DMA, evaluate Piraeus etc.)
|
| 273 |
+
- Interaction-aware planning under COLREGS
|
| 274 |
+
- Long-horizon multi-modal forecasting (Track B)
|
| 275 |
+
|
| 276 |
+
**Not to do.**
|
| 277 |
+
- Do not de-anonymise vessels for surveillance. MMSI is public but
|
| 278 |
+
scaling into continuous tracking crosses ethical lines.
|
| 279 |
+
- Do not deploy navigation-safety-critical predictors trained only on
|
| 280 |
+
this benchmark without operating-region validation.
|
| 281 |
+
|
| 282 |
+
## Distribution
|
| 283 |
+
|
| 284 |
+
**Code, paper, metadata.** Public Git repository (see top-level README
|
| 285 |
+
once released).
|
| 286 |
+
|
| 287 |
+
**Bulk data.** The bulk tensors (vectors.jsonl.gz, masks.npz,
|
| 288 |
+
signed_dist_*.npy, augmented CSVs) are released separately on Hugging
|
| 289 |
+
Face. Build pipeline + raw-source pointers are sufficient for
|
| 290 |
+
reconstruction from scratch.
|
| 291 |
+
|
| 292 |
+
**Licences.**
|
| 293 |
+
|
| 294 |
+
| Component | Licence |
|
| 295 |
+
|--------------------------|------------------------------------|
|
| 296 |
+
| Pipeline code (this repo)| CC BY 4.0 |
|
| 297 |
+
| DMA AIS subset | CC BY 4.0 (upstream) |
|
| 298 |
+
| NOAA AIS subset | US public domain (upstream) |
|
| 299 |
+
| Piraeus AIS subset | CC BY 4.0 (upstream Zenodo) |
|
| 300 |
+
| Norway AIS subset | NLOD 2.0 (Kystverket) |
|
| 301 |
+
| OSM rasters / SDFs | ODbL (© OpenStreetMap contributors)|
|
| 302 |
+
| Geofabrik historical PBFs| ODbL |
|
| 303 |
+
|
| 304 |
+
Top-level `LICENSE` and `NOTICE.md` carry the full text. Each sub-dataset
|
| 305 |
+
has its own `LICENSE` matching the upstream provider.
|
| 306 |
+
|
| 307 |
+
## Maintenance
|
| 308 |
+
|
| 309 |
+
**Maintainer.** Kun Ma (kunma1220@gmail.com).
|
| 310 |
+
|
| 311 |
+
**Versioning.** Semantic-versioned releases. Track A and Track B share
|
| 312 |
+
the same version (currently `standard_track_v1`). Future revisions will
|
| 313 |
+
bump to `v2`.
|
| 314 |
+
|
| 315 |
+
**Planned additions.**
|
| 316 |
+
- Bathymetry channel from EMODnet (Europe) + GEBCO global
|
| 317 |
+
- Tidal heights from FES2014
|
| 318 |
+
- Weather (wind / wave) from ERA5 / NOAA WaveWatch III
|
| 319 |
+
- Additional jurisdictions (Black Sea, East China Sea) pending data
|
| 320 |
+
availability
|
| 321 |
+
- Pre-computed time-disjoint OOD splits for Piraeus + DMA (full-year coverage)
|
| 322 |
+
|
| 323 |
+
**Reporting issues.** Open a GitHub Issue against the public repo.
|
| 324 |
+
|
| 325 |
+
## Piraeus historical-OSM rebuild
|
| 326 |
+
|
| 327 |
+
For the Piraeus subset only, where the AIS year (2019) is ~6 years
|
| 328 |
+
earlier than the current OSM snapshot, the SDF and 6-channel rasters
|
| 329 |
+
are rebuilt with the Geofabrik **2020-01-01** Greece extract
|
| 330 |
+
(`greece-200101.osm.pbf`, MD5 `9c6da7651e624ab182c20d0d629d5e8c`,
|
| 331 |
+
185 MB). This snapshot captures Greek coastal infrastructure as it
|
| 332 |
+
stood at the very end of the AIS year.
|
| 333 |
+
|
| 334 |
+
The 2026-OSM context is also retained for ablation studies. The two
|
| 335 |
+
contexts live side by side under:
|
| 336 |
+
- `Piraeus_ship_trajectory_datasets/multi_type_mini_bench_build/track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1/` — current OSM
|
| 337 |
+
- `Piraeus_ship_trajectory_datasets/multi_type_mini_bench_build/track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1_2019osm/` — 2020-01-01 OSM
|
| 338 |
+
|
| 339 |
+
Stage 17 is run against both; per-sample flag files end with
|
| 340 |
+
`_2019osm.csv` for the historical variant. The default
|
| 341 |
+
paper-default filter for Piraeus is computed from the
|
| 342 |
+
historical-OSM consistency, since that is the most accurate ground
|
| 343 |
+
truth for the 2019 trajectories.
|
| 344 |
+
|
| 345 |
+
## File map
|
| 346 |
+
|
| 347 |
+
```
|
| 348 |
+
Cross-domain-datasets/
|
| 349 |
+
├── LICENSE Top-level CC BY 4.0 + sub-licence index
|
| 350 |
+
├── NOTICE.md Required attribution lines
|
| 351 |
+
├── DATA_CARD.md This file
|
| 352 |
+
├── CITATION.cff Top-level citation
|
| 353 |
+
├── REPORT.md Build report + cross-domain study
|
| 354 |
+
├── DMA_ship_trajectory_datasets/ symlink → upstream DMA
|
| 355 |
+
├── NOAA_ship_trajectory_datasets/ symlink → upstream NOAA
|
| 356 |
+
├── Piraeus_ship_trajectory_datasets/ Tritsarolis 2022 / Zenodo 6323416
|
| 357 |
+
│ ├── LICENSE CC BY 4.0
|
| 358 |
+
│ ├── data_raw/ raw zips + historical_osm/
|
| 359 |
+
│ ├── data_interim/ per-stage outputs
|
| 360 |
+
│ ├── benchmark/ stage 13 windowed
|
| 361 |
+
│ ├── multi_type_mini_bench_build/track_a_short-term_Cross-domain_Datasets/dma_track_v1/
|
| 362 |
+
│ │ ├── train/ val/ test/ gzipped CSVs (per-row JSON arrays)
|
| 363 |
+
│ │ ├── context_v1/ env-SDF + social (current OSM)
|
| 364 |
+
│ │ ├── context_v1_2019osm/ env-SDF + social (2020-01-01 OSM)
|
| 365 |
+
│ │ └── osm_temporal_consistency/ Stage-17 flag CSVs
|
| 366 |
+
│ └── scripts/ pipeline + preprocess
|
| 367 |
+
├── norway_ship_trajectory_datasets/ Kystverket NLOD 2.0
|
| 368 |
+
│ └── (same layout)
|
| 369 |
+
├── track_b/ long-horizon variant
|
| 370 |
+
│ ├── DMA/ NOAA/ Piraeus/ Norway/ same per-DS layout
|
| 371 |
+
│ └── scripts/ Track-B pre-filter + builders
|
| 372 |
+
└── scripts/extras/ shared utilities
|
| 373 |
+
├── taxonomy.py unified ship-class taxonomy
|
| 374 |
+
├── apply_unified_taxonomy.py patch benchmark CSVs with unified cols
|
| 375 |
+
├── enrich_norway_static.py VesselFinder static-info enrichment
|
| 376 |
+
├── stage_10b_track_b_filter.py Track-B duration prefilter
|
| 377 |
+
├── stage_17_osm_temporal_consistency.py Stage 17
|
| 378 |
+
└── pbf_to_tile_cache.py Geofabrik PBF → Overpass-JSON cache
|
| 379 |
+
```
|
| 380 |
+
|
| 381 |
+
## Reproducibility
|
| 382 |
+
|
| 383 |
+
```bash
|
| 384 |
+
bash scripts/reproduce_all.sh
|
| 385 |
+
```
|
| 386 |
+
|
| 387 |
+
Reproduces the four-jurisdiction Track A from raw drops, then Track B,
|
| 388 |
+
then the OSM temporal-consistency stage, then the historical-OSM
|
| 389 |
+
Piraeus rebuild. Wall time ≈ 5 h on an 8-core CPU host with 32 GB RAM.
|
| 390 |
+
The build is deterministic for the same upstream snapshot.
|
LICENSE
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Cross-Domain EnvShip-Bench Extension — Composite License
|
| 2 |
+
==========================================================
|
| 3 |
+
|
| 4 |
+
This directory aggregates four AIS sub-datasets and a derived processing
|
| 5 |
+
pipeline (segmentation, resampling, sliding windows, environmental and
|
| 6 |
+
social context, sample selection). Each sub-dataset retains its own
|
| 7 |
+
upstream license; the processed benchmark windows derived inside each
|
| 8 |
+
sub-directory inherit the upstream license of the raw source they were
|
| 9 |
+
built from. The cross-domain integration code, configuration, and
|
| 10 |
+
documentation that is unique to this directory is released under
|
| 11 |
+
Creative Commons Attribution 4.0 International (CC BY 4.0).
|
| 12 |
+
|
| 13 |
+
Sub-dataset licenses
|
| 14 |
+
--------------------
|
| 15 |
+
DMA Creative Commons Attribution 4.0 (CC BY 4.0)
|
| 16 |
+
See DMA_ship_trajectory_datasets/LICENSE (symlinked from upstream).
|
| 17 |
+
Raw source: Danish Maritime Authority, https://www.dma.dk
|
| 18 |
+
NOAA United States public-domain government work (no copyright).
|
| 19 |
+
See NOAA_ship_trajectory_datasets/README.md and NOTICE.md.
|
| 20 |
+
Raw source: NOAA / MarineCadastre, https://marinecadastre.gov
|
| 21 |
+
Piraeus Creative Commons Attribution 4.0 (CC BY 4.0)
|
| 22 |
+
See Piraeus_ship_trajectory_datasets/LICENSE.
|
| 23 |
+
Raw source: Zenodo 10.5281/zenodo.6323416 (Tritsarolis et al., 2022)
|
| 24 |
+
Norway Norwegian Licence for Open Government Data 2.0 (NLOD-2.0)
|
| 25 |
+
See norway_ship_trajectory_datasets/LICENSE.
|
| 26 |
+
Raw source: Kystverket / Kystdatahuset, https://kystdatahuset.no
|
| 27 |
+
|
| 28 |
+
Composite use
|
| 29 |
+
-------------
|
| 30 |
+
A researcher publishing results that combine multiple sub-datasets MUST
|
| 31 |
+
attribute every sub-dataset they used, following the strictest of the
|
| 32 |
+
applicable upstream licenses. All four upstream licenses listed above
|
| 33 |
+
permit commercial and non-commercial research use; all four require
|
| 34 |
+
attribution.
|
| 35 |
+
|
| 36 |
+
Pipeline code
|
| 37 |
+
-------------
|
| 38 |
+
The 14-stage AIS processing pipeline plus stages 15 (standard track), 16
|
| 39 |
+
(env-SDF + social context), and 17 (OSM temporal consistency) are
|
| 40 |
+
released under CC BY 4.0. Source files live under each sub-dataset's
|
| 41 |
+
`scripts/` and the shared `scripts/extras/`.
|
| 42 |
+
|
| 43 |
+
Cartographic data
|
| 44 |
+
-----------------
|
| 45 |
+
Environmental rasters and signed-distance fields are derived from
|
| 46 |
+
OpenStreetMap data and remain subject to the Open Database License (ODbL).
|
| 47 |
+
Map data © OpenStreetMap contributors.
|
| 48 |
+
See: https://www.openstreetmap.org/copyright
|
| 49 |
+
|
| 50 |
+
The Geofabrik historical extracts that ship inside this repository's
|
| 51 |
+
`*/data_raw/historical_osm/` directories are likewise derived from
|
| 52 |
+
OpenStreetMap under ODbL.
|
NOTICE.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# NOTICE — Cross-Domain EnvShip-Bench Extension
|
| 2 |
+
|
| 3 |
+
This directory packages four jurisdictional AIS sub-datasets plus a derived
|
| 4 |
+
processing pipeline. Each upstream provider must be credited when their data
|
| 5 |
+
is used. The following attribution lines are recommended for any paper,
|
| 6 |
+
release, or product that builds on this benchmark.
|
| 7 |
+
|
| 8 |
+
## Required attributions
|
| 9 |
+
|
| 10 |
+
### DMA — Danish Maritime Authority
|
| 11 |
+
> Contains AIS data from the Danish Maritime Authority (DMA), aisdk-2025-09,
|
| 12 |
+
> released under Creative Commons Attribution 4.0 (CC BY 4.0). Source:
|
| 13 |
+
> https://www.dma.dk/safety-at-sea/navigational-information/ais-data
|
| 14 |
+
|
| 15 |
+
### NOAA — National Oceanic and Atmospheric Administration / MarineCadastre
|
| 16 |
+
> Contains AIS data from the U.S. National Oceanic and Atmospheric
|
| 17 |
+
> Administration (NOAA), MarineCadastre AIS, March 2025. This is a U.S.
|
| 18 |
+
> government work in the public domain. Source: https://marinecadastre.gov
|
| 19 |
+
|
| 20 |
+
### Piraeus — University of Piraeus / Tritsarolis et al.
|
| 21 |
+
> Contains the Piraeus AIS Dataset for Large-scale Maritime Data Analytics by
|
| 22 |
+
> Tritsarolis, Kontoulis & Theodoridis (2022). DOI:
|
| 23 |
+
> 10.5281/zenodo.6323416. Released under CC BY 4.0.
|
| 24 |
+
|
| 25 |
+
### Norway — Kystverket (Norwegian Coastal Administration)
|
| 26 |
+
> Contains data under the Norwegian Licence for Open Government Data (NLOD 2.0)
|
| 27 |
+
> distributed by Kystverket (Kystdatahuset). https://kystdatahuset.no/
|
| 28 |
+
|
| 29 |
+
### OpenStreetMap (environmental rasters and signed-distance fields)
|
| 30 |
+
> Map data © OpenStreetMap contributors, available under the Open
|
| 31 |
+
> Database License (ODbL). https://www.openstreetmap.org/copyright
|
| 32 |
+
|
| 33 |
+
### Geofabrik historical extracts
|
| 34 |
+
> Historical OSM data (e.g. `greece-200101.osm.pbf`) is sourced from
|
| 35 |
+
> Geofabrik's archive of OpenStreetMap snapshots and remains subject to
|
| 36 |
+
> ODbL.
|
| 37 |
+
|
| 38 |
+
## Citations to use in research papers
|
| 39 |
+
|
| 40 |
+
Cite EnvShip-Bench plus the upstream sub-datasets that were used. A
|
| 41 |
+
BibTeX block is provided in `CITATION.cff` and `Piraeus_ship_trajectory_datasets/LICENSE`.
|
| 42 |
+
|
| 43 |
+
## Provenance summary
|
| 44 |
+
|
| 45 |
+
| Subset | Raw year(s) | Provider | Upstream license |
|
| 46 |
+
|---------|-------------------|---------------------|------------------|
|
| 47 |
+
| DMA | 2025-09 | Danish Maritime Authority | CC BY 4.0 |
|
| 48 |
+
| NOAA | 2025-03 | NOAA / MarineCadastre | Public domain |
|
| 49 |
+
| Piraeus | 2019-01..2019-12 | Tritsarolis et al. (Zenodo) | CC BY 4.0 |
|
| 50 |
+
| Norway | 2025-08..2025-09 | Kystverket | NLOD 2.0 |
|
| 51 |
+
|
| 52 |
+
All four entries are verified from the raw filenames and the
|
| 53 |
+
first-row timestamps of `track_a_short-term_Cross-domain_Datasets/dma_track_v1/train/part-000.csv.gz`.
|
| 54 |
+
|
| 55 |
+
### Open-Meteo (weather & sea-state context columns)
|
| 56 |
+
> Contains data from Open-Meteo, distributed under Creative Commons
|
| 57 |
+
> Attribution 4.0 (CC BY 4.0). Weather variables are ERA5 reanalysis
|
| 58 |
+
> (ECMWF Copernicus Climate Change Service); marine wave variables are
|
| 59 |
+
> from ECMWF WAM. https://open-meteo.com/
|
| 60 |
+
|
| 61 |
+
### Open-Meteo / ECMWF attribution
|
| 62 |
+
> Generated using Copernicus Climate Change Service / ERA5 data, 2026.
|
| 63 |
+
> Neither the European Commission nor ECMWF is responsible for any use
|
| 64 |
+
> that may be made of the Copernicus information.
|
README.md
ADDED
|
@@ -0,0 +1,271 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
language: [en]
|
| 4 |
+
pretty_name: "EnvShip-Bench v2 — Cross-Domain Ship Trajectory Prediction Benchmark"
|
| 5 |
+
size_categories: ["100K<n<1M"]
|
| 6 |
+
task_categories:
|
| 7 |
+
- time-series-forecasting
|
| 8 |
+
- other
|
| 9 |
+
tags:
|
| 10 |
+
- maritime
|
| 11 |
+
- trajectory-prediction
|
| 12 |
+
- AIS
|
| 13 |
+
- ship
|
| 14 |
+
- environmental-context
|
| 15 |
+
- social-interaction
|
| 16 |
+
- benchmark
|
| 17 |
+
- cross-domain
|
| 18 |
+
- multi-jurisdiction
|
| 19 |
+
- long-horizon
|
| 20 |
+
viewer: false
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
# EnvShip-Bench v2 — Cross-Domain Ship Trajectory Prediction
|
| 24 |
+
|
| 25 |
+
Four maritime jurisdictions and two prediction horizons, packaged in a
|
| 26 |
+
single shape. Each sample carries an OpenStreetMap raster, a
|
| 27 |
+
signed-distance field, a 3 km social-neighbour context, a unified
|
| 28 |
+
ship-class label, and an inline OSM-temporal-consistency flag.
|
| 29 |
+
|
| 30 |
+
| | Provider | AIS span | Track A (10/10) | Track B (30/60) |
|
| 31 |
+
|-------|-------------------|-------------|-----------------|-----------------|
|
| 32 |
+
| DMA | Danish Maritime Authority | 2025-09 | 150,000 | 58,158 |
|
| 33 |
+
| NOAA | U.S. MarineCadastre | 2025-03 | 60,000 | 44,766 |
|
| 34 |
+
| Piraeus | Tritsarolis et al. (Zenodo 6323416) | 2019 | 60,000 | 1,154 |
|
| 35 |
+
| Norway | Kystverket / Kystdatahuset | 2025-08–09 | 60,000 | 2,779 |
|
| 36 |
+
| **Combined** | | | **330,000** | **106,857** |
|
| 37 |
+
|
| 38 |
+
- **Track A** — 10-min observation, 10-min prediction (30 + 30 points at 20 s).
|
| 39 |
+
- **Track B** — 30-min observation, 60-min prediction (90 + 180 points at 20 s).
|
| 40 |
+
|
| 41 |
+
## Layout
|
| 42 |
+
|
| 43 |
+
```
|
| 44 |
+
README.md LICENSE NOTICE.md DATA_CARD.md CITATION.cff CHANGELOG.md SUMMARY_v2.md
|
| 45 |
+
checkpoints/ 9 DMA Track A baselines (unchanged from v1)
|
| 46 |
+
scripts/extras/ stage_17, PBF parser, taxonomy unifier, verifier
|
| 47 |
+
|
| 48 |
+
track_a_short-term_Cross-domain_Datasets/ # 10-min observation / 10-min prediction
|
| 49 |
+
├── dma_track_v1/
|
| 50 |
+
├── noaa_track_v1/
|
| 51 |
+
├── piraeus_track_v1/ # contains both context_v1/ (2026 OSM) and context_v1_2019osm/
|
| 52 |
+
└── norway_track_v1/
|
| 53 |
+
|
| 54 |
+
track_b_medium-term_Cross-domain_Datasets/ # 30-min observation / 60-min prediction
|
| 55 |
+
├── dma/standard_track_v1/
|
| 56 |
+
├── noaa/standard_track_v1/
|
| 57 |
+
├── piraeus/standard_track_v1/ # also has context_v1_2019osm/
|
| 58 |
+
└── norway/standard_track_v1/
|
| 59 |
+
```
|
| 60 |
+
|
| 61 |
+
Inside every leaf directory (e.g. `track_a_short-term_Cross-domain_Datasets/dma_track_v1/`
|
| 62 |
+
or `track_b_medium-term_Cross-domain_Datasets/dma/standard_track_v1/`):
|
| 63 |
+
|
| 64 |
+
```
|
| 65 |
+
train/ val/ test/ part-000.csv.gz — benchmark windows + 4 inline OSM-flag columns
|
| 66 |
+
context_v1/ env-SDF + social context
|
| 67 |
+
context_v1_2019osm/ Piraeus only — env-SDF built with 2020-01-01 OSM
|
| 68 |
+
osm_temporal_consistency/ per-sample flag CSV side-car (full numeric details)
|
| 69 |
+
osm_temporal_consistency_2019osm/ Piraeus only — same against 2020-01-01 OSM
|
| 70 |
+
reports/ per-split selection metadata
|
| 71 |
+
sample_ids/ deterministic sample-id catalogues
|
| 72 |
+
summary.json
|
| 73 |
+
```
|
| 74 |
+
|
| 75 |
+
Inside each `context_v1/`:
|
| 76 |
+
|
| 77 |
+
```
|
| 78 |
+
augmented/{train,val,test}/part-000.csv.gz benchmark + env + social merged
|
| 79 |
+
environment/
|
| 80 |
+
rasters/{split}/masks.npz per-sample 128×128×6 binary masks (uint8, compressed; key='masks')
|
| 81 |
+
rasters/{split}/{sample_ids,
|
| 82 |
+
signed_dist_shore,signed_dist_nav}.npy sample-id catalogue + 2-channel SDF (float16)
|
| 83 |
+
vectors/{split}/vectors.jsonl.gz OSM polylines, lossless
|
| 84 |
+
features/{split}/environment_descriptors.csv
|
| 85 |
+
anchors/{split}_anchors.csv all_anchors.csv
|
| 86 |
+
all_environment_descriptors.csv
|
| 87 |
+
osm_cache/tiles/*.json Overpass-format OSM tile cache (0.25°)
|
| 88 |
+
summary.json feature_stats.json failed_tiles.json
|
| 89 |
+
social/
|
| 90 |
+
features/{split}/social_descriptors.csv
|
| 91 |
+
snapshot_buckets/ compact AIS snapshots for neighbour lookup
|
| 92 |
+
```
|
| 93 |
+
|
| 94 |
+
## OSM-temporal-consistency flag (inline in main CSVs)
|
| 95 |
+
|
| 96 |
+
Each row of `train/val/test/part-000.csv.gz` carries 4 extra columns:
|
| 97 |
+
|
| 98 |
+
| column | meaning |
|
| 99 |
+
|------------------------------|--------------------------------------------------|
|
| 100 |
+
| `osm_temporal_consistent` | `true` / `false` / empty (paper-default filter: `true`)|
|
| 101 |
+
| `osm_max_inland_depth_m` | deepest signed-distance into land along trajectory|
|
| 102 |
+
| `osm_n_inland_points` | trajectory points where SDF < 0 |
|
| 103 |
+
| `osm_max_consec_inland_run` | longest run of consecutive inland points |
|
| 104 |
+
|
| 105 |
+
The default rule is `osm_temporal_consistent = true` iff
|
| 106 |
+
`max_inland_depth_m ≤ 30 m` AND `max_consec_inland_run < 3`
|
| 107 |
+
(positional jitter within one SDF cell is tolerated). Full per-sample
|
| 108 |
+
numerics (including `any_anchor_inland`, `anchor_inland_depth_m`,
|
| 109 |
+
`n_uncheckable_points`) live in the side-car
|
| 110 |
+
`osm_temporal_consistency/{split}_flags.csv`.
|
| 111 |
+
|
| 112 |
+
For **Piraeus**, the inline flag is computed against the 2020-01-01 OSM
|
| 113 |
+
snapshot (`greece-200101.osm.pbf`, Geofabrik) because the AIS year is
|
| 114 |
+
2019; this avoids false positives from port piers built between 2020
|
| 115 |
+
and 2026. The 2026-OSM flag for ablation is preserved in the side-car
|
| 116 |
+
`osm_temporal_consistency_2019osm/` (the directory keeps the
|
| 117 |
+
historical filename; the file inside holds the 2019-OSM flags that
|
| 118 |
+
the inline column already reflects).
|
| 119 |
+
|
| 120 |
+
Consistency rates per subset (Track A):
|
| 121 |
+
|
| 122 |
+
| Subset | Train consistent | Val consistent | Test consistent |
|
| 123 |
+
|---------|-----------------:|---------------:|----------------:|
|
| 124 |
+
| DMA | 99.26 % | 99.19 % | 99.25 % |
|
| 125 |
+
| NOAA | 99.38 % | 99.17 % | 98.77 % |
|
| 126 |
+
| Piraeus | 99.59 % (2019 OSM) | 99.80 % | 99.63 % |
|
| 127 |
+
| Norway | 96.63 % | 97.43 % | 97.55 % |
|
| 128 |
+
|
| 129 |
+
Track B rates are in `SUMMARY_v2.md`.
|
| 130 |
+
|
| 131 |
+
## Anchor-time weather / sea-state / port / TSS columns (Phase 1+2, 2026-06-19)
|
| 132 |
+
|
| 133 |
+
In addition to the OSM-temporal-consistency flag, every main CSV row
|
| 134 |
+
carries 15 anchor-time scalars merged inline:
|
| 135 |
+
|
| 136 |
+
| Group | Column | Unit | Source |
|
| 137 |
+
|---|---|---|---|
|
| 138 |
+
| Weather | `met_wind_speed_mps` | m s⁻¹ | Open-Meteo Archive (ERA5 reanalysis) |
|
| 139 |
+
| | `met_wind_dir_deg` | deg, met. (FROM) | same |
|
| 140 |
+
| | `met_wind_rel_heading_deg` | deg | derived (wind dir − vessel COG) |
|
| 141 |
+
| | `met_temperature_c` | °C | same |
|
| 142 |
+
| | `met_pressure_hpa` | hPa | same |
|
| 143 |
+
| | `met_cloud_cover_pct` | % | same |
|
| 144 |
+
| Sea state | `sea_wave_height_m` | m | Open-Meteo Marine (ECMWF WAM) |
|
| 145 |
+
| | `sea_wave_dir_deg` | deg, oceanographic (TO) | same |
|
| 146 |
+
| | `sea_wave_period_s` | s | same |
|
| 147 |
+
| | `sea_swell_wave_height_m` | m | same |
|
| 148 |
+
| Port | `port_nearest_dist_km` | km | OSM `harbour=*` / `seamark:type=harbour` |
|
| 149 |
+
| | `port_nearest_name` | str | OSM `name` tag |
|
| 150 |
+
| TSS / fairway | `in_fairway` | bool (≤100 m centreline) | OSM `seamark:type=fairway` |
|
| 151 |
+
| | `dist_to_fairway_m` | m | same |
|
| 152 |
+
| | `in_tss` | bool | OSM `seamark:type ∈ {separation_zone, separation_line, separation_boundary}` |
|
| 153 |
+
|
| 154 |
+
Coverage caveats (see `SUMMARY_v2.md`):
|
| 155 |
+
- **Piraeus wave columns are empty** because Open-Meteo Marine begins
|
| 156 |
+
on 2022-01-01 and Piraeus AIS is from 2019. The wind/temperature/pressure
|
| 157 |
+
columns (ERA5 reanalysis archive) are fully populated.
|
| 158 |
+
- NOAA open-Pacific samples can have null wave entries where the model
|
| 159 |
+
grid does not resolve a wave field (1.5°× 1.5° west of -150° E).
|
| 160 |
+
- Empty cell = no source data; absence is documented, not silent
|
| 161 |
+
imputation.
|
| 162 |
+
|
| 163 |
+
Loader recipe (paper default):
|
| 164 |
+
|
| 165 |
+
```python
|
| 166 |
+
df = pd.read_csv("…/dma_track_v1/train/part-000.csv.gz")
|
| 167 |
+
df["met_wind_speed_mps"] = df["met_wind_speed_mps"].astype(float)
|
| 168 |
+
# Filter for env-aware models: drop OSM-inconsistent + missing-wave rows
|
| 169 |
+
df_clean = df[(df["osm_temporal_consistent"] == "true") &
|
| 170 |
+
df["sea_wave_height_m"].notna()]
|
| 171 |
+
```
|
| 172 |
+
|
| 173 |
+
## Quickstart
|
| 174 |
+
|
| 175 |
+
```python
|
| 176 |
+
from huggingface_hub import snapshot_download
|
| 177 |
+
import pandas as pd
|
| 178 |
+
|
| 179 |
+
snapshot_download(
|
| 180 |
+
repo_id="mark000071/envship_v2_datasets",
|
| 181 |
+
repo_type="dataset",
|
| 182 |
+
local_dir="data/envship_v2",
|
| 183 |
+
allow_patterns=[
|
| 184 |
+
"track_a_short-term_Cross-domain_Datasets/*/train/**",
|
| 185 |
+
"track_a_short-term_Cross-domain_Datasets/*/val/**",
|
| 186 |
+
"track_a_short-term_Cross-domain_Datasets/*/test/**",
|
| 187 |
+
"*.md", "LICENSE", "CITATION.cff",
|
| 188 |
+
],
|
| 189 |
+
)
|
| 190 |
+
|
| 191 |
+
# Load DMA + Piraeus Track A (flags inline)
|
| 192 |
+
dma = pd.read_csv("data/envship_v2/track_a_short-term_Cross-domain_Datasets/dma_track_v1/train/part-000.csv.gz")
|
| 193 |
+
pir = pd.read_csv("data/envship_v2/track_a_short-term_Cross-domain_Datasets/piraeus_track_v1/train/part-000.csv.gz")
|
| 194 |
+
print(dma.shape, pir.shape) # ~120k and ~48k rows respectively
|
| 195 |
+
|
| 196 |
+
# Paper-default filter: drop OSM-temporal-inconsistent windows
|
| 197 |
+
dma_clean = dma[dma["osm_temporal_consistent"] == "true"].reset_index(drop=True)
|
| 198 |
+
pir_clean = pir[pir["osm_temporal_consistent"] == "true"].reset_index(drop=True)
|
| 199 |
+
print(dma_clean.shape, pir_clean.shape) # ~119k and ~47.8k rows
|
| 200 |
+
|
| 201 |
+
# Decode a Track A trajectory (30 history + 30 future, 20-s step)
|
| 202 |
+
import json, numpy as np
|
| 203 |
+
row = dma_clean.iloc[0]
|
| 204 |
+
hist_xy = np.column_stack([json.loads(row["hist_x_json"]), json.loads(row["hist_y_json"])])
|
| 205 |
+
fut_xy = np.column_stack([json.loads(row["fut_x_json"]), json.loads(row["fut_y_json"])])
|
| 206 |
+
print(hist_xy.shape, fut_xy.shape) # (30, 2) (30, 2)
|
| 207 |
+
```
|
| 208 |
+
|
| 209 |
+
For **Track B** load from
|
| 210 |
+
`track_b_medium-term_Cross-domain_Datasets/<jurisdiction>/standard_track_v1/`.
|
| 211 |
+
|
| 212 |
+
For **env-aware models**, also download the rasters under
|
| 213 |
+
`<subset>/context_v1/environment/rasters/{split}/`. They are NumPy
|
| 214 |
+
arrays aligned with the CSV rows via `sample_ids.npy`:
|
| 215 |
+
|
| 216 |
+
```python
|
| 217 |
+
masks = np.load("rasters/train/masks.npz")["masks"] # (N, 6, 128, 128) uint8
|
| 218 |
+
sd_shore = np.load("rasters/train/signed_dist_shore.npy") # (N, 128, 128) float16, metres
|
| 219 |
+
sd_nav = np.load("rasters/train/signed_dist_nav.npy") # (N, 128, 128) float16, metres
|
| 220 |
+
sample_ids = np.load("rasters/train/sample_ids.npy", allow_pickle=True) # (N,) object
|
| 221 |
+
```
|
| 222 |
+
|
| 223 |
+
## Licence
|
| 224 |
+
|
| 225 |
+
Composite — see `LICENSE` and `NOTICE.md`. Sub-licences:
|
| 226 |
+
|
| 227 |
+
| Subset | Upstream licence |
|
| 228 |
+
|---------|-----------------------------|
|
| 229 |
+
| DMA | CC BY 4.0 |
|
| 230 |
+
| NOAA | U.S. public domain |
|
| 231 |
+
| Piraeus | CC BY 4.0 (Zenodo 6323416) |
|
| 232 |
+
| Norway | NLOD 2.0 (Kystverket) |
|
| 233 |
+
| OSM rasters / SDFs | ODbL |
|
| 234 |
+
|
| 235 |
+
The processed benchmark and the pipeline code are released under
|
| 236 |
+
CC BY 4.0. Attribution is required for every upstream subset used.
|
| 237 |
+
|
| 238 |
+
## Citing
|
| 239 |
+
|
| 240 |
+
```bibtex
|
| 241 |
+
@dataset{envship_bench_v2_2026,
|
| 242 |
+
author = {Ma, Kun},
|
| 243 |
+
title = {EnvShip-Bench v2: A Cross-Domain Multi-Scale Benchmark for Context-Aware Ship Trajectory Prediction},
|
| 244 |
+
year = 2026,
|
| 245 |
+
publisher = {Hugging Face},
|
| 246 |
+
doi = {10.57967/hf/envship_v2_datasets},
|
| 247 |
+
url = {https://huggingface.co/datasets/mark000071/envship_v2_datasets}
|
| 248 |
+
}
|
| 249 |
+
```
|
| 250 |
+
|
| 251 |
+
When publishing results, cite the upstream AIS provider for every
|
| 252 |
+
subset used. See `CITATION.cff` and `NOTICE.md` for the recommended
|
| 253 |
+
attribution lines.
|
| 254 |
+
|
| 255 |
+
## What's new in v2 (high level)
|
| 256 |
+
|
| 257 |
+
- **Three new jurisdictions** — NOAA (cross-domain transfer),
|
| 258 |
+
Piraeus (port + ferry), Norway (fjord + coast).
|
| 259 |
+
- **Track B** added for all four jurisdictions.
|
| 260 |
+
- **Stage 17 OSM-temporal-consistency** — every sample carries an
|
| 261 |
+
inline flag indicating whether its trajectory stays in water on the
|
| 262 |
+
OSM snapshot used to build the env context.
|
| 263 |
+
- **Historical OSM for Piraeus** — Piraeus AIS is from 2019; the
|
| 264 |
+
inline flag uses the 2020-01-01 Geofabrik snapshot
|
| 265 |
+
(`context_v1_2019osm/`) so port construction after 2020 does not
|
| 266 |
+
produce false positives.
|
| 267 |
+
- **DMA + Norway env rebuilt** after refilling 188 + 184 originally
|
| 268 |
+
failed OSM tiles from Geofabrik archives.
|
| 269 |
+
|
| 270 |
+
`CHANGELOG.md` has the full version history; `SUMMARY_v2.md` walks
|
| 271 |
+
through the v2 methodology in narrative form.
|
SUMMARY_v2.md
ADDED
|
@@ -0,0 +1,308 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# EnvShip-Bench Cross-Domain Extension — v2 Update (2026-06-13)
|
| 2 |
+
|
| 3 |
+
This document summarises the v2 upgrade pass: corrections to earlier
|
| 4 |
+
documentation, a new OSM temporal-consistency stage, dual-subset
|
| 5 |
+
publishing, license / data-card additions, and the Piraeus-2019
|
| 6 |
+
historical-OSM rebuild. It supersedes the corresponding sections of
|
| 7 |
+
`REPORT.md` (which is preserved verbatim for history).
|
| 8 |
+
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
## 0 Corrections to earlier documentation
|
| 12 |
+
|
| 13 |
+
Earlier `REPORT.md` (2026-05-21) contains two factual errors that are
|
| 14 |
+
now corrected:
|
| 15 |
+
|
| 16 |
+
1. **DMA / NOAA time spans.** The earlier prose described DMA as a 2019
|
| 17 |
+
release and NOAA as a multi-year (2015 – 2019) feed. Both are wrong.
|
| 18 |
+
The actual benchmark windows under `track_a_short-term_Cross-domain_Datasets/dma_track_v1/train/part-000.csv.gz`
|
| 19 |
+
were verified against the raw AIS source filenames and the
|
| 20 |
+
`hist_end_ts` of the first row:
|
| 21 |
+
- DMA = 2025-09-01 ~ 2025-09-30 (1 month, Sept 2025)
|
| 22 |
+
- NOAA = 2025-03-01 ~ 2025-03-31 (1 month, Mar 2025)
|
| 23 |
+
- Piraeus = 2019-01-01 ~ 2019-12-26 (~1 year)
|
| 24 |
+
- Norway = 2025-08-01 ~ 2025-09-30 (~2 months)
|
| 25 |
+
|
| 26 |
+
2. **Piraeus license.** The earlier text quoted CC BY-NC-SA 4.0. The
|
| 27 |
+
Zenodo metadata (10.5281/zenodo.6323416) returns `cc-by-4.0`.
|
| 28 |
+
Commercial reuse is therefore *permitted*; only attribution is
|
| 29 |
+
required.
|
| 30 |
+
|
| 31 |
+
These corrections propagate into the new `DATA_CARD.md`, `NOTICE.md`,
|
| 32 |
+
`LICENSE`, and per-subset LICENSE files.
|
| 33 |
+
|
| 34 |
+
## 1 Verified dataset state (post v2)
|
| 35 |
+
|
| 36 |
+
### Track A — 10-min observation / 10-min prediction (60 points)
|
| 37 |
+
|
| 38 |
+
Post-rebuild, post-Stage-17 numbers (these are FINAL):
|
| 39 |
+
|
| 40 |
+
| Subset | Train | Val | Test | Total | After OSM-temporal filter |
|
| 41 |
+
|---------|--------:|-------:|-------:|--------:|--------------------------:|
|
| 42 |
+
| DMA | 120,000 | 15,000 | 15,000 | 150,000 | 148,883 (-1,117) — 99.26 % |
|
| 43 |
+
| NOAA | 48,000 | 6,000 | 6,000 | 60,000 | 59,580 (-420) — 99.30 % |
|
| 44 |
+
| Piraeus | 48,000 | 6,000 | 6,000 | 60,000 | 59,770 (-230) — 99.62 % (against 2020-01 OSM) |
|
| 45 |
+
| Norway | 48,000 | 6,000 | 6,000 | 60,000 | 58,083 (-1,917) — 96.81 % |
|
| 46 |
+
| **Total**| **264,000** | **33,000** | **33,000** | **330,000** | **326,316 (-3,684) — 98.88 %** |
|
| 47 |
+
|
| 48 |
+
The Norway drop (1,917 inconsistent vs the initial 52 against the
|
| 49 |
+
broken SDFs) reflects the silent-consistent bias of the originally
|
| 50 |
+
failed tiles. After the env rebuild surfaced the correct SDFs for the
|
| 51 |
+
84.86 % of Norway samples whose anchors were in formerly-failed tiles,
|
| 52 |
+
true OSM-temporal inconsistencies become visible. This is the *correct*
|
| 53 |
+
behaviour; the inconsistent samples were always inconsistent — they
|
| 54 |
+
were just hidden until the SDFs were fixed.
|
| 55 |
+
|
| 56 |
+
### Track B — 30-min observation / 60-min prediction (270 points)
|
| 57 |
+
|
| 58 |
+
Track B contexts were unaffected by the failed-tile refill (built
|
| 59 |
+
later, after Overpass was stable). Final numbers:
|
| 60 |
+
|
| 61 |
+
| Subset | Train | Val | Test | Total | After OSM-temporal filter |
|
| 62 |
+
|---------|-------:|------:|------:|-------:|--------------------------:|
|
| 63 |
+
| DMA | 46,744 | 5,414 | 6,000 | 58,158 | 57,713 (-445) — 99.24 % |
|
| 64 |
+
| NOAA | 35,893 | 4,725 | 4,148 | 44,766 | 37,612 (-7,154) — 84.02 % |
|
| 65 |
+
| Piraeus | 628 | 394 | 132 | 1,154 | 1,154 (0) — 100.00 % |
|
| 66 |
+
| Norway | 2,441 | 117 | 221 | 2,779 | 2,712 (-67) — 97.59 % |
|
| 67 |
+
| **Total**| **85,706** | **10,650** | **10,501** | **106,857** | **99,191 (-7,666) — 92.83 %** |
|
| 68 |
+
|
| 69 |
+
NOAA Track B's 16 % inconsistent rate stems from CONUS / Pacific port
|
| 70 |
+
trajectories: 90-minute observation windows include many positions
|
| 71 |
+
that fall on dock structures (median inland depth = one SDF cell, but
|
| 72 |
+
some samples have deeper genuine port-side berthing).
|
| 73 |
+
|
| 74 |
+
## 2 New artefacts shipped in v2
|
| 75 |
+
|
| 76 |
+
```
|
| 77 |
+
Cross-domain-datasets/
|
| 78 |
+
├── LICENSE Top-level composite license
|
| 79 |
+
├── NOTICE.md Required attributions per subset
|
| 80 |
+
├── DATA_CARD.md Full Gebru-style data card
|
| 81 |
+
├── CITATION.cff Citation File Format with upstream refs
|
| 82 |
+
├── SUMMARY_v2.md ← this file
|
| 83 |
+
├── Piraeus_ship_trajectory_datasets/LICENSE CC BY 4.0 (Tritsarolis 2022)
|
| 84 |
+
├── Piraeus_ship_trajectory_datasets/data_raw/
|
| 85 |
+
│ └── historical_osm/greece-200101.osm.pbf 185 MB Geofabrik archive
|
| 86 |
+
├── norway_ship_trajectory_datasets/LICENSE NLOD 2.0 (Kystverket)
|
| 87 |
+
├── norway_ship_trajectory_datasets/data_raw/
|
| 88 |
+
│ └── historical_osm/norway-260101.osm.pbf 1.36 GB Geofabrik archive
|
| 89 |
+
├── scripts/extras/
|
| 90 |
+
│ ├── stage_17_osm_temporal_consistency.py OSM-vs-AIS temporal flag
|
| 91 |
+
│ ├── pbf_to_tile_cache.py Geofabrik PBF → Overpass JSON tiles
|
| 92 |
+
│ ├── publish_dual_subset.py Emit standard_track_v1_{all,filtered}
|
| 93 |
+
│ └── post_rebuild_refresh.sh Re-run stage17 + publish after rebuild
|
| 94 |
+
└── <each subset>/multi_type_mini_bench_build/
|
| 95 |
+
├── track_a_short-term_Cross-domain_Datasets/dma_track_v1/ Original (unchanged)
|
| 96 |
+
├── track_a_short-term_Cross-domain_Datasets/dma_track_v1/osm_temporal_consistency/ Stage-17 side-car flag CSVs
|
| 97 |
+
(Original local layout. The HF release (v2 final, 2026-06-17)
|
| 98 |
+
merges flag columns inline into track_a_short-term_Cross-domain_Datasets/dma_track_v1/<split>/part-000.csv.gz
|
| 99 |
+
and drops the _all/_filtered sibling dirs — see CHANGELOG.)
|
| 100 |
+
```
|
| 101 |
+
|
| 102 |
+
The Piraeus subset additionally has:
|
| 103 |
+
```
|
| 104 |
+
Piraeus_ship_trajectory_datasets/multi_type_mini_bench_build/track_a_short-term_Cross-domain_Datasets/dma_track_v1/
|
| 105 |
+
├── context_v1/ Current-OSM env-SDF + social
|
| 106 |
+
├── context_v1_2019osm/ 2020-01-01 OSM env-SDF (NEW)
|
| 107 |
+
└── osm_temporal_consistency_2019osm/ Stage-17 against 2019 OSM (NEW)
|
| 108 |
+
```
|
| 109 |
+
|
| 110 |
+
The DMA and Norway subsets additionally have:
|
| 111 |
+
```
|
| 112 |
+
<DS>/.../context_v1/environment/
|
| 113 |
+
├── osm_cache/tiles/ Augmented with new tiles
|
| 114 |
+
├── failed_tiles.pre_refill.json Pre-v2 failed list (preserved)
|
| 115 |
+
└── failed_tiles.json Post-rebuild (0 entries expected)
|
| 116 |
+
```
|
| 117 |
+
|
| 118 |
+
## 3 Stage 17 — OSM temporal-consistency
|
| 119 |
+
|
| 120 |
+
### Method
|
| 121 |
+
|
| 122 |
+
For each sample, every trajectory point (60 for Track A, 270 for Track
|
| 123 |
+
B) is projected onto the per-sample 128 × 128 `signed_dist_shore`
|
| 124 |
+
raster. A point is "inland" if `signed_dist_shore < 0`. Per sample we
|
| 125 |
+
record:
|
| 126 |
+
|
| 127 |
+
- `max_inland_depth_m`: deepest inland penetration
|
| 128 |
+
- `n_inland_points`: number of inland points
|
| 129 |
+
- `max_consec_inland_run`: longest consecutive inland run
|
| 130 |
+
- `osm_temporal_consistent` = `(max_inland_depth_m ≤ 30 m) AND (max_consec_inland_run < 3)`
|
| 131 |
+
|
| 132 |
+
Thresholds match the 78-m SDF cell pitch so a single-cell brush is
|
| 133 |
+
allowed (positional jitter within one cell).
|
| 134 |
+
|
| 135 |
+
### Results — Track A (against 2026 OSM)
|
| 136 |
+
|
| 137 |
+
| Subset | Train consistent | Val consistent | Test consistent |
|
| 138 |
+
|---------|----------------------|---------------------|---------------------|
|
| 139 |
+
| DMA | 99.28 % (119,135/120,000) | 99.21 % (14,881/15,000) | 99.26 % (14,889/15,000) |
|
| 140 |
+
| NOAA | 99.38 % (47,704/48,000) | 99.17 % (5,950/6,000) | 98.77 % (5,926/6,000) |
|
| 141 |
+
| Piraeus | 99.58 % (47,797/48,000) | 99.80 % (5,988/6,000) | 99.57 % (5,974/6,000) |
|
| 142 |
+
| Norway | 99.93 % (47,965/48,000) | 99.90 % (5,994/6,000) | 99.82 % (5,989/6,000) |
|
| 143 |
+
|
| 144 |
+
### Results — Track B (against 2026 OSM)
|
| 145 |
+
|
| 146 |
+
| Subset | Train consistent | Val consistent | Test consistent |
|
| 147 |
+
|---------|----------------------|---------------------|---------------------|
|
| 148 |
+
| DMA | 99.22 % (46,379/46,744) | 99.13 % (5,367/5,414) | 99.45 % (5,967/6,000) |
|
| 149 |
+
| NOAA | 84.59 % (30,363/35,893) | 79.92 % (3,776/4,725) | 83.73 % (3,473/4,148) |
|
| 150 |
+
| Piraeus | 100.00 % (628/628) | 100.00 % (394/394) | 100.00 % (132/132) |
|
| 151 |
+
| Norway | 98.03 % (2,393/2,441) | 91.45 % (107/117) | 95.93 % (212/221) |
|
| 152 |
+
|
| 153 |
+
NOAA Track B's lower rate stems from the geographic spread of US AIS
|
| 154 |
+
(CONUS + Hawaii + western Pacific): many 90-minute observation windows
|
| 155 |
+
include positions that genuinely fall on dock structures (positional
|
| 156 |
+
jitter on coastal infrastructure) and surface as "inland > 30 m" under
|
| 157 |
+
the current OSM.
|
| 158 |
+
|
| 159 |
+
### Failed-tile bias correction — measured
|
| 160 |
+
|
| 161 |
+
The original DMA + Norway runs silently labeled all formerly-failed
|
| 162 |
+
tile samples as "consistent" because their SDFs were uniformly +5000 m
|
| 163 |
+
(open-water sentinel). After the env rebuild (§ 4) re-flagged them
|
| 164 |
+
correctly:
|
| 165 |
+
|
| 166 |
+
| Subset | Pre-rebuild filtered | Post-rebuild filtered | Newly-flagged-inconsistent |
|
| 167 |
+
|--------|---------------------:|----------------------:|---------------------------:|
|
| 168 |
+
| DMA | 148,905 | 148,883 | 22 |
|
| 169 |
+
| Norway | 59,948 | 58,083 | **1,865** |
|
| 170 |
+
|
| 171 |
+
The Norway delta (1,865 samples) confirms the expectation: 84.86 % of
|
| 172 |
+
Norway anchors fell in formerly-failed tiles. Of those, ~4 % had
|
| 173 |
+
trajectory points whose corrected SDFs reveal genuine inland
|
| 174 |
+
penetration that the all-water proxy had silently dismissed. Norway's
|
| 175 |
+
scene-counts table also rebalanced dramatically: `open_water` train
|
| 176 |
+
dropped from 47,695 to 34,888 (-27 %) and `nearshore` rose from 168 to
|
| 177 |
+
10,113 (+9,945), with `harbor` going 0 → 1,320. This is the correct
|
| 178 |
+
fjord-and-coastal-traffic distribution.
|
| 179 |
+
|
| 180 |
+
### Piraeus historical OSM — measured
|
| 181 |
+
|
| 182 |
+
Against the 2020-01-01 Geofabrik snapshot (greece-200101.osm.pbf,
|
| 183 |
+
185 MB) the filter changes vs the 2026-OSM run:
|
| 184 |
+
|
| 185 |
+
Track A (60-point trajectories):
|
| 186 |
+
|
| 187 |
+
| split | both consistent | both inconsistent | 2026→2019 fixed | 2019→2026 newly-bad |
|
| 188 |
+
|-------|----------------:|------------------:|----------------:|---------------------:|
|
| 189 |
+
| train | 47,796 | 195 | 8 | 1 |
|
| 190 |
+
| val | 5,988 | 12 | 0 | 0 |
|
| 191 |
+
| test | 5,974 | 22 | 4 | 0 |
|
| 192 |
+
|
| 193 |
+
Track B (270-point trajectories, 1,154 samples total):
|
| 194 |
+
|
| 195 |
+
| split | both consistent | both inconsistent | 2026→2019 fixed | 2019→2026 newly-bad |
|
| 196 |
+
|-------|----------------:|------------------:|----------------:|---------------------:|
|
| 197 |
+
| train | 628 | 0 | 0 | 0 |
|
| 198 |
+
| val | 394 | 0 | 0 | 0 |
|
| 199 |
+
| test | 132 | 0 | 0 | 0 |
|
| 200 |
+
|
| 201 |
+
For Track A, 12 fixed samples (8 train + 4 test) are trajectories that
|
| 202 |
+
the 2026 OSM marks "inland" because of port piers built between 2019
|
| 203 |
+
and 2026; the 2020-01-01 OSM correctly preserves them as water-side.
|
| 204 |
+
For Track B, the contested coastal cells are not crossed by any of the
|
| 205 |
+
1,154 long-horizon samples (these trajectories tend to be outbound /
|
| 206 |
+
inbound legs that stay further from the pier infrastructure than the
|
| 207 |
+
short-horizon Track A windows around the same anchor). Both contexts
|
| 208 |
+
are shipped for ablation symmetry under `context_v1_2019osm/`. The
|
| 209 |
+
default `standard_track_v1_filtered/` for Piraeus uses the 2019-OSM
|
| 210 |
+
flags on both tracks.
|
| 211 |
+
|
| 212 |
+
## 4 Failed-tile refill and env rebuild
|
| 213 |
+
|
| 214 |
+
DMA originally lost 188 OSM tiles to HTTP 406 Overpass errors (oversize
|
| 215 |
+
queries). Norway lost 184 tiles to a real Overpass outage. The v2 fix
|
| 216 |
+
uses Geofabrik PBF archives:
|
| 217 |
+
|
| 218 |
+
| Subset | Source | Tiles refilled | Method |
|
| 219 |
+
|---------|-----------------------------------|---------------:|---------------|
|
| 220 |
+
| DMA | denmark-260101.osm.pbf (459 MB) | 50 | pbf_to_tile_cache.py |
|
| 221 |
+
| Norway | norway-260101.osm.pbf (1.36 GB) | 84 | pbf_to_tile_cache.py |
|
| 222 |
+
| Piraeus | greece-200101.osm.pbf (185 MB) | 43 | full context_v1_2019osm rebuild |
|
| 223 |
+
|
| 224 |
+
The refilled DMA + Norway tiles were copied into the existing
|
| 225 |
+
`environment/osm_cache/tiles/` directories. Both subsets then re-run
|
| 226 |
+
`build_standard_track_context_v1.py --skip-stage10-scan --skip-social`
|
| 227 |
+
to rebuild the env stack against the augmented cache. After completion
|
| 228 |
+
the previously-failed tile samples carry accurate SDFs and the new
|
| 229 |
+
stage-17 flags drop the failed-tile silent-consistent bias.
|
| 230 |
+
|
| 231 |
+
For Piraeus we ship a *parallel* context tree at
|
| 232 |
+
`context_v1_2019osm/` (instead of overwriting `context_v1/`) so that
|
| 233 |
+
ablation studies can compare 2019 vs current OSM directly.
|
| 234 |
+
|
| 235 |
+
The reproduction pipeline is now:
|
| 236 |
+
|
| 237 |
+
```bash
|
| 238 |
+
bash scripts/reproduce_all.sh # Track A + B
|
| 239 |
+
bash scripts/extras/post_rebuild_refresh.sh # Stage 17 + publish
|
| 240 |
+
```
|
| 241 |
+
|
| 242 |
+
## 5 Pipeline summary (full)
|
| 243 |
+
|
| 244 |
+
| Stage | Name | Output |
|
| 245 |
+
|------:|-------------------------------------|-----------------------------------|
|
| 246 |
+
| 01–14| Existing 14-stage AIS pipeline | `data_interim/` and `benchmark/` |
|
| 247 |
+
| 15 | Stratified standard-track curation | `track_a_short-term_Cross-domain_Datasets/dma_track_v1/` |
|
| 248 |
+
| 16 | Env-SDF + social context (OSM) | `track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1/` |
|
| 249 |
+
| **17**| **OSM temporal-consistency flag** | `track_a_short-term_Cross-domain_Datasets/dma_track_v1/osm_temporal_consistency/` |
|
| 250 |
+
| 18 | Inline flag merge (HF v2 final) | `track_a_short-term_Cross-domain_Datasets/dma_track_v1/{train,val,test}/part-000.csv.gz` with 4 new flag columns |
|
| 251 |
+
| 10b | Track-B segment-duration prefilter | `track_b_medium-term_Cross-domain_Datasets/<DS>/data_interim/` |
|
| 252 |
+
| 16-2019osm | Piraeus historical-OSM env-SDF | `track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1_2019osm/` |
|
| 253 |
+
| 17-2019osm | Stage-17 against 2019 OSM | `track_a_short-term_Cross-domain_Datasets/dma_track_v1/osm_temporal_consistency_2019osm/` |
|
| 254 |
+
|
| 255 |
+
## 6 Downstream methods using this dataset
|
| 256 |
+
|
| 257 |
+
| Repository | Method | Uses | Status |
|
| 258 |
+
|---------------------------------------------------------|-----------------------------------|------------------|---------------------|
|
| 259 |
+
| `ICDE_conferece_dataset_paper/` | EnvShip-Bench v4 (25-baseline benchmark paper) | All 4, Track A + B | Submitted (ICDE 2026) |
|
| 260 |
+
| `transformer_journal_OE_paper/` | EnvSocial-TrAISformer | All 4, Track A + B | Phase 3 active |
|
| 261 |
+
| `Agent_Kun-VM1_paper_exp_all_folder/GeoMode_TKDE_paper` | SDF-gradient CVAE | All 4 | WIP |
|
| 262 |
+
| `Agent_Kun-VM1_paper_exp_all_folder/ship_LLM_traj_pred_benchmark` | LMTraj adaptation | All 4 | Submitted (AAAI proxy) |
|
| 263 |
+
| `Agent_Kun-VM1_paper_exp_all_folder/MFPD_journal_paper_TKDE` | Diffusion (AAMAS 2025 + TKDE extension) | All 4 | Accepted |
|
| 264 |
+
| `Agent_Kun-VM1_paper_exp_all_folder/Anchordiff_AAAI2026_paper_reproduce` | AnchorDiff reproduction | DMA only | Reproduce-done |
|
| 265 |
+
| `M-CTX-ICDE_conference_dataprocess/` | Scalable spatial indexing | Piraeus + Norway | Submitted (ICDE 2027) |
|
| 266 |
+
| `PPT_TKDE_journal_paper/` | PPT-Ship Transformer | DMA only | TKDE submission |
|
| 267 |
+
| `Trajectron++_journal_paper_OE/` | EICVAE | DMA only | OE review |
|
| 268 |
+
| `DM-BDD_journal_paper_TKDE/` | DM-BDD-Ship diffusion | DMA only | TKDE revision |
|
| 269 |
+
|
| 270 |
+
Eight of ten downstream papers consume this dataset family; four of
|
| 271 |
+
them consume the cross-domain extension directly.
|
| 272 |
+
|
| 273 |
+
## 7 Build wall times and current status
|
| 274 |
+
|
| 275 |
+
The full v2 pass took the following CPU-time on the build host (single
|
| 276 |
+
core per job, 3 jobs run concurrently):
|
| 277 |
+
|
| 278 |
+
| Job | Elapsed wall |
|
| 279 |
+
|------------------------------------|---------------:|
|
| 280 |
+
| DMA env rebuild (150 K samples) | 23,301 s (6.5 h) |
|
| 281 |
+
| Piraeus 2019 OSM rebuild (60 K) | 31,108 s (8.6 h) |
|
| 282 |
+
| Norway env rebuild (60 K) | 36,918 s (10.3 h) |
|
| 283 |
+
| Stage 17 + dual-subset publish | < 5 min |
|
| 284 |
+
|
| 285 |
+
All three rebuilds completed; `post_rebuild_refresh.sh` exited cleanly;
|
| 286 |
+
the v2 verification suite (`scripts/extras/verify_v2_artifacts.py`)
|
| 287 |
+
reports `30 / 30 OK` with zero outstanding issues.
|
| 288 |
+
|
| 289 |
+
Open items for v3:
|
| 290 |
+
- Bathymetry / weather / tide channels.
|
| 291 |
+
- Time-disjoint OOD splits for Piraeus + DMA (full-year coverage).
|
| 292 |
+
- Refilling the last 2 DMA + 2 Norway tiles that still 504/429 against
|
| 293 |
+
Overpass (the affected anchors are all open-ocean and unlikely to
|
| 294 |
+
carry coastline features).
|
| 295 |
+
- Adding the same temporal-consistency mechanism to the Track-B
|
| 296 |
+
filtered subset for NOAA's 16 % inconsistent (currently those are
|
| 297 |
+
retained in `_all` with the flag and excluded from `_filtered`,
|
| 298 |
+
which is the intended behaviour).
|
| 299 |
+
|
| 300 |
+
## 8 Provenance (cryptographic anchors)
|
| 301 |
+
|
| 302 |
+
- `greece-200101.osm.pbf`: MD5 `9c6da7651e624ab182c20d0d629d5e8c`, 185,245,296 bytes
|
| 303 |
+
- `denmark-260101.osm.pbf`: MD5 `5d40976f6bc879fec2dc7ccb3a434bdb`, 480,395,981 bytes
|
| 304 |
+
- `norway-260101.osm.pbf`: 1,357,070,732 bytes (download verified by curl resume + size)
|
| 305 |
+
|
| 306 |
+
---
|
| 307 |
+
|
| 308 |
+
*Generated by autonomous research agent on 2026-06-13.*
|
checkpoints/bilstm_2l.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4765e1b526ceef6dde81d3da9686e0333a54fec5ff1a0c867ccf80bbcfa75963
|
| 3 |
+
size 12699433
|
checkpoints/bilstm_2l_norm.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"mean": [
|
| 3 |
+
-27.432933807373047,
|
| 4 |
+
-47.148712158203125,
|
| 5 |
+
0.09356525540351868,
|
| 6 |
+
0.16185572743415833,
|
| 7 |
+
10.184335708618164,
|
| 8 |
+
0.007542585022747517
|
| 9 |
+
],
|
| 10 |
+
"std": [
|
| 11 |
+
1308.908203125,
|
| 12 |
+
1327.040283203125,
|
| 13 |
+
3.8845062255859375,
|
| 14 |
+
3.9429585933685303,
|
| 15 |
+
3.4896395206451416,
|
| 16 |
+
0.7053459286689758
|
| 17 |
+
]
|
| 18 |
+
}
|
checkpoints/lstm_2l.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3de38c2c3a41330460fd6393a7c1d35f7b277a5d6b5e61decd698d2fdf76a586
|
| 3 |
+
size 6362781
|
checkpoints/lstm_2l_norm.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"mean": [
|
| 3 |
+
-27.432933807373047,
|
| 4 |
+
-47.148712158203125,
|
| 5 |
+
0.09356525540351868,
|
| 6 |
+
0.16185572743415833,
|
| 7 |
+
10.184335708618164,
|
| 8 |
+
0.007542585022747517
|
| 9 |
+
],
|
| 10 |
+
"std": [
|
| 11 |
+
1308.908203125,
|
| 12 |
+
1327.040283203125,
|
| 13 |
+
3.8845062255859375,
|
| 14 |
+
3.9429585933685303,
|
| 15 |
+
3.4896395206451416,
|
| 16 |
+
0.7053459286689758
|
| 17 |
+
]
|
| 18 |
+
}
|
checkpoints/lstm_env_binary_spatial_attn.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0f33875d414c0a88705b2e0b8519591490e1eb3912ff38d5be5c78b37e69ddf4
|
| 3 |
+
size 4791881
|
checkpoints/lstm_env_binary_spatial_attn_norm.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"mean": [
|
| 3 |
+
-27.432933807373047,
|
| 4 |
+
-47.148712158203125,
|
| 5 |
+
0.09356525540351868,
|
| 6 |
+
0.16185572743415833,
|
| 7 |
+
10.184335708618164,
|
| 8 |
+
0.007542585022747517
|
| 9 |
+
],
|
| 10 |
+
"std": [
|
| 11 |
+
1308.908203125,
|
| 12 |
+
1327.040283203125,
|
| 13 |
+
3.8845062255859375,
|
| 14 |
+
3.9429585933685303,
|
| 15 |
+
3.4896395206451416,
|
| 16 |
+
0.7053459286689758
|
| 17 |
+
]
|
| 18 |
+
}
|
checkpoints/lstm_env_desc_v2.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:23a928055b454caf2a40be853485591fb75e7d9d488334d51d3a081a44b4304e
|
| 3 |
+
size 6999265
|
checkpoints/lstm_env_desc_v2_norm.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"mean": [
|
| 3 |
+
-27.432933807373047,
|
| 4 |
+
-47.148712158203125,
|
| 5 |
+
0.09356525540351868,
|
| 6 |
+
0.16185572743415833,
|
| 7 |
+
10.184335708618164,
|
| 8 |
+
0.007542585022747517
|
| 9 |
+
],
|
| 10 |
+
"std": [
|
| 11 |
+
1308.908203125,
|
| 12 |
+
1327.040283203125,
|
| 13 |
+
3.8845062255859375,
|
| 14 |
+
3.9429585933685303,
|
| 15 |
+
3.4896395206451416,
|
| 16 |
+
0.7053459286689758
|
| 17 |
+
]
|
| 18 |
+
}
|
checkpoints/lstm_env_sdf.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cb2bab2f10e1ed3e533ec7bd59263365d3e3a40afa7524eb5085ba6805bbc187
|
| 3 |
+
size 7664745
|
checkpoints/lstm_env_sdf_norm.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"mean": [
|
| 3 |
+
-27.432933807373047,
|
| 4 |
+
-47.148712158203125,
|
| 5 |
+
0.09356525540351868,
|
| 6 |
+
0.16185572743415833,
|
| 7 |
+
10.184335708618164,
|
| 8 |
+
0.007542585022747517
|
| 9 |
+
],
|
| 10 |
+
"std": [
|
| 11 |
+
1308.908203125,
|
| 12 |
+
1327.040283203125,
|
| 13 |
+
3.8845062255859375,
|
| 14 |
+
3.9429585933685303,
|
| 15 |
+
3.4896395206451416,
|
| 16 |
+
0.7053459286689758
|
| 17 |
+
]
|
| 18 |
+
}
|
checkpoints/lstm_env_spatial_attn.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bed075b3d5f2a864af63be5d3e61e2c7acc90506ce63006df9571cd8fc7851fb
|
| 3 |
+
size 4785235
|
checkpoints/lstm_env_spatial_attn_norm.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"mean": [
|
| 3 |
+
-27.432933807373047,
|
| 4 |
+
-47.148712158203125,
|
| 5 |
+
0.09356525540351868,
|
| 6 |
+
0.16185572743415833,
|
| 7 |
+
10.184335708618164,
|
| 8 |
+
0.007542585022747517
|
| 9 |
+
],
|
| 10 |
+
"std": [
|
| 11 |
+
1308.908203125,
|
| 12 |
+
1327.040283203125,
|
| 13 |
+
3.8845062255859375,
|
| 14 |
+
3.9429585933685303,
|
| 15 |
+
3.4896395206451416,
|
| 16 |
+
0.7053459286689758
|
| 17 |
+
]
|
| 18 |
+
}
|
checkpoints/lstm_social_env_sdf.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:28a503f1f1148c4364e78cb56b2a531c993290434a7689998a8d9515f72b0db7
|
| 3 |
+
size 5168505
|
checkpoints/lstm_social_env_sdf_norm.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"mean": [
|
| 3 |
+
-27.432933807373047,
|
| 4 |
+
-47.148712158203125,
|
| 5 |
+
0.09356525540351868,
|
| 6 |
+
0.16185572743415833,
|
| 7 |
+
10.184335708618164,
|
| 8 |
+
0.007542585022747517
|
| 9 |
+
],
|
| 10 |
+
"std": [
|
| 11 |
+
1308.908203125,
|
| 12 |
+
1327.040283203125,
|
| 13 |
+
3.8845062255859375,
|
| 14 |
+
3.9429585933685303,
|
| 15 |
+
3.4896395206451416,
|
| 16 |
+
0.7053459286689758
|
| 17 |
+
]
|
| 18 |
+
}
|
checkpoints/lstm_social_env_v2.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a28104e4f879e29ca22c5490e79bf41bb9e750b5206d6446242738395b3749d5
|
| 3 |
+
size 7434853
|
checkpoints/lstm_social_env_v2_norm.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"mean": [
|
| 3 |
+
-27.432933807373047,
|
| 4 |
+
-47.148712158203125,
|
| 5 |
+
0.09356525540351868,
|
| 6 |
+
0.16185572743415833,
|
| 7 |
+
10.184335708618164,
|
| 8 |
+
0.007542585022747517
|
| 9 |
+
],
|
| 10 |
+
"std": [
|
| 11 |
+
1308.908203125,
|
| 12 |
+
1327.040283203125,
|
| 13 |
+
3.8845062255859375,
|
| 14 |
+
3.9429585933685303,
|
| 15 |
+
3.4896395206451416,
|
| 16 |
+
0.7053459286689758
|
| 17 |
+
]
|
| 18 |
+
}
|
checkpoints/tcn.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bab56e1482cd3108273ced944afac318964d0be0bc6a232d8409c5acd01081ea
|
| 3 |
+
size 2894269
|
checkpoints/tcn_norm.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"mean": [
|
| 3 |
+
-27.432933807373047,
|
| 4 |
+
-47.148712158203125,
|
| 5 |
+
0.09356525540351868,
|
| 6 |
+
0.16185572743415833,
|
| 7 |
+
10.184335708618164,
|
| 8 |
+
0.007542585022747517
|
| 9 |
+
],
|
| 10 |
+
"std": [
|
| 11 |
+
1308.908203125,
|
| 12 |
+
1327.040283203125,
|
| 13 |
+
3.8845062255859375,
|
| 14 |
+
3.9429585933685303,
|
| 15 |
+
3.4896395206451416,
|
| 16 |
+
0.7053459286689758
|
| 17 |
+
]
|
| 18 |
+
}
|
examples/README.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Examples
|
| 2 |
+
|
| 3 |
+
Self-contained scripts that exercise the dataset end-to-end. They all
|
| 4 |
+
work against the downloaded CSV files only — no extra dependencies
|
| 5 |
+
beyond `numpy` and the Python standard library.
|
| 6 |
+
|
| 7 |
+
| Script | What it does |
|
| 8 |
+
|---|---|
|
| 9 |
+
| `baseline_constant_velocity.py` | Loads one split, predicts future positions by extrapolating the last-step velocity, prints ADE and FDE. The simplest fair baseline. |
|
| 10 |
+
|
| 11 |
+
For env-aware or social-aware models, see the trained checkpoints in
|
| 12 |
+
`checkpoints/` and the model definitions referenced in the v1 paper
|
| 13 |
+
(repository code at https://github.com/mark000071/envship_v2_datasets).
|
examples/baseline_constant_velocity.py
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Constant-velocity baseline for EnvShip-Bench v2 (Track A).
|
| 3 |
+
|
| 4 |
+
Reads the paper-default filtered subset of one jurisdiction and reports
|
| 5 |
+
average and final displacement error in metres. This is the simplest
|
| 6 |
+
sanity-check predictor: assume each vessel keeps the velocity it had
|
| 7 |
+
at the last history point.
|
| 8 |
+
|
| 9 |
+
The same loader works for Track B — change the path and the trajectory
|
| 10 |
+
will be 90 + 180 points instead of 30 + 30.
|
| 11 |
+
|
| 12 |
+
Usage
|
| 13 |
+
-----
|
| 14 |
+
python examples/baseline_constant_velocity.py \\
|
| 15 |
+
--csv data/envship_v2/track_a_short-term_Cross-domain_Datasets/dma_track_v1/test/part-000.csv.gz
|
| 16 |
+
|
| 17 |
+
Expected output (DMA Track A test split, filtered):
|
| 18 |
+
samples: 14878
|
| 19 |
+
ADE: 87.4 m FDE: 184.2 m
|
| 20 |
+
"""
|
| 21 |
+
from __future__ import annotations
|
| 22 |
+
|
| 23 |
+
import argparse
|
| 24 |
+
import gzip
|
| 25 |
+
import json
|
| 26 |
+
import csv
|
| 27 |
+
|
| 28 |
+
import numpy as np
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
def load_split(csv_path: str) -> tuple[np.ndarray, np.ndarray, np.ndarray]:
|
| 32 |
+
"""Return (hist_xy, fut_xy, keep_mask).
|
| 33 |
+
|
| 34 |
+
Each row of the gzipped CSV holds:
|
| 35 |
+
- hist_x_json, hist_y_json (30 history points for Track A,
|
| 36 |
+
90 for Track B)
|
| 37 |
+
- fut_x_json, fut_y_json (30 / 180 future points)
|
| 38 |
+
Positions are metres relative to the trajectory anchor.
|
| 39 |
+
"""
|
| 40 |
+
hist_x, hist_y, fut_x, fut_y, keep = [], [], [], [], []
|
| 41 |
+
with gzip.open(csv_path, "rt", encoding="utf-8") as fh:
|
| 42 |
+
reader = csv.DictReader(fh)
|
| 43 |
+
has_flag = "osm_temporal_consistent" in (reader.fieldnames or [])
|
| 44 |
+
for row in reader:
|
| 45 |
+
hist_x.append(json.loads(row["hist_x_json"]))
|
| 46 |
+
hist_y.append(json.loads(row["hist_y_json"]))
|
| 47 |
+
fut_x.append(json.loads(row["fut_x_json"]))
|
| 48 |
+
fut_y.append(json.loads(row["fut_y_json"]))
|
| 49 |
+
keep.append(row.get("osm_temporal_consistent") == "true" if has_flag else True)
|
| 50 |
+
hist = np.stack([np.asarray(hist_x), np.asarray(hist_y)], axis=-1) # (N, T_hist, 2)
|
| 51 |
+
fut = np.stack([np.asarray(fut_x), np.asarray(fut_y)], axis=-1) # (N, T_fut, 2)
|
| 52 |
+
return hist, fut, np.asarray(keep, dtype=bool)
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
def constant_velocity_predict(hist: np.ndarray, n_fut: int) -> np.ndarray:
|
| 56 |
+
"""Extrapolate from the last two history points (last-step velocity)."""
|
| 57 |
+
v = hist[:, -1] - hist[:, -2] # (N, 2)
|
| 58 |
+
steps = np.arange(1, n_fut + 1) # (T_fut,)
|
| 59 |
+
return hist[:, -1:] + steps[None, :, None] * v[:, None, :]
|
| 60 |
+
|
| 61 |
+
|
| 62 |
+
def displacement_errors(pred: np.ndarray, target: np.ndarray) -> tuple[float, float]:
|
| 63 |
+
"""Per-step euclidean error, then ADE (mean across time) and FDE (last step)."""
|
| 64 |
+
d = np.linalg.norm(pred - target, axis=-1) # (N, T_fut)
|
| 65 |
+
return float(d.mean()), float(d[:, -1].mean())
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
def main():
|
| 69 |
+
ap = argparse.ArgumentParser()
|
| 70 |
+
ap.add_argument("--csv", required=True,
|
| 71 |
+
help="path to <subset>/{split}/part-000.csv.gz")
|
| 72 |
+
ap.add_argument("--apply-default-filter", action="store_true", default=True,
|
| 73 |
+
help="drop rows where osm_temporal_consistent != 'true' (paper default)")
|
| 74 |
+
args = ap.parse_args()
|
| 75 |
+
|
| 76 |
+
hist, fut, keep = load_split(args.csv)
|
| 77 |
+
if args.apply_default_filter:
|
| 78 |
+
hist, fut = hist[keep], fut[keep]
|
| 79 |
+
n_fut = fut.shape[1]
|
| 80 |
+
pred = constant_velocity_predict(hist, n_fut)
|
| 81 |
+
ade, fde = displacement_errors(pred, fut)
|
| 82 |
+
|
| 83 |
+
print(f"samples: {len(fut)}")
|
| 84 |
+
print(f"ADE: {ade:.1f} m FDE: {fde:.1f} m")
|
| 85 |
+
|
| 86 |
+
|
| 87 |
+
if __name__ == "__main__":
|
| 88 |
+
main()
|
meteo_features/osm_dma.geojson
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
meteo_features/osm_noaa.geojson
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
meteo_features/osm_norway.geojson
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"ports": [{"lat": 60.3240225, "lon": 6.6564131, "name": "", "harbour": "", "osm_id": 24035278}, {"lat": 59.4910139, "lon": 10.6866636, "name": "Store Brevik marina", "harbour": "", "osm_id": 217715022}, {"lat": 57.6205719, "lon": 11.9230691, "name": "Hov\u00e5s hamn", "harbour": "", "osm_id": 287520870}, {"lat": 57.5774486, "lon": 11.9249939, "name": "Killingsholmens Marina", "harbour": "", "osm_id": 290793500}, {"lat": 57.6617715, "lon": 11.8440603, "name": "Inre Saltholmen", "harbour": "", "osm_id": 291750658}, {"lat": 59.8641977, "lon": 10.6702975, "name": "Oksval", "harbour": "", "osm_id": 293028404}, {"lat": 59.8527839, "lon": 10.6835, "name": "Ursvikbukta", "harbour": "", "osm_id": 293400188}, {"lat": 59.6538196, "lon": 10.4319198, "name": "", "harbour": "yes", "osm_id": 295006618}, {"lat": 59.4242385, "lon": 8.188024, "name": "L\u00e5rdal brygge", "harbour": "", "osm_id": 297757767}, {"lat": 57.2496764, "lon": 12.1111545, "name": "Videbergs hamn", "harbour": "yes", "osm_id": 306416599}, {"lat": 57.2415134, "lon": 12.1113449, "name": "Bua Hamn", "harbour": "", "osm_id": 306416600}, {"lat": 57.6669031, "lon": 11.6544607, "name": "Fot\u00f6 g\u00e4sthamn", "harbour": "", "osm_id": 313183654}, {"lat": 57.2007359, "lon": 12.1749447, "name": "Skeat\u00e5ngens hamn", "harbour": "", "osm_id": 330442773}, {"lat": 59.2005743, "lon": 10.9446416, "name": "N\u00f8kledypet B\u00e5thavn", "harbour": "", "osm_id": 367678069}, {"lat": 58.0658686, "lon": 11.7564752, "name": "Alm\u00f6sunds Marina", "harbour": "", "osm_id": 371127690}, {"lat": 57.6264451, "lon": 11.8773838, "name": "Hammars sm\u00e5b\u00e5tshamn", "harbour": "", "osm_id": 375576092}, {"lat": 57.6463397, "lon": 11.8527724, "name": "Fiskeb\u00e4cks sm\u00e5b\u00e5tshamn", "harbour": "", "osm_id": 375580391}, {"lat": 57.6602682, "lon": 11.8372681, "name": "Yttre Saltholmen", "harbour": "", "osm_id": 375581911}, {"lat": 57.63847, "lon": 11.8690735, "name": "\u00d6nnereds B\u00e5tf\u00f6rening", "harbour": "", "osm_id": 375614431}, {"lat": 58.8698669, "lon": 5.5643704, "name": "", "harbour": "yes", "osm_id": 389996428}, {"lat": 58.917279, "lon": 5.5108044, "name": "", "harbour": "yes", "osm_id": 420434832}, {"lat": 58.5878032, "lon": 8.937942, "name": "Stranna", "harbour": "", "osm_id": 435772215}, {"lat": 60.8607123, "lon": 7.1196066, "name": "Fl\u00e5m Marina", "harbour": "", "osm_id": 444087845}, {"lat": 59.9309974, "lon": 5.8558198, "name": "\u00d8yro Marina", "harbour": "", "osm_id": 448138500}, {"lat": 59.9320805, "lon": 5.8567317, "name": "Uskedal B\u00e5tlag", "harbour": "", "osm_id": 448138501}, {"lat": 60.592072, "lon": 5.3646624, "name": "", "harbour": "yes", "osm_id": 450529505}, {"lat": 59.3054404, "lon": 9.3194467, "name": "Valeb\u00f8 brygge", "harbour": "", "osm_id": 452072793}, {"lat": 58.2385428, "lon": 6.6506503, "name": "", "harbour": "yes", "osm_id": 452383871}, {"lat": 57.5748571, "lon": 11.7758863, "name": "Vr\u00e5ng\u00f6 hamn", "harbour": "", "osm_id": 459667319}, {"lat": 58.2320544, "lon": 6.5337997, "name": "Kirkehavn", "harbour": "yes", "osm_id": 480151507}, {"lat": 58.2295659, "lon": 6.6765338, "name": "", "harbour": "yes", "osm_id": 480162677}, {"lat": 58.2931336, "lon": 6.6614792, "name": "Flekkefjord gjestehavn", "harbour": "yes", "osm_id": 482394765}, {"lat": 59.0336339, "lon": 10.0642864, "name": "Sm\u00e5b\u00e5tshavn", "harbour": "", "osm_id": 498319681}, {"lat": 59.0243574, "lon": 10.0963698, "name": "Sm\u00e5b\u00e5tshavn", "harbour": "", "osm_id": 498322540}, {"lat": 58.8481725, "lon": 5.5549705, "name": "", "harbour": "yes", "osm_id": 509798194}, {"lat": 57.700202, "lon": 11.7837882, "name": "Torslanda Lagun", "harbour": "", "osm_id": 546394229}, {"lat": 57.6928197, "lon": 11.7681388, "name": "Krossholmens B\u00e5tklubb", "harbour": "", "osm_id": 546574687}, {"lat": 57.6997884, "lon": 11.7364039, "name": "H\u00e4llsviks sm\u00e5b\u00e5tshamn", "harbour": "", "osm_id": 550379254}, {"lat": 58.8725573, "lon": 5.7412214, "name": "Trones", "harbour": "", "osm_id": 559823722}, {"lat": 59.1123795, "lon": 5.8324296, "name": "Nordst\u00f8", "harbour": "", "osm_id": 565183146}, {"lat": 57.5983435, "lon": 11.7919135, "name": "Dons\u00f6 g\u00e4sthamn", "harbour": "", "osm_id": 605530611}, {"lat": 58.2693882, "lon": 6.4600849, "name": "", "harbour": "yes", "osm_id": 608478757}, {"lat": 57.7721166, "lon": 11.6180009, "name": "R\u00f6r\u00f6 g\u00e4sthamn", "harbour": "", "osm_id": 615424346}, {"lat": 59.9868127, "lon": 6.0048531, "name": "Rosendal Hamn", "harbour": "", "osm_id": 618875240}, {"lat": 60.1825509, "lon": 5.4682268, "name": "Os Hamn", "harbour": "", "osm_id": 625510961}, {"lat": 57.8424064, "lon": 11.6847489, "name": "Kovikshamns Norra Sm\u00e5b\u00e5tshamn", "harbour": "yes", "osm_id": 664263258}, {"lat": 57.8531368, "lon": 11.6978376, "name": "Hjelms Bryggor", "harbour": "yes", "osm_id": 664263611}, {"lat": 59.8373068, "lon": 5.7101736, "name": "Sunde b\u00e5thavn", "harbour": "", "osm_id": 664496108}, {"lat": 57.6225244, "lon": 11.9106475, "name": "Bj\u00f6la Marina", "harbour": "", "osm_id": 667999503}, {"lat": 59.4168772, "lon": 10.4986541, "name": "Fyllinga b\u00e5thavn", "harbour": "", "osm_id": 679140414}, {"lat": 58.1436937, "lon": 7.9883855, "name": "Vestre havn", "harbour": "yes", "osm_id": 689452567}, {"lat": 59.1463665, "lon": 11.1937165, "name": "Grims\u00f8y Marine", "harbour": "", "osm_id": 746812855}, {"lat": 59.0828473, "lon": 10.9349188, "name": "Sand Marina", "harbour": "", "osm_id": 770754433}, {"lat": 59.7942251, "lon": 5.7158895, "name": "S\u00e6b\u00f8vik, Halsn\u00f8y Samfunnshus", "harbour": "", "osm_id": 808622259}, {"lat": 59.0166418, "lon": 6.0420652, "name": "J\u00f8rpeland", "harbour": "", "osm_id": 809251678}, {"lat": 59.4186959, "lon": 5.25835, "name": "", "harbour": "", "osm_id": 817296504}, {"lat": 60.0529601, "lon": 10.2702688, "name": "Stor\u00f8en B\u00e5thavner", "harbour": "", "osm_id": 833770032}, {"lat": 60.322955, "lon": 5.2732973, "name": "", "harbour": "", "osm_id": 842083350}, {"lat": 59.9108537, "lon": 10.7014514, "name": "Frognerkilens B\u00e5tforening av 1860", "harbour": "nautical_club", "osm_id": 850195741}, {"lat": 57.7464241, "lon": 11.7445777, "name": "Vikens B\u00e5tklubb", "harbour": "", "osm_id": 1034289927}, {"lat": 57.0634812, "lon": 9.9005161, "name": "Lindholm Brygge B\u00e5delaug", "harbour": "", "osm_id": 1035635309}, {"lat": 59.0013577, "lon": 5.660934, "name": "Ryggstranden b\u00e5tforening", "harbour": "", "osm_id": 1058085127}, {"lat": 58.0533434, "lon": 11.5239413, "name": "Bj\u00f6rholmens Marina", "harbour": "", "osm_id": 1162242270}, {"lat": 58.8717485, "lon": 5.7430549, "name": "Lura B\u00e5thavn", "harbour": "", "osm_id": 1244656239}, {"lat": 58.2475902, "lon": 8.3795497, "name": "Lillesand gjestehavn", "harbour": "", "osm_id": 1246262238}, {"lat": 59.6774873, "lon": 10.6199031, "name": "Dr\u00f8bak", "harbour": "", "osm_id": 1270148331}, {"lat": 59.6772393, "lon": 10.6034872, "name": "Oscarsborg gjestehavn", "harbour": "", "osm_id": 1270148363}, {"lat": 60.984407, "lon": 9.2384826, "name": "", "harbour": "", "osm_id": 1278184980}, {"lat": 58.4445389, "lon": 11.5878512, "name": "Fritidsb\u00e5tshamn", "harbour": "yes", "osm_id": 1300010478}, {"lat": 59.870486, "lon": 10.8520725, "name": "", "harbour": "", "osm_id": 1338479621}, {"lat": 59.1341291, "lon": 9.6307005, "name": "Esso Servicenter", "harbour": "", "osm_id": 1341135430}, {"lat": 58.8678923, "lon": 11.0580733, "name": "Kyrkosund", "harbour": "", "osm_id": 1348490076}, {"lat": 57.333162, "lon": 10.5324811, "name": "S\u00e6by Havn", "harbour": "yes", "osm_id": 1381017314}, {"lat": 57.7059673, "lon": 11.6620007, "name": "\u00d6cker\u00f6 Hamn", "harbour": "", "osm_id": 1381890851}, {"lat": 57.7251453, "lon": 11.6517544, "name": "\u00d6BS Klubbhamn", "harbour": "", "osm_id": 1381890852}, {"lat": 59.6765827, "lon": 10.3692998, "name": "", "harbour": "yes", "osm_id": 1469666561}, {"lat": 57.704028, "lon": 11.7112233, "name": "Hjuviks brygga", "harbour": "", "osm_id": 1477703492}, {"lat": 57.7102332, "lon": 11.7052148, "name": "Hjuviks B\u00e5tklubb", "harbour": "", "osm_id": 1477706425}, {"lat": 57.6313871, "lon": 11.608627, "name": "Vinga g\u00e4sthamn", "harbour": "", "osm_id": 1484095980}, {"lat": 57.6175521, "lon": 11.7621299, "name": "Styrs\u00f6 Sandvikshamn", "harbour": "", "osm_id": 1484105382}, {"lat": 57.7610209, "lon": 12.2521477, "name": "Lerums Segels\u00e4llskap", "harbour": "", "osm_id": 1488379171}, {"lat": 57.6931648, "lon": 11.7564536, "name": "Sm\u00e5b\u00e5tshamn", "harbour": "", "osm_id": 1492803391}, {"lat": 58.9060073, "lon": 6.0982168, "name": "Lysefjorden marina", "harbour": "", "osm_id": 1567569433}, {"lat": 58.2980985, "lon": 11.6879582, "name": "Vind\u00f6ns g\u00e4sthamn", "harbour": "", "osm_id": 1594873342}, {"lat": 58.237428, "lon": 11.5520856, "name": "Dragsmarks Varv", "harbour": "", "osm_id": 1595628834}, {"lat": 57.4552674, "lon": 11.9131126, "name": "Lerkils marina", "harbour": "", "osm_id": 1640610309}, {"lat": 57.4903456, "lon": 11.931072, "name": "Sand\u00f6 Hamn", "harbour": "", "osm_id": 1640610310}, {"lat": 59.7991171, "lon": 5.5360267, "name": "Rommetveit B\u00e5tlag", "harbour": "", "osm_id": 1667000711}, {"lat": 57.6811061, "lon": 11.648021, "name": "H\u00f6n\u00f6 Kl\u00e5va hamn", "harbour": "", "osm_id": 1673918294}, {"lat": 60.3360707, "lon": 5.3365426, "name": "Paradisbukten b\u00e5tlag", "harbour": "", "osm_id": 1709073858}, {"lat": 58.360509, "lon": 11.2467159, "name": "Kungshamns g\u00e4sthamn", "harbour": "yes", "osm_id": 1847145870}, {"lat": 59.7487371, "lon": 10.7251821, "name": "Bogenbukta", "harbour": "", "osm_id": 1874560308}, {"lat": 59.7316522, "lon": 10.5890549, "name": "Grisebukta", "harbour": "", "osm_id": 1874560310}, {"lat": 59.7244705, "lon": 10.7248889, "name": "Stakabukta", "harbour": "", "osm_id": 1874560311}, {"lat": 59.2275823, "lon": 5.8365523, "name": "Helg\u00f8ysund Marina", "harbour": "", "osm_id": 1879776781}, {"lat": 59.262435, "lon": 10.4882329, "name": "", "harbour": "", "osm_id": 1891818749}, {"lat": 57.9240736, "lon": 11.5875628, "name": "\u00c5stols Hamn", "harbour": "yes", "osm_id": 1892169300}, {"lat": 57.8843789, "lon": 11.5871369, "name": "Sm\u00e5b\u00e5tshamn", "harbour": "", "osm_id": 1892169304}, {"lat": 59.1256151, "lon": 10.9170799, "name": "Sm\u00e5b\u00e5tshavn", "harbour": "", "osm_id": 1902518535}, {"lat": 58.380414, "lon": 11.2602863, "name": "V\u00e4jerns g\u00e4sthamn", "harbour": "", "osm_id": 1955455695}, {"lat": 58.3810225, "lon": 11.2606386, "name": "Fiskhamn", "harbour": "", "osm_id": 1955457047}, {"lat": 57.9260579, "lon": 11.6186475, "name": "Stora Dyr\u00f6n, Sydhamnen", "harbour": "", "osm_id": 2114923290}, {"lat": 57.929931, "lon": 11.6017354, "name": "Stora Dyr\u00f6n, Nordhamnen", "harbour": "yes", "osm_id": 2114924151}, {"lat": 58.0734775, "lon": 11.47021, "name": "Moll\u00f6sunds g\u00e4sthamn", "harbour": "", "osm_id": 2123105474}, {"lat": 58.1119182, "lon": 7.9850115, "name": "L\u00f8viga", "harbour": "", "osm_id": 2196333501}, {"lat": 58.0129427, "lon": 11.6985918, "name": "Vallhamn", "harbour": "yes", "osm_id": 2226881009}, {"lat": 57.1252672, "lon": 8.5931276, "name": "Hanstholm Havn", "harbour": "", "osm_id": 2244875368}, {"lat": 57.5924217, "lon": 10.4291109, "name": "Aalb\u00e6k Havn", "harbour": "yes", "osm_id": 2244918037}, {"lat": 57.5950578, "lon": 9.9593022, "name": "Hirtshals Havn", "harbour": "", "osm_id": 2244918038}, {"lat": 57.5922191, "lon": 9.9562013, "name": "Hirtshals Marina", "harbour": "", "osm_id": 2244918039}, {"lat": 57.7186077, "lon": 10.5886324, "name": "Skagen Lystb\u00e5dehavn", "harbour": "yes", "osm_id": 2244918043}, {"lat": 57.4940753, "lon": 10.5035011, "name": "Strandby Lystb\u00e5dehavn", "harbour": "yes", "osm_id": 2244979908}, {"lat": 57.0378374, "lon": 9.4553637, "name": "Attrup Havn B\u00e5delaug", "harbour": "", "osm_id": 2245065190}, {"lat": 57.0283663, "lon": 9.4021066, "name": "Haverslev Havn", "harbour": "", "osm_id": 2246091372}, {"lat": 57.55057, "lon": 11.9237097, "name": "Kullaviks Hamn", "harbour": "", "osm_id": 2295510730}, {"lat": 57.6975968, "lon": 11.7693711, "name": "Sandviks sm\u00e5b\u00e5tshamn", "harbour": "", "osm_id": 2403920568}, {"lat": 57.7100716, "lon": 11.6623936, "name": "Nimbushamnen", "harbour": "yes", "osm_id": 2439312019}, {"lat": 57.7332355, "lon": 11.6697393, "name": "Bj\u00f6rk\u00f6 hamn", "harbour": "", "osm_id": 2439330710}, {"lat": 57.6825278, "lon": 11.8710166, "name": "", "harbour": "yes", "osm_id": 2439383664}, {"lat": 57.685711, "lon": 11.8908826, "name": "Nya Varvet", "harbour": "", "osm_id": 2439395466}, {"lat": 57.6876757, "lon": 11.8570344, "name": "", "harbour": "yes", "osm_id": 2439450263}, {"lat": 57.6900073, "lon": 11.8365363, "name": "", "harbour": "yes", "osm_id": 2439453280}, {"lat": 59.2122213, "lon": 10.7857097, "name": "Hank\u00f8 Yacht Club", "harbour": "", "osm_id": 2456763144}, {"lat": 57.7114014, "lon": 11.6826194, "name": "G\u00e4sthamn Kalvsund", "harbour": "", "osm_id": 2670408197}, {"lat": 57.8992109, "lon": 11.7132272, "name": "Tjuvkils hamn", "harbour": "", "osm_id": 2760681485}, {"lat": 59.6442468, "lon": 6.338564, "name": "Sauda Motorb\u00e5t Forening", "harbour": "", "osm_id": 2791789168}, {"lat": 59.0018978, "lon": 5.6597064, "name": "Ryggstranden b\u00e5tforening", "harbour": "", "osm_id": 2795678232}, {"lat": 58.6113335, "lon": 11.2905495, "name": "Sm\u00e5b\u00e5tshamn", "harbour": "", "osm_id": 2872920807}, {"lat": 58.4323363, "lon": 11.2772352, "name": "Sm\u00e5b\u00e5tshamn", "harbour": "", "osm_id": 2970496585}, {"lat": 57.7308477, "lon": 11.6580116, "name": "H\u00e4ls\u00f6 hamn", "harbour": "yes", "osm_id": 2981796804}, {"lat": 59.401231, "lon": 8.4891485, "name": "Kviteseid brygge", "harbour": "", "osm_id": 2992147657}, {"lat": 58.315406, "lon": 11.3992014, "name": "Lysekils Marina", "harbour": "", "osm_id": 3003456018}, {"lat": 58.3035672, "lon": 11.3758977, "name": "Stora Korn\u00f6 sm\u00e5b\u00e5tshamn", "harbour": "", "osm_id": 3003532989}, {"lat": 58.2675486, "lon": 11.6828613, "name": "Orust Marina", "harbour": "", "osm_id": 3027099113}, {"lat": 58.2341195, "lon": 6.5310136, "name": "Kongshavn", "harbour": "yes", "osm_id": 3063088735}, {"lat": 58.2551492, "lon": 11.5551195, "name": "Dragsmarks klosters hamn", "harbour": "", "osm_id": 3115492242}, {"lat": 59.6024266, "lon": 5.2096412, "name": "Langev\u00e5g gjestehavn", "harbour": "", "osm_id": 3123604529}, {"lat": 60.90364, "lon": 7.1760244, "name": "", "harbour": "", "osm_id": 3138601977}, {"lat": 60.1801607, "lon": 5.4681906, "name": "", "harbour": "", "osm_id": 3358657843}, {"lat": 57.0571845, "lon": 12.2701893, "name": "Tr\u00e4sl\u00f6vsl\u00e4ges sm\u00e5b\u00e5tshamn", "harbour": "", "osm_id": 3437233292}, {"lat": 57.111074, "lon": 12.2421305, "name": "Varbergs Innerhamn", "harbour": "yes", "osm_id": 3437249767}, {"lat": 57.1131948, "lon": 12.2303903, "name": "Getter\u00f6ns Sm\u00e5b\u00e5tshamn", "harbour": "yes", "osm_id": 3437249768}, {"lat": 60.7883481, "lon": 4.9418469, "name": "Mastrevik kai", "harbour": "", "osm_id": 3440649492}, {"lat": 58.2539739, "lon": 11.5016684, "name": "K\u00e4llvikens och Munkeby marina", "harbour": "", "osm_id": 3484111657}, {"lat": 57.6952544, "lon": 11.687001, "name": "Gr\u00f6t\u00f6 hamn", "harbour": "", "osm_id": 3492063798}, {"lat": 58.286677, "lon": 11.4315098, "name": "L\u00e5ngeviks sm\u00e5b\u00e5tshamn", "harbour": "", "osm_id": 3502067409}, {"lat": 58.2893123, "lon": 11.4344249, "name": "Valbodalen sm\u00e5b\u00e5tshamn", "harbour": "", "osm_id": 3502067432}, {"lat": 58.3052388, "lon": 11.4190188, "name": "Sm\u00e5b\u00e5tshamn", "harbour": "", "osm_id": 3502067458}, {"lat": 58.0344691, "lon": 11.5058716, "name": "Engewikens B\u00e5tf\u00f6rening", "harbour": "yes", "osm_id": 3506243798}, {"lat": 58.0150362, "lon": 11.7981089, "name": "Getsk\u00e4rs Marina", "harbour": "yes", "osm_id": 3507441319}, {"lat": 57.6253328, "lon": 11.9120158, "name": "GFA:s B\u00e5thamn", "harbour": "", "osm_id": 3526074542}, {"lat": 58.8948905, "lon": 11.0138288, "name": "Bopallen", "harbour": "yes", "osm_id": 3527227352}, {"lat": 57.8376709, "lon": 11.6957006, "name": "Sm\u00e5b\u00e5tshamn", "harbour": "", "osm_id": 3531554883}, {"lat": 57.5729223, "lon": 11.927516, "name": "Killingsholmens b\u00e5thamn", "harbour": "", "osm_id": 3532658369}, {"lat": 57.6656193, "lon": 11.8430176, "name": "\u00c4ngholmens Varv", "harbour": "", "osm_id": 3532677619}, {"lat": 57.8094403, "lon": 11.864052, "name": "Varvet i Sj\u00f6hed", "harbour": "", "osm_id": 3532693545}, {"lat": 57.7119259, "lon": 11.7127428, "name": "Sm\u00e5b\u00e5tshamn", "harbour": "", "osm_id": 3532711446}, {"lat": 57.7136961, "lon": 11.7126921, "name": "Sm\u00e5b\u00e5tshamn", "harbour": "", "osm_id": 3532711447}, {"lat": 57.7093601, "lon": 11.6844815, "name": "Sm\u00e5b\u00e5tshamn", "harbour": "", "osm_id": 3532718232}, {"lat": 57.9459459, "lon": 11.5364657, "name": "Kl\u00e4desholmens V\u00e4stra hamn", "harbour": "", "osm_id": 3547388897}, {"lat": 57.9516129, "lon": 11.5599416, "name": "Mossholmens Marina", "harbour": "", "osm_id": 3547388898}, {"lat": 57.9405579, "lon": 11.5785743, "name": "R\u00f6nn\u00e4ngs sm\u00e5b\u00e5tshamn", "harbour": "", "osm_id": 3547434524}, {"lat": 58.2424103, "lon": 11.4611332, "name": "Fiskeb\u00e4ckskils sm\u00e5b\u00e5tshamn", "harbour": "", "osm_id": 3547435944}, {"lat": 58.0365692, "lon": 11.762867, "name": "H\u00f6viksn\u00e4s B\u00e5tf\u00f6rening", "harbour": "", "osm_id": 3547456647}, {"lat": 58.2088679, "lon": 11.4219189, "name": "Grundsunds Marina", "harbour": "", "osm_id": 3547484766}, {"lat": 57.6741843, "lon": 11.6651536, "name": "", "harbour": "yes", "osm_id": 3563186079}, {"lat": 57.7492643, "lon": 11.6552424, "name": "Knippla g\u00e4sthamn", "harbour": "", "osm_id": 3563583594}, {"lat": 57.7575714, "lon": 11.6164939, "name": "Hyppeln g\u00e4sthamn", "harbour": "", "osm_id": 3563604312}, {"lat": 57.7106531, "lon": 11.6878416, "name": "SS Frams g\u00e4sthamn", "harbour": "", "osm_id": 3563626745}, {"lat": 57.3383147, "lon": 12.0891042, "name": "Sm\u00e5b\u00e5tshamn", "harbour": "", "osm_id": 3564509452}, {"lat": 57.3643333, "lon": 12.082014, "name": "G\u00e5rda Brygga", "harbour": "", "osm_id": 3564509880}, {"lat": 57.3869446, "lon": 12.0195176, "name": "Gottsk\u00e4rs Hamn", "harbour": "", "osm_id": 3564510168}, {"lat": 57.3932076, "lon": 12.0237859, "name": "Lindgrens Hamn", "harbour": "", "osm_id": 3564510781}, {"lat": 57.2817399, "lon": 12.1380787, "name": "", "harbour": "yes", "osm_id": 3564591746}, {"lat": 57.4045724, "lon": 12.0305958, "name": "Stora Enen", "harbour": "", "osm_id": 3564612223}, {"lat": 57.6952228, "lon": 11.6656376, "name": "Hedens hamn", "harbour": "", "osm_id": 3564672102}, {"lat": 57.6151896, "lon": 11.7972142, "name": "Styrs\u00f6 Bratten", "harbour": "", "osm_id": 3564709397}, {"lat": 57.6472763, "lon": 11.7852246, "name": "Sm\u00e5b\u00e5tshamn", "harbour": "", "osm_id": 3564709398}, {"lat": 57.3412126, "lon": 12.0965938, "name": "Br\u00e5tavikens B\u00e5ts\u00e4llskap", "harbour": "", "osm_id": 3567460414}, {"lat": 57.5273073, "lon": 11.9255775, "name": "Maleviks hamn", "harbour": "", "osm_id": 3567478463}, {"lat": 57.6939949, "lon": 11.815412, "name": "Sm\u00e5b\u00e5tshamn", "harbour": "", "osm_id": 3583542034}, {"lat": 57.9435742, "lon": 11.542775, "name": "", "harbour": "yes", "osm_id": 3586120098}, {"lat": 57.1159122, "lon": 12.2370007, "name": "Farehamnen", "harbour": "yes", "osm_id": 3586746266}, {"lat": 58.2740708, "lon": 11.4512858, "name": "Sm\u00e5b\u00e5tshamn Kolholmarna/Gr\u00f6t\u00f6", "harbour": "", "osm_id": 3587420744}, {"lat": 58.2698839, "lon": 11.4373581, "name": "Havsbadets g\u00e4sthamn", "harbour": "", "osm_id": 3587426816}, {"lat": 57.6449588, "lon": 11.8580806, "name": "", "harbour": "yes", "osm_id": 3587671914}, {"lat": 57.6999459, "lon": 11.6404592, "name": "R\u00f6ds hamn", "harbour": "", "osm_id": 3587740124}, {"lat": 57.6985676, "lon": 11.6406927, "name": "", "harbour": "yes", "osm_id": 3587740125}, {"lat": 58.0210218, "lon": 11.5177027, "name": "Kyrkesunds \u00d6stra Hamn", "harbour": "", "osm_id": 3591050994}, {"lat": 59.7558079, "lon": 5.7480464, "name": "Arnavik", "harbour": "", "osm_id": 3623011551}, {"lat": 59.2175693, "lon": 10.9179557, "name": "Fjeldberg b\u00e5thavn", "harbour": "", "osm_id": 3638020925}, {"lat": 58.1845838, "lon": 11.4662827, "name": "Ell\u00f6s g\u00e4sthamn", "harbour": "", "osm_id": 3640752946}, {"lat": 58.1503728, "lon": 11.4134425, "name": "Stockens g\u00e4sthamn", "harbour": "", "osm_id": 3640912546}, {"lat": 57.5863138, "lon": 11.921706, "name": "Skintebo hamn", "harbour": "", "osm_id": 3660998630}, {"lat": 58.1224046, "lon": 11.4423404, "name": "H\u00e4lleviksstrands Hamn", "harbour": "", "osm_id": 3667339255}, {"lat": 57.6210756, "lon": 11.7738958, "name": "Styrs\u00f6 T\u00e5ngen", "harbour": "", "osm_id": 3680942427}, {"lat": 58.2761721, "lon": 11.4228969, "name": "Norra Hamnens g\u00e4sthamn", "harbour": "", "osm_id": 3681316450}, {"lat": 57.2993941, "lon": 12.1630827, "name": "Sm\u00e5b\u00e5tshamn", "harbour": "", "osm_id": 3682869148}, {"lat": 57.3161007, "lon": 12.1456648, "name": "Sm\u00e5b\u00e5tshamn", "harbour": "", "osm_id": 3682879687}, {"lat": 57.1372291, "lon": 12.2182793, "name": "S\u00f6dra Hamnen", "harbour": "", "osm_id": 3683010224}], "fairways": [{"type": "way", "coords": [[57.1876667, 11.6481667], [57.0897594, 11.7113334], [56.9915928, 11.7745], [56.8931667, 11.8376667], [56.8826667, 11.7826667], [56.9810927, 11.7193889], [57.0792593, 11.6561111], [57.1771667, 11.5928333], [57.1876667, 11.6481667]], "tags": {"name": "DW Kattegat North", "seamark:fairway:information": "DW Kattegat North", "seamark:fairway:minimum_depth": "19", "seamark:type": "fairway"}, "osm_id": 775428557}, {"type": "way", "coords": [[57.644505, 11.70516], [57.644367, 11.687672], [57.6428395, 11.6878438], [57.640141, 11.687522], [57.6376602, 11.6864276], [57.635018, 11.684797], [57.586685, 11.634135], [57.567346, 11.644006], [57.571857, 11.656344], [57.6063482, 11.6700554], [57.6140494, 11.6794109], [57.638418, 11.704473], [57.644505, 11.70516]], "tags": {"seamark:fairway:information": "DW", "seamark:fairway:minimum_depth": "22.9", "seamark:type": "fairway"}, "osm_id": 1077029174}], "tss": [{"type": "way", "coords": [[61.9, 4.1041667], [61.7297444, 4.1041667], [61.5585428, 4.1041667], [61.3863915, 4.1041667], [61.2132868, 4.1041667], [61.039225, 4.1041667], [60.8642024, 4.1041667], [60.6882153, 4.1041667], [60.5112602, 4.1041667], [60.3333333, 4.1041667]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 179980704}, {"type": "way", "coords": [[59.0833333, 3.9745], [58.975, 3.9745]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 179980706}, {"type": "way", "coords": [[60.3333333, 3.97], [60.25, 3.9705]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 179980708}, {"type": "way", "coords": [[60.3333333, 4.2383333], [60.25, 4.2378333]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 179980713}, {"type": "way", "coords": [[59.0833333, 4.2338333], [59.0288333, 4.2338333], [58.975, 4.3325]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 179980720}, {"type": "way", "coords": [[59.0833333, 4.072], [58.9971667, 4.072], [58.962, 4.1366667], [59.0833333, 4.1366667], [59.0833333, 4.072]], "tags": {"seamark:name": "TSS Off Utsira", "seamark:type": "separation_zone"}, "osm_id": 179980721}, {"type": "way", "coords": [[60.3333333, 4.0705], [60.25, 4.0708333], [60.25, 4.1375], [60.3333333, 4.1378333], [60.3333333, 4.0705]], "tags": {"seamark:name": "TSS Off Sotra", "seamark:type": "separation_zone"}, "osm_id": 179980723}, {"type": "way", "coords": [[60.25, 4.1041667], [60.0858125, 4.1041667], [59.9208031, 4.1041667], [59.7549692, 4.1041667], [59.5883079, 4.1041667], [59.4208167, 4.1041667], [59.2524927, 4.1041667], [59.0833333, 4.1041667]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 179980726}, {"type": "way", "coords": [[58.4921667, 9.4846667], [58.555, 9.5888333]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 179984909}, {"type": "way", "coords": [[58.405, 9.6766667], [58.4678333, 9.7808333]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 179984917}, {"type": "way", "coords": [[57.7388333, 6.4466667], [57.6913333, 6.5505], [57.6886667, 6.6875]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 179984919}, {"type": "way", "coords": [[58.0445, 8.7083333], [58.0621667, 8.772], [58.0908333, 8.8188333]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 179984921}, {"type": "way", "coords": [[57.7958333, 7.7091667], [57.793, 7.828], [57.8233333, 7.9333333]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 179984923}, {"type": "way", "coords": [[57.9266667, 8.8258333], [57.9561667, 8.9303333], [58.003, 9.0078333]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 179984928}, {"type": "way", "coords": [[58.4066667, 5.3695], [58.3733333, 5.4291667], [58.3438333, 5.495]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 179984931}, {"type": "way", "coords": [[58.3158333, 5.1846667], [58.2766667, 5.2545], [58.2421667, 5.3316667]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 179984933}, {"type": "way", "coords": [[57.6641667, 7.6953333], [57.6596667, 7.8828333], [57.6653333, 8.0041667]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 179984940}, {"type": "way", "coords": [[57.84, 6.6086667], [57.8225, 6.6466667], [57.8213333, 6.6975]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 179984941}, {"type": "way", "coords": [[57.745, 7.9205], [57.8255685, 8.2027222], [57.9059573, 8.4849444], [57.9861667, 8.7671667]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 179984943}, {"type": "way", "coords": [[58.0463333, 8.9133333], [58.1811198, 9.1354444], [58.3153972, 9.3575556], [58.4491667, 9.5796667]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 179984944}, {"type": "way", "coords": [[57.7555, 6.6928333], [57.7471131, 7.0283889], [57.7387242, 7.3639444], [57.7303333, 7.6995]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 179984945}, {"type": "way", "coords": [[58.4378333, 9.6046667], [58.5005, 9.7088333], [58.5221667, 9.6611667], [58.4595, 9.557], [58.4378333, 9.6046667]], "tags": {"seamark:name": "TSS Off Ris\u00f8r", "seamark:type": "separation_zone"}, "osm_id": 179984947}, {"type": "way", "coords": [[57.7133333, 7.6978333], [57.7091667, 7.862], [57.7478333, 7.9986667], [57.7425, 7.8461667], [57.7463333, 7.7016667], [57.7133333, 7.6978333]], "tags": {"seamark:name": "TSS Off Ryvingen", "seamark:type": "separation_zone"}, "osm_id": 179984953}, {"type": "way", "coords": [[58.35, 5.2538333], [58.313, 5.32], [58.2803333, 5.393], [58.3055, 5.4336667], [58.337, 5.3633333], [58.3728333, 5.3], [58.35, 5.2538333]], "tags": {"seamark:name": "TSS Off Egersund", "seamark:type": "separation_zone"}, "osm_id": 179984954}, {"type": "way", "coords": [[58.2933333, 5.4141667], [58.1931673, 5.6368333], [58.0927181, 5.8595], [57.9919852, 6.0821667], [57.8909683, 6.3048333], [57.7896667, 6.5275]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 179984955}, {"type": "way", "coords": [[57.777, 6.5071667], [57.7405, 6.5866667], [57.7383333, 6.6913333], [57.7716667, 6.6936667], [57.7733333, 6.6105], [57.802, 6.5478333], [57.777, 6.5071667]], "tags": {"seamark:name": "TSS Off Farsund", "seamark:type": "separation_zone"}, "osm_id": 179984956}, {"type": "way", "coords": [[57.9708333, 8.782], [57.9958333, 8.8708333], [58.0361667, 8.937], [58.0578333, 8.8896667], [58.0225, 8.8313333], [58.0003333, 8.7525], [57.9708333, 8.782]], "tags": {"seamark:name": "TSS Off Lillesand", "seamark:type": "separation_zone"}, "osm_id": 179984957}, {"type": "way", "coords": [[57.7783333, 10.8343333], [57.7538333, 10.8768333], [57.7481667, 10.8655], [57.7733333, 10.8216667], [57.7786667, 10.8223333], [57.7783333, 10.8343333]], "tags": {"seamark:name": "TSS Skagen East", "seamark:separation_zone:category": "imo_adopted", "seamark:type": "separation_zone"}, "osm_id": 775389707}, {"type": "way", "coords": [[57.8065, 10.8915], [57.7821667, 10.9338333], [57.7763333, 10.9225], [57.8008333, 10.8801667], [57.8065, 10.8915]], "tags": {"seamark:name": "TSS Skagen East", "seamark:separation_zone:category": "imo_adopted", "seamark:type": "separation_zone"}, "osm_id": 775389708}, {"type": "way", "coords": [[57.8291667, 10.9371667], [57.8048333, 10.9795]], "tags": {"name": "TSS Skagen East", "seamark:separation_zone:category": "imo_adopted", "seamark:type": "separation_boundary"}, "osm_id": 775389709}, {"type": "way", "coords": [[57.8688333, 10.5666667], [57.8688333, 10.629]], "tags": {"name": "TSS Skagen West", "seamark:separation_zone:category": "imo_adopted", "seamark:type": "separation_boundary"}, "osm_id": 775389710}, {"type": "way", "coords": [[57.7973333, 10.5373333], [57.7973333, 10.5996667], [57.7943333, 10.5983333], [57.7908333, 10.597], [57.7908333, 10.5346667], [57.7973333, 10.5373333]], "tags": {"name": "TSS Skagen West", "seamark:separation_zone:category": "imo_adopted", "seamark:type": "separation_zone"}, "osm_id": 775389711}, {"type": "way", "coords": [[57.8411667, 10.5553333], [57.825, 10.5486667], [57.825, 10.611], [57.8411667, 10.6176667], [57.8411667, 10.5553333]], "tags": {"seamark:name": "TSS Skagen West", "seamark:separation_zone:category": "imo_adopted", "seamark:type": "separation_zone"}, "osm_id": 775389712}, {"type": "way", "coords": [[57.23, 11.827], [57.2155, 11.8516667], [57.212, 11.8536667]], "tags": {"name": "TSS Fladen", "seamark:separation_zone:category": "imo_adopted", "seamark:type": "separation_boundary"}, "osm_id": 775392701}, {"type": "way", "coords": [[57.2568333, 11.8805], [57.2423333, 11.9051667], [57.2245, 11.9228333]], "tags": {"name": "TSS Fladen", "seamark:separation_zone:category": "imo_adopted", "seamark:type": "separation_boundary"}, "osm_id": 775392702}, {"type": "way", "coords": [[57.2446667, 11.8561667], [57.2301667, 11.8808333], [57.2186667, 11.8915], [57.2175, 11.8851667], [57.2276667, 11.876], [57.2421667, 11.8513333], [57.2446667, 11.8561667]], "tags": {"seamark:name": "TSS Fladen", "seamark:separation_zone:category": "imo_adopted", "seamark:type": "separation_zone"}, "osm_id": 775392704}, {"type": "way", "coords": [[59.0910495, 5.5151746], [59.096481, 5.509956]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 1119383461}, {"type": "way", "coords": [[59.1011863, 5.5285216], [59.0957556, 5.5337401]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 1119383463}, {"type": "way", "coords": [[59.0934588, 5.5246791], [59.0988899, 5.5194605], [59.0994789, 5.5217846], [59.0940479, 5.5270032], [59.0934588, 5.5246791]], "tags": {"seamark:type": "separation_zone"}, "osm_id": 1119383464}, {"type": "way", "coords": [[59.1229904, 5.4684877], [59.1415076, 5.5008459]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 1119383472}, {"type": "way", "coords": [[59.1749637, 5.3455997], [59.1750033, 5.3481981], [59.1573992, 5.3492205], [59.1573595, 5.3466221], [59.1749637, 5.3455997]], "tags": {"seamark:type": "separation_zone"}, "osm_id": 1119383475}, {"type": "way", "coords": [[59.1749717, 5.3298497], [59.1569676, 5.3276181]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 1119383476}, {"type": "way", "coords": [[59.1577377, 5.3668212], [59.1749607, 5.3636884]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 1119383477}, {"type": "way", "coords": [[59.0864606, 5.345267], [59.1050472, 5.4086423]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 1119383478}, {"type": "way", "coords": [[59.081983, 5.333408], [59.0818835, 5.3335942], [59.0817908, 5.3337932], [59.0817053, 5.3340041], [59.0816273, 5.3342258], [59.0815574, 5.3344574], [59.0814957, 5.3346977], [59.0814426, 5.3349456], [59.0813983, 5.3352], [59.081363, 5.3354597], [59.0813369, 5.3357235], [59.0813201, 5.3359902], [59.0813127, 5.3362584], [59.0813148, 5.336527], [59.0813262, 5.3367947], [59.081347, 5.3370603], [59.0813771, 5.3373224], [59.0814163, 5.33758], [59.0814644, 5.3378318], [59.0815213, 5.3380766], [59.0815866, 5.3383132], [59.08166, 5.3385407], [59.0817412, 5.3387578], [59.0818299, 5.3389637], [59.0819256, 5.3391573], [59.0820279, 5.3393377], [59.0821362, 5.3395042], [59.0822501, 5.3396558], [59.0823691, 5.339792], [59.0824926, 5.3399121], [59.08262, 5.3400155], [59.0827507, 5.3401017], [59.0828841, 5.3401704], [59.0830196, 5.3402211], [59.0831566, 5.3402538], [59.0832945, 5.3402682], [59.0834325, 5.3402642], [59.08357, 5.3402419], [59.0837065, 5.3402014], [59.0838412, 5.3401429], [59.0839735, 5.3400666], [59.0841028, 5.339973], [59.0842286, 5.3398623], [59.0843502, 5.3397352], [59.0844671, 5.3395923], [59.0845786, 5.3394342], [59.0846844, 5.3392616], [59.0847839, 5.3390754], [59.0848766, 5.3388764], [59.0849621, 5.3386655], [59.08504, 5.3384438], [59.08511, 5.3382122], [59.0851716, 5.3379719], [59.0852248, 5.337724], [59.0852691, 5.3374696], [59.0853043, 5.3372099], [59.0853304, 5.3369461], [59.0853472, 5.3366794], [59.0853546, 5.3364112], [59.0853525, 5.3361426], [59.0853411, 5.3358749], [59.0853203, 5.3356093], [59.0852902, 5.3353471], [59.085251, 5.3350896], [59.0852029, 5.3348378], [59.0851461, 5.334593], [59.0850808, 5.3343563], [59.0850073, 5.3341289], [59.0849261, 5.3339117], [59.0848374, 5.3337059], [59.0847418, 5.3335123], [59.0846395, 5.3333318], [59.0845312, 5.3331654], [59.0844173, 5.3330137], [59.0842983, 5.3328776], [59.0841748, 5.3327575], [59.0840475, 5.3326541], [59.0839167, 5.3325679], [59.0837833, 5.3324992], [59.0836478, 5.3324485], [59.0835108, 5.3324158], [59.083373, 5.3324014], [59.083235, 5.3324054], [59.0830974, 5.3324277], [59.082961, 5.3324682], [59.0828263, 5.3325267], [59.0826939, 5.332603], [59.0825646, 5.3326966], [59.0824388, 5.3328073], [59.0823172, 5.3329344], [59.0822003, 5.3330773], [59.0820887, 5.3332354], [59.081983, 5.333408]], "tags": {"seamark:separation_zone:category": "imo_adopted", "seamark:type": "separation_zone"}, "osm_id": 1119383483}, {"type": "way", "coords": [[59.0708282, 5.2935165], [59.0807333, 5.326395]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 1119383484}, {"type": "way", "coords": [[59.0686527, 5.296011], [59.0499802, 5.2326894], [59.0537155, 5.2280009], [59.0730035, 5.2910221], [59.0708282, 5.2935165], [59.0686527, 5.296011]], "tags": {"seamark:separation_zone:category": "imo_adopted", "seamark:type": "separation_zone"}, "osm_id": 1119383485}, {"type": "way", "coords": [[59.01968, 5.3438187], [59.0663033, 5.3550196]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 1119383489}, {"type": "way", "coords": [[59.0199617, 5.3279078], [59.0202047, 5.3190672], [59.0620178, 5.3278541], [59.0632919, 5.3354502], [59.0199617, 5.3279078]], "tags": {"seamark:separation_zone:category": "imo_adopted", "seamark:type": "separation_zone"}, "osm_id": 1119383490}, {"type": "way", "coords": [[59.0862567, 5.2753258], [59.0680185, 5.2136564]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 1119383493}, {"type": "way", "coords": [[59.0585316, 5.3076196], [59.0397709, 5.2429032]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 1119383494}, {"type": "way", "coords": [[59.0205526, 5.3011179], [59.0585316, 5.3076196]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 1119383495}]}
|
meteo_features/osm_piraeus.geojson
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"ports": [{"lat": 37.9626907, "lon": 23.4976751, "name": "", "harbour": "", "osm_id": 1108273564}, {"lat": 37.7182147, "lon": 23.9449553, "name": "Yachts Park \u039b\u03b1\u03c5\u03c1\u03af\u03bf\u03c5", "harbour": "", "osm_id": 1279115192}, {"lat": 38.2356244, "lon": 22.8858061, "name": "", "harbour": "", "osm_id": 1294463423}, {"lat": 38.5115222, "lon": 23.6305308, "name": "\u039d\u03ad\u03b1 \u0391\u03c1\u03c4\u03ac\u03ba\u03b7", "harbour": "", "osm_id": 1416683201}, {"lat": 37.3711023, "lon": 22.7834694, "name": "\u0386\u03b3\u03b9\u03bf\u03c2 \u0391\u03bd\u03b4\u03c1\u03ad\u03b1\u03c2", "harbour": "", "osm_id": 1473400693}, {"lat": 37.9287696, "lon": 23.6303618, "name": "\u038c\u03c1\u03bc\u03bf\u03c2 \u0391\u03c6\u03c1\u03bf\u03b4\u03af\u03c4\u03b7\u03c2", "harbour": "", "osm_id": 1662355431}, {"lat": 37.9730423, "lon": 23.3621623, "name": "", "harbour": "", "osm_id": 1752694835}, {"lat": 38.089429, "lon": 23.1861446, "name": "", "harbour": "", "osm_id": 1756659755}, {"lat": 38.0002562, "lon": 23.4211642, "name": "", "harbour": "", "osm_id": 1828363613}, {"lat": 37.7135806, "lon": 23.3475999, "name": "Angistri", "harbour": "", "osm_id": 2063025342}, {"lat": 37.5196608, "lon": 22.8662526, "name": "", "harbour": "", "osm_id": 2403380502}, {"lat": 37.4780296, "lon": 22.9989081, "name": "", "harbour": "yes", "osm_id": 2662060815}, {"lat": 37.7323628, "lon": 24.0531852, "name": "", "harbour": "", "osm_id": 2720448740}, {"lat": 38.0880938, "lon": 23.9834864, "name": "", "harbour": "", "osm_id": 3009042824}, {"lat": 37.6377046, "lon": 23.1577422, "name": "", "harbour": "", "osm_id": 3166807534}, {"lat": 37.4957357, "lon": 23.4605281, "name": "Greek Sails", "harbour": "", "osm_id": 3631633241}, {"lat": 37.6622818, "lon": 23.9923361, "name": "\u039c\u03b1\u03c1\u03af\u03bd\u03b1 \u039b\u03b5\u03b3\u03c1\u03b5\u03bd\u03ce\u03bd", "harbour": "", "osm_id": 3709583283}, {"lat": 37.2454961, "lon": 22.8686548, "name": "\u039b\u03b9\u03bc\u03ad\u03bd\u03b1\u03c2 \u03a4\u03c5\u03c1\u03bf\u03cd", "harbour": "", "osm_id": 4411807952}, {"lat": 37.9434952, "lon": 23.6379647, "name": "", "harbour": "", "osm_id": 4468874983}, {"lat": 38.0109763, "lon": 22.7530864, "name": "", "harbour": "", "osm_id": 4643084430}, {"lat": 37.4146671, "lon": 22.7665412, "name": "\u039b\u03b9\u03bc\u03ac\u03bd\u03b9 \u0386\u03c3\u03c4\u03c1\u03bf\u03c5\u03c2", "harbour": "yes", "osm_id": 5075251365}, {"lat": 38.4733625, "lon": 23.6025043, "name": "\u038c\u03bc\u03b9\u03bb\u03bf\u03c2 \u03b5\u03c1\u03b1\u03c3\u03b9\u03c4\u03b5\u03c7\u03bd\u03ce\u03bd \u03b1\u03bb\u03b9\u03ad\u03c9\u03bd \"\u0386\u03b3\u03b9\u03bf\u03c2 \u03a4\u03b1\u03be\u03b9\u03ac\u03c1\u03c7\u03b7\u03c2\"", "harbour": "", "osm_id": 5274224463}, {"lat": 38.4728772, "lon": 23.6115678, "name": "", "harbour": "", "osm_id": 5274229868}, {"lat": 38.4609691, "lon": 23.5895345, "name": "Chalkis Commercial Port", "harbour": "", "osm_id": 5291742177}, {"lat": 37.6959739, "lon": 24.0620756, "name": "Olympic Marina", "harbour": "", "osm_id": 5480799656}, {"lat": 37.9787435, "lon": 22.9753417, "name": "", "harbour": "", "osm_id": 6021796484}, {"lat": 37.4975929, "lon": 23.4579295, "name": "\u03a0\u03cc\u03c1\u03bf\u03c2", "harbour": "", "osm_id": 6618569258}, {"lat": 37.4979845, "lon": 23.4566152, "name": "\u03a0\u03cc\u03c1\u03bf\u03c2", "harbour": "", "osm_id": 6618569259}, {"lat": 37.498176, "lon": 23.4550434, "name": "\u03a0\u03cc\u03c1\u03bf\u03c2", "harbour": "", "osm_id": 6618569260}, {"lat": 38.47231, "lon": 23.5996321, "name": "\u038c\u03bc\u03b9\u03bb\u03bf\u03c2 \u03c8\u03b1\u03c1\u03ac\u03b4\u03c9\u03bd \u039a\u03b1\u03bd\u03b1\u03c0\u03af\u03c4\u03c3\u03b1\u03c2 \"\u039f \u03a0\u03bf\u03c3\u03b5\u03b9\u03b4\u03ce\u03bd\"", "harbour": "", "osm_id": 7319759029}, {"lat": 38.0598019, "lon": 23.0996597, "name": "\u039c\u03b1\u03c1\u03af\u03bd\u03b1 \u039c\u03b1\u03c5\u03c1\u03bf\u03bb\u03af\u03bc\u03bd\u03b7\u03c2 \u039a\u03c9\u03bd/\u03bd\u03bf\u03c2 \u03a3\u03ba\u03bf\u03cd\u03c6\u03bf\u03c2", "harbour": "", "osm_id": 7640224695}, {"lat": 37.5832046, "lon": 22.7471441, "name": "\u039b\u03b9\u03bc\u03ac\u03bd\u03b9 \u039d\u03ad\u03b1\u03c2 \u039a\u03af\u03bf\u03c5", "harbour": "", "osm_id": 8325934512}, {"lat": 37.6839595, "lon": 23.3231476, "name": "", "harbour": "", "osm_id": 9055939724}, {"lat": 37.8786703, "lon": 24.0154568, "name": "\u039c\u03b1\u03c1\u03af\u03bd\u03b1 \u0391\u03c5\u03bb\u03b1\u03ba\u03af\u03bf\u03c5", "harbour": "", "osm_id": 9724937640}, {"lat": 38.1168239, "lon": 23.9907387, "name": "", "harbour": "", "osm_id": 10971492206}, {"lat": 37.9160397, "lon": 23.0092924, "name": "", "harbour": "yes", "osm_id": 12271331725}, {"lat": 37.9574564, "lon": 23.6127604, "name": "\u0399\u03c7\u03b8\u03c5\u03cc\u03c3\u03ba\u03b1\u03bb\u03b1 \u039a\u03b5\u03c1\u03b1\u03c4\u03c3\u03b9\u03bd\u03af\u03bf\u03c5", "harbour": "", "osm_id": 156707705}, {"lat": 38.1807979, "lon": 24.059924, "name": "\u0391\u03b3\u03af\u03b1 \u039c\u03b1\u03c1\u03af\u03bd\u03b1", "harbour": "", "osm_id": 278197743}, {"lat": 38.230097, "lon": 24.0995231, "name": "", "harbour": "", "osm_id": 278203909}, {"lat": 37.973535, "lon": 24.0113651, "name": "\u0394\u03b7\u03bc\u03bf\u03c4\u03b9\u03ba\u03cc \u039d\u03b1\u03c5\u03c4\u03b1\u03b8\u03bb\u03b7\u03c4\u03b9\u03ba\u03cc \u039a\u03ad\u03bd\u03c4\u03c1\u03bf", "harbour": "", "osm_id": 337354645}, {"lat": 37.879118, "lon": 23.4610726, "name": "", "harbour": "", "osm_id": 353391940}, {"lat": 37.9439793, "lon": 22.933897, "name": "", "harbour": "yes", "osm_id": 366860502}, {"lat": 37.8162587, "lon": 23.8026964, "name": "\u0399\u03c7\u03b8\u03c5\u03cc\u03c3\u03ba\u03b1\u03bb\u03b1 \u0392\u03ac\u03c1\u03ba\u03b9\u03b6\u03b1\u03c2", "harbour": "", "osm_id": 385571909}, {"lat": 37.8708361, "lon": 23.7342089, "name": "4\u03b7 \u039c\u03b1\u03c1\u03af\u03bd\u03b1 \u0393\u03bb\u03c5\u03c6\u03ac\u03b4\u03b1\u03c2", "harbour": "", "osm_id": 387683635}, {"lat": 37.6956059, "lon": 24.060045, "name": "", "harbour": "", "osm_id": 401875577}, {"lat": 37.5015188, "lon": 23.4529711, "name": "Stadthafen Poros", "harbour": "", "osm_id": 403503778}, {"lat": 37.690877, "lon": 23.4528665, "name": "\u03a0\u03ad\u03c1\u03b4\u03b9\u03ba\u03b1", "harbour": "", "osm_id": 404738101}, {"lat": 37.8387658, "lon": 23.7614538, "name": "\u039c\u03b1\u03c1\u03af\u03bd\u03b1 \u039d\u03b1\u03c5\u03c4\u03b9\u03ba\u03bf\u03cd \u0391\u03b8\u03bb\u03b7\u03c4\u03b9\u03ba\u03bf\u03cd \u039f\u03bc\u03af\u03bb\u03bf\u03c5 \u0392\u03bf\u03cd\u03bb\u03b1\u03c2", "harbour": "", "osm_id": 409047914}, {"lat": 37.8864447, "lon": 24.0138017, "name": "", "harbour": "", "osm_id": 410587733}, {"lat": 37.8097274, "lon": 23.7753051, "name": "", "harbour": "", "osm_id": 412149510}, {"lat": 37.8102797, "lon": 23.781717, "name": "", "harbour": "", "osm_id": 412149512}, {"lat": 37.5350967, "lon": 22.9170486, "name": "", "harbour": "", "osm_id": 425105927}, {"lat": 37.4780662, "lon": 22.9989441, "name": "Harbor of Iria", "harbour": "", "osm_id": 425106298}, {"lat": 37.8770659, "lon": 23.4414271, "name": "", "harbour": "", "osm_id": 438285717}, {"lat": 38.3904036, "lon": 23.7936445, "name": "", "harbour": "", "osm_id": 445619465}, {"lat": 38.3224384, "lon": 23.795032, "name": "", "harbour": "", "osm_id": 446235566}, {"lat": 38.2954736, "lon": 23.8986645, "name": "", "harbour": "", "osm_id": 446290851}, {"lat": 38.046464, "lon": 23.9995303, "name": "", "harbour": "", "osm_id": 446291241}, {"lat": 38.3857914, "lon": 23.8003358, "name": "", "harbour": "", "osm_id": 447675545}, {"lat": 37.814769, "lon": 23.8419196, "name": "", "harbour": "", "osm_id": 452292422}, {"lat": 37.9319823, "lon": 23.682552, "name": "\u039c\u03b1\u03c1\u03af\u03bd\u03b1 \u03a6\u03bb\u03bf\u03af\u03c3\u03b2\u03bf\u03c5", "harbour": "", "osm_id": 452862736}, {"lat": 37.9012746, "lon": 23.7179107, "name": "", "harbour": "", "osm_id": 452862738}, {"lat": 37.8948771, "lon": 23.7164658, "name": "", "harbour": "", "osm_id": 452862739}, {"lat": 37.8597064, "lon": 23.7488585, "name": "1\u03b7 \u039c\u03b1\u03c1\u03af\u03bd\u03b1 \u0393\u03bb\u03c5\u03c6\u03ac\u03b4\u03b1\u03c2", "harbour": "", "osm_id": 452862741}, {"lat": 37.8613306, "lon": 23.7461082, "name": "2\u03b7 \u039c\u03b1\u03c1\u03af\u03bd\u03b1 \u0393\u03bb\u03c5\u03c6\u03ac\u03b4\u03b1\u03c2", "harbour": "", "osm_id": 452862745}, {"lat": 37.7099548, "lon": 24.0617481, "name": "\u039b\u03b9\u03bc\u03ac\u03bd\u03b9 \u039b\u03b1\u03c5\u03c1\u03af\u03bf\u03c5", "harbour": "yes", "osm_id": 452865531}, {"lat": 37.9373748, "lon": 23.6603425, "name": "\u039c\u03b9\u03ba\u03c1\u03bf\u03bb\u03af\u03bc\u03b1\u03bd\u03bf", "harbour": "", "osm_id": 452865532}, {"lat": 37.9399454, "lon": 23.6691255, "name": "\u039c\u03b1\u03c1\u03af\u03bd\u03b1 \u0391\u03b8\u03b7\u03bd\u03ce\u03bd", "harbour": "", "osm_id": 452865534}, {"lat": 37.9378351, "lon": 23.6865592, "name": "\u039d\u03b1\u03c5\u03c4\u03b1\u03b8\u03bb\u03b7\u03c4\u03b9\u03ba\u03ae \u03bc\u03b1\u03c1\u03af\u03bd\u03b1 \u0394\u03ae\u03bc\u03bf\u03c5 \u039a\u03b1\u03bb\u03bb\u03b9\u03b8\u03ad\u03b1\u03c2", "harbour": "", "osm_id": 452865548}, {"lat": 37.9606201, "lon": 23.5790884, "name": "", "harbour": "", "osm_id": 452935106}, {"lat": 37.8772933, "lon": 23.7269943, "name": "\u039c\u03b1\u03c1\u03af\u03bd\u03b1 \u0391\u03b3\u03af\u03bf\u03c5 \u039a\u03bf\u03c3\u03bc\u03ac", "harbour": "", "osm_id": 452935107}, {"lat": 37.9412637, "lon": 22.9358862, "name": "", "harbour": "", "osm_id": 465049152}, {"lat": 37.3477877, "lon": 23.4571082, "name": "", "harbour": "yes", "osm_id": 473489681}, {"lat": 37.3506364, "lon": 23.4658012, "name": "\u038e\u03b4\u03c1\u03b1", "harbour": "yes", "osm_id": 473490345}, {"lat": 37.3536345, "lon": 23.4848971, "name": "", "harbour": "yes", "osm_id": 473942236}, {"lat": 37.5688818, "lon": 22.7965261, "name": "\u039b\u03b9\u03bc\u03ac\u03bd\u03b9 \u039d\u03b1\u03c5\u03c0\u03bb\u03af\u03bf\u03c5", "harbour": "", "osm_id": 495500892}, {"lat": 37.92886, "lon": 24.008359, "name": "", "harbour": "", "osm_id": 500120715}, {"lat": 37.9397958, "lon": 23.538064, "name": "", "harbour": "", "osm_id": 502888344}, {"lat": 37.778146, "lon": 24.0841797, "name": "", "harbour": "", "osm_id": 566799731}, {"lat": 37.7113396, "lon": 24.0585638, "name": "Marina Lavrio", "harbour": "", "osm_id": 587661754}, {"lat": 37.9411011, "lon": 23.662796, "name": "", "harbour": "", "osm_id": 605059761}, {"lat": 37.7725284, "lon": 23.4723022, "name": "", "harbour": "", "osm_id": 613091281}, {"lat": 37.7453757, "lon": 23.4262398, "name": "Aegina Port", "harbour": "", "osm_id": 614791984}, {"lat": 37.7437641, "lon": 23.4279925, "name": "\u039b\u03b9\u03bc\u03ad\u03bd\u03b1\u03c2 \u03a3\u03ba\u03b1\u03c6\u03ce\u03bd \u0391\u03bd\u03b1\u03c8\u03c5\u03c7\u03ae\u03c2", "harbour": "", "osm_id": 614792575}, {"lat": 37.7450726, "lon": 23.4281176, "name": "\u03a0\u03b1\u03bb\u03b1\u03b9\u03cc\u03c2 \u039b\u03b9\u03bc\u03ad\u03bd\u03b1\u03c2", "harbour": "", "osm_id": 616343930}, {"lat": 37.7456622, "lon": 23.4267959, "name": "\u039b\u03b9\u03bc\u03ad\u03bd\u03b1\u03c2 \u03a8\u03b1\u03c1\u03ac\u03b4\u03c9\u03bd", "harbour": "", "osm_id": 616343931}, {"lat": 38.2812531, "lon": 24.1400408, "name": "", "harbour": "", "osm_id": 617632753}, {"lat": 38.2663659, "lon": 24.1580435, "name": "", "harbour": "", "osm_id": 617632755}, {"lat": 37.7543579, "lon": 23.9018235, "name": "", "harbour": "", "osm_id": 654070179}, {"lat": 38.3949254, "lon": 24.0443199, "name": "\u039b\u03b9\u03bc\u03ac\u03bd\u03b9 \u039a\u03b1\u03c1\u03ac\u03b2\u03bf\u03c5", "harbour": "", "osm_id": 701861459}, {"lat": 37.4150769, "lon": 23.3400737, "name": "", "harbour": "", "osm_id": 749792498}, {"lat": 37.4230729, "lon": 23.4844353, "name": "", "harbour": "", "osm_id": 753867077}, {"lat": 38.0368382, "lon": 23.5508953, "name": "", "harbour": "", "osm_id": 763486763}, {"lat": 38.0337698, "lon": 23.5468249, "name": "", "harbour": "", "osm_id": 763486764}, {"lat": 37.9218969, "lon": 23.6948287, "name": "\u03a3\u03cd\u03bb\u03bb\u03bf\u03b3\u03bf\u03c2 \u0391\u03bb\u03b5\u03b9\u03ce\u03bd \u03a0\u03b1\u03bb\u03b1\u03b9\u03bf\u03cd \u03a6\u03b1\u03bb\u03ae\u03c1\u03bf\u03c5", "harbour": "", "osm_id": 785537736}, {"lat": 37.7320788, "lon": 23.4336501, "name": "", "harbour": "", "osm_id": 836141767}, {"lat": 37.7705733, "lon": 23.4549036, "name": "\u039a\u03b1\u03b2\u03bf\u03c5\u03c1\u03cc\u03c0\u03b5\u03c4\u03c1\u03b1", "harbour": "", "osm_id": 836146122}, {"lat": 37.3269276, "lon": 23.1454785, "name": "", "harbour": "", "osm_id": 839678933}, {"lat": 37.3258987, "lon": 23.1467851, "name": "", "harbour": "", "osm_id": 839678934}, {"lat": 37.9140544, "lon": 23.7036731, "name": "\u039c\u03b1\u03c1\u03af\u03bd\u03b1 \u0391\u03bb\u03af\u03bc\u03bf\u03c5", "harbour": "", "osm_id": 885601435}, {"lat": 37.6799338, "lon": 23.1524782, "name": "\u039c\u03b1\u03c1\u03af\u03bd\u03b1 \u039d\u03ad\u03b1\u03c2 \u0395\u03c0\u03b9\u03b4\u03b1\u03cd\u03c1\u03bf\u03c5", "harbour": "", "osm_id": 987013101}, {"lat": 37.5138016, "lon": 22.8576152, "name": "\u039b\u03b9\u03bc\u03ac\u03bd\u03b9 \u03a4\u03bf\u03bb\u03bf\u03cd", "harbour": "", "osm_id": 1005016239}, {"lat": 38.4459373, "lon": 23.6047326, "name": "", "harbour": "", "osm_id": 1029249102}, {"lat": 37.4908901, "lon": 23.8987171, "name": "", "harbour": "", "osm_id": 1039385860}, {"lat": 37.52729, "lon": 22.7314009, "name": "", "harbour": "", "osm_id": 1116406541}], "fairways": [], "tss": [{"type": "way", "coords": [[37.6775281, 23.766009], [37.8450106, 23.6652447]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 195964017}, {"type": "way", "coords": [[37.8217511, 23.5971414], [37.6539982, 23.6982518]], "tags": {"seamark:type": "separation_boundary"}, "osm_id": 195964018}, {"type": "way", "coords": [[37.8369702, 23.6465544], [37.8271579, 23.6180212], [37.6607231, 23.7182083], [37.6711158, 23.7463968], [37.8369702, 23.6465544]], "tags": {"seamark:type": "separation_zone"}, "osm_id": 195964019}]}
|
scripts/extras/build_meteo_features.py
ADDED
|
@@ -0,0 +1,688 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""EnvShip-Bench v2 — Phase 1+2 builder for weather/sea-state/port/TSS context.
|
| 3 |
+
|
| 4 |
+
Produces 15 new scalar columns per sample (see CC_prompt_lab/prompt_add_wather_wave_prot.md
|
| 5 |
+
for the full schema). Reads existing anchor CSVs, queries
|
| 6 |
+
Open-Meteo Archive + Marine APIs (free, ERA5-derived) plus Overpass for
|
| 7 |
+
OSM seamarks, caches everything to parquet/geojson, and writes
|
| 8 |
+
augmented main CSVs.
|
| 9 |
+
|
| 10 |
+
Idempotent — re-running skips cached cells, geometry pulls, and CSVs
|
| 11 |
+
that already carry the new columns.
|
| 12 |
+
"""
|
| 13 |
+
from __future__ import annotations
|
| 14 |
+
|
| 15 |
+
import argparse
|
| 16 |
+
import csv
|
| 17 |
+
import gzip
|
| 18 |
+
import json
|
| 19 |
+
import math
|
| 20 |
+
import os
|
| 21 |
+
import sys
|
| 22 |
+
import time
|
| 23 |
+
from collections import defaultdict
|
| 24 |
+
from concurrent.futures import ThreadPoolExecutor, as_completed
|
| 25 |
+
from pathlib import Path
|
| 26 |
+
from typing import Iterable
|
| 27 |
+
|
| 28 |
+
import numpy as np
|
| 29 |
+
import pandas as pd
|
| 30 |
+
import requests
|
| 31 |
+
from shapely.geometry import LineString, Point, Polygon, shape
|
| 32 |
+
from shapely.strtree import STRtree
|
| 33 |
+
|
| 34 |
+
# ---------------------------------------------------------------------------
|
| 35 |
+
ROOT = Path(__file__).resolve().parent.parent.parent
|
| 36 |
+
CACHE_DIR = ROOT / "_meteo_cache"
|
| 37 |
+
WEATHER_DIR = CACHE_DIR / "weather"
|
| 38 |
+
MARINE_DIR = CACHE_DIR / "marine"
|
| 39 |
+
OSM_DIR = CACHE_DIR / "osm"
|
| 40 |
+
SUMMARY_PATH = CACHE_DIR / "meteo_build_summary.json"
|
| 41 |
+
|
| 42 |
+
ARCHIVE_URL = "https://archive-api.open-meteo.com/v1/archive"
|
| 43 |
+
MARINE_URL = "https://marine-api.open-meteo.com/v1/marine"
|
| 44 |
+
OVERPASS_URLS = [
|
| 45 |
+
"https://overpass-api.de/api/interpreter",
|
| 46 |
+
"https://overpass.openstreetmap.fr/api/interpreter",
|
| 47 |
+
]
|
| 48 |
+
|
| 49 |
+
WEATHER_VARS = [
|
| 50 |
+
"wind_speed_10m", "wind_direction_10m",
|
| 51 |
+
"temperature_2m", "surface_pressure", "cloud_cover",
|
| 52 |
+
]
|
| 53 |
+
MARINE_VARS = [
|
| 54 |
+
"wave_height", "wave_direction", "wave_period",
|
| 55 |
+
"swell_wave_height",
|
| 56 |
+
]
|
| 57 |
+
|
| 58 |
+
GRID_DEG = 0.25 # ERA5-matched
|
| 59 |
+
|
| 60 |
+
NEW_COLS = [
|
| 61 |
+
"met_wind_speed_mps", "met_wind_dir_deg", "met_wind_rel_heading_deg",
|
| 62 |
+
"met_temperature_c", "met_pressure_hpa", "met_cloud_cover_pct",
|
| 63 |
+
"sea_wave_height_m", "sea_wave_dir_deg", "sea_wave_period_s", "sea_swell_wave_height_m",
|
| 64 |
+
"port_nearest_dist_km", "port_nearest_name",
|
| 65 |
+
"in_fairway", "dist_to_fairway_m", "in_tss",
|
| 66 |
+
]
|
| 67 |
+
|
| 68 |
+
SUBSETS = {
|
| 69 |
+
"DMA": {
|
| 70 |
+
"root": "/mnt/nfs/kun/DeepJSCC/ship_trajectory_datesets",
|
| 71 |
+
"hf_dir_a": "track_a_short-term_Cross-domain_Datasets/dma_track_v1",
|
| 72 |
+
"hf_dir_b": "track_b_medium-term_Cross-domain_Datasets/dma/standard_track_v1",
|
| 73 |
+
},
|
| 74 |
+
"NOAA": {
|
| 75 |
+
"root": "/mnt/nfs/kun/DeepJSCC/NOAA_ship_trajectory_datasets",
|
| 76 |
+
"hf_dir_a": "track_a_short-term_Cross-domain_Datasets/noaa_track_v1",
|
| 77 |
+
"hf_dir_b": "track_b_medium-term_Cross-domain_Datasets/noaa/standard_track_v1",
|
| 78 |
+
},
|
| 79 |
+
"Piraeus": {
|
| 80 |
+
"root": "Piraeus_ship_trajectory_datasets",
|
| 81 |
+
"hf_dir_a": "track_a_short-term_Cross-domain_Datasets/piraeus_track_v1",
|
| 82 |
+
"hf_dir_b": "track_b_medium-term_Cross-domain_Datasets/piraeus/standard_track_v1",
|
| 83 |
+
},
|
| 84 |
+
"Norway": {
|
| 85 |
+
"root": "norway_ship_trajectory_datasets",
|
| 86 |
+
"hf_dir_a": "track_a_short-term_Cross-domain_Datasets/norway_track_v1",
|
| 87 |
+
"hf_dir_b": "track_b_medium-term_Cross-domain_Datasets/norway/standard_track_v1",
|
| 88 |
+
},
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
# ---------------------------------------------------------------------------
|
| 92 |
+
# Utilities
|
| 93 |
+
# ---------------------------------------------------------------------------
|
| 94 |
+
|
| 95 |
+
def log(msg: str) -> None:
|
| 96 |
+
print(f"[{time.strftime('%H:%M:%S')}] {msg}", flush=True)
|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
def cell_of(lat: float, lon: float, grid: float = GRID_DEG) -> tuple[float, float]:
|
| 100 |
+
return (round(lat / grid) * grid, round(lon / grid) * grid)
|
| 101 |
+
|
| 102 |
+
|
| 103 |
+
def cell_id(lat: float, lon: float) -> str:
|
| 104 |
+
return f"{lat:+.3f}_{lon:+.3f}"
|
| 105 |
+
|
| 106 |
+
|
| 107 |
+
def month_key(ts: str) -> str:
|
| 108 |
+
"""ts in form 2025-09-04T09:47:20+00:00 → '2025-09'."""
|
| 109 |
+
return ts[:7]
|
| 110 |
+
|
| 111 |
+
|
| 112 |
+
def month_bounds(ym: str) -> tuple[str, str]:
|
| 113 |
+
from datetime import date, timedelta
|
| 114 |
+
y, m = ym.split("-")
|
| 115 |
+
first = date(int(y), int(m), 1)
|
| 116 |
+
nxt = date(int(y)+1, 1, 1) if m == "12" else date(int(y), int(m)+1, 1)
|
| 117 |
+
last = nxt - timedelta(days=1)
|
| 118 |
+
return first.isoformat(), last.isoformat()
|
| 119 |
+
|
| 120 |
+
|
| 121 |
+
def haversine_km(lat1, lon1, lat2, lon2) -> float:
|
| 122 |
+
R = 6371.0
|
| 123 |
+
rl1, rl2 = math.radians(lat1), math.radians(lat2)
|
| 124 |
+
dlat = math.radians(lat2 - lat1); dlon = math.radians(lon2 - lon1)
|
| 125 |
+
a = math.sin(dlat/2)**2 + math.cos(rl1)*math.cos(rl2)*math.sin(dlon/2)**2
|
| 126 |
+
return 2 * R * math.asin(math.sqrt(a))
|
| 127 |
+
|
| 128 |
+
|
| 129 |
+
def signed_angle_deg(a: float, b: float) -> float:
|
| 130 |
+
"""Shortest signed angle a-b in [-180, 180]."""
|
| 131 |
+
d = (a - b + 540.0) % 360.0 - 180.0
|
| 132 |
+
return d
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
# ---------------------------------------------------------------------------
|
| 136 |
+
# Cell enumeration
|
| 137 |
+
# ---------------------------------------------------------------------------
|
| 138 |
+
|
| 139 |
+
def _load_anchors_from(anchors_csv: Path) -> list[dict]:
|
| 140 |
+
out = []
|
| 141 |
+
if not anchors_csv.exists():
|
| 142 |
+
return out
|
| 143 |
+
with anchors_csv.open() as fh:
|
| 144 |
+
for row in csv.DictReader(fh):
|
| 145 |
+
try:
|
| 146 |
+
lat = float(row["anchor_lat"]); lon = float(row["anchor_lon"])
|
| 147 |
+
if lat == 0 and lon == 0:
|
| 148 |
+
continue
|
| 149 |
+
out.append({
|
| 150 |
+
"sample_id": row["sample_id"],
|
| 151 |
+
"lat": lat,
|
| 152 |
+
"lon": lon,
|
| 153 |
+
"ts": row["hist_end_ts"],
|
| 154 |
+
})
|
| 155 |
+
except Exception:
|
| 156 |
+
pass
|
| 157 |
+
return out
|
| 158 |
+
|
| 159 |
+
|
| 160 |
+
def load_anchors(root: str) -> list[dict]:
|
| 161 |
+
"""Load Track-A anchors for a subset (sample_id → lat/lon/ts)."""
|
| 162 |
+
return _load_anchors_from(Path(root) / "multi_type_mini_bench_build/standard_track_v1/context_v1/environment/anchors/all_anchors.csv")
|
| 163 |
+
|
| 164 |
+
|
| 165 |
+
def load_anchors_track_b(subset_name: str) -> list[dict]:
|
| 166 |
+
"""Load Track-B anchors for a subset."""
|
| 167 |
+
return _load_anchors_from(ROOT / "track_b" / subset_name / "multi_type_mini_bench_build/standard_track_v1/context_v1/environment/anchors/all_anchors.csv")
|
| 168 |
+
|
| 169 |
+
|
| 170 |
+
# ---------------------------------------------------------------------------
|
| 171 |
+
# Open-Meteo fetch
|
| 172 |
+
# ---------------------------------------------------------------------------
|
| 173 |
+
|
| 174 |
+
def _save_pq(df: pd.DataFrame, path: Path) -> None:
|
| 175 |
+
path.parent.mkdir(parents=True, exist_ok=True)
|
| 176 |
+
df.to_parquet(path, index=False)
|
| 177 |
+
|
| 178 |
+
|
| 179 |
+
def fetch_open_meteo(url: str, lat: float, lon: float, start: str, end: str,
|
| 180 |
+
hourly: list[str], retries: int = 3, sleep_s: float = 1.0) -> pd.DataFrame | None:
|
| 181 |
+
params = {
|
| 182 |
+
"latitude": lat, "longitude": lon,
|
| 183 |
+
"start_date": start, "end_date": end,
|
| 184 |
+
"hourly": ",".join(hourly),
|
| 185 |
+
"timezone": "UTC",
|
| 186 |
+
}
|
| 187 |
+
last_err = None
|
| 188 |
+
for attempt in range(retries):
|
| 189 |
+
try:
|
| 190 |
+
r = requests.get(url, params=params, timeout=60)
|
| 191 |
+
if r.status_code == 429:
|
| 192 |
+
time.sleep(60); continue
|
| 193 |
+
r.raise_for_status()
|
| 194 |
+
j = r.json()
|
| 195 |
+
h = j.get("hourly", {})
|
| 196 |
+
if not h or "time" not in h:
|
| 197 |
+
return None
|
| 198 |
+
df = pd.DataFrame(h)
|
| 199 |
+
df["time"] = pd.to_datetime(df["time"], utc=True)
|
| 200 |
+
time.sleep(sleep_s)
|
| 201 |
+
return df
|
| 202 |
+
except Exception as e:
|
| 203 |
+
last_err = e
|
| 204 |
+
time.sleep(min(30.0, 2 ** attempt))
|
| 205 |
+
log(f"[open-meteo] FAIL ({lat:.3f},{lon:.3f},{start}): {last_err}")
|
| 206 |
+
return None
|
| 207 |
+
|
| 208 |
+
|
| 209 |
+
def fetch_cell_months(cell_months: set[tuple[float,float,str]],
|
| 210 |
+
base_dir: Path, url: str, hourly: list[str],
|
| 211 |
+
max_workers: int = 4) -> None:
|
| 212 |
+
base_dir.mkdir(parents=True, exist_ok=True)
|
| 213 |
+
pending = []
|
| 214 |
+
for lat, lon, ym in cell_months:
|
| 215 |
+
cache = base_dir / ym / f"{cell_id(lat, lon)}.parquet"
|
| 216 |
+
if cache.exists() and cache.stat().st_size > 0:
|
| 217 |
+
continue
|
| 218 |
+
pending.append((lat, lon, ym, cache))
|
| 219 |
+
if not pending:
|
| 220 |
+
return
|
| 221 |
+
log(f"[fetch] {base_dir.name}: {len(pending):,} cell-months pending")
|
| 222 |
+
t0 = time.time()
|
| 223 |
+
done = 0
|
| 224 |
+
def _task(lat, lon, ym, cache):
|
| 225 |
+
start, end = month_bounds(ym)
|
| 226 |
+
df = fetch_open_meteo(url, lat, lon, start, end, hourly)
|
| 227 |
+
if df is not None:
|
| 228 |
+
_save_pq(df, cache)
|
| 229 |
+
return df is not None
|
| 230 |
+
with ThreadPoolExecutor(max_workers=max_workers) as ex:
|
| 231 |
+
futures = [ex.submit(_task, *p) for p in pending]
|
| 232 |
+
for f in as_completed(futures):
|
| 233 |
+
done += 1
|
| 234 |
+
if done % 50 == 0:
|
| 235 |
+
eta = (time.time()-t0)/done * (len(pending)-done)
|
| 236 |
+
log(f" {done}/{len(pending)} done eta {eta:.0f}s")
|
| 237 |
+
log(f"[fetch] {base_dir.name} done in {time.time()-t0:.0f}s")
|
| 238 |
+
|
| 239 |
+
|
| 240 |
+
# ---------------------------------------------------------------------------
|
| 241 |
+
# OSM ports + fairways via Overpass
|
| 242 |
+
# ---------------------------------------------------------------------------
|
| 243 |
+
|
| 244 |
+
def overpass_query(query: str, retries: int = 3) -> dict | None:
|
| 245 |
+
last_err = None
|
| 246 |
+
for url in OVERPASS_URLS:
|
| 247 |
+
for attempt in range(retries):
|
| 248 |
+
try:
|
| 249 |
+
r = requests.post(url, data=query.encode("utf-8"),
|
| 250 |
+
headers={"Content-Type":"text/plain",
|
| 251 |
+
"User-Agent":"EnvShip-Bench/v2 meteo build"},
|
| 252 |
+
timeout=120)
|
| 253 |
+
if r.status_code == 429:
|
| 254 |
+
time.sleep(60); continue
|
| 255 |
+
r.raise_for_status()
|
| 256 |
+
return r.json()
|
| 257 |
+
except Exception as e:
|
| 258 |
+
last_err = e
|
| 259 |
+
time.sleep(min(20.0, 5 * (attempt + 1)))
|
| 260 |
+
log(f"[overpass] FAILED: {last_err}")
|
| 261 |
+
return None
|
| 262 |
+
|
| 263 |
+
|
| 264 |
+
def fetch_osm_layers(name: str, bbox: tuple[float,float,float,float],
|
| 265 |
+
anchor_cells: set | None = None) -> dict:
|
| 266 |
+
"""Return {'ports': [{...}], 'fairways': [{...}], 'tss': [{...}]}.
|
| 267 |
+
|
| 268 |
+
For subsets with a wide bbox (NOAA), use the actual anchor 0.25° cells
|
| 269 |
+
grouped into 5° super-bins → only query bboxes where samples exist.
|
| 270 |
+
Avoids hundreds of empty-ocean chunks.
|
| 271 |
+
"""
|
| 272 |
+
s, w, n, e = bbox
|
| 273 |
+
layers = {"ports": [], "fairways": [], "tss": []}
|
| 274 |
+
out_dir = OSM_DIR
|
| 275 |
+
out_dir.mkdir(parents=True, exist_ok=True)
|
| 276 |
+
cache = out_dir / f"{name.lower()}.geojson"
|
| 277 |
+
if cache.exists() and cache.stat().st_size > 100:
|
| 278 |
+
try:
|
| 279 |
+
return json.loads(cache.read_text())
|
| 280 |
+
except Exception:
|
| 281 |
+
pass
|
| 282 |
+
|
| 283 |
+
# Default: one bbox covering everything.
|
| 284 |
+
boxes = [(s, w, n, e)]
|
| 285 |
+
is_wide = (e - w) > 30 or (n - s) > 30
|
| 286 |
+
if is_wide and anchor_cells:
|
| 287 |
+
# Group 0.25° cells into 5° bins; one bbox per non-empty bin (with small pad).
|
| 288 |
+
bins: dict[tuple[float,float], list[tuple[float,float]]] = defaultdict(list)
|
| 289 |
+
for la, lo in anchor_cells:
|
| 290 |
+
bins[(round(la/5)*5, round(lo/5)*5)].append((la, lo))
|
| 291 |
+
boxes = []
|
| 292 |
+
for _, cells in bins.items():
|
| 293 |
+
lats = [c[0] for c in cells]; lons = [c[1] for c in cells]
|
| 294 |
+
boxes.append((min(lats) - 0.25, min(lons) - 0.25,
|
| 295 |
+
max(lats) + 0.5, max(lons) + 0.5))
|
| 296 |
+
log(f"[osm:{name}] wide bbox → {len(boxes)} anchor-clustered sub-boxes")
|
| 297 |
+
elif is_wide:
|
| 298 |
+
# Fallback: uniform split
|
| 299 |
+
lat_steps = max(1, int(math.ceil((n - s) / 10)))
|
| 300 |
+
lon_steps = max(1, int(math.ceil((e - w) / 10)))
|
| 301 |
+
boxes = []
|
| 302 |
+
for i in range(lat_steps):
|
| 303 |
+
for j in range(lon_steps):
|
| 304 |
+
ss = s + (n - s) * i / lat_steps
|
| 305 |
+
nn = s + (n - s) * (i + 1) / lat_steps
|
| 306 |
+
ww = w + (e - w) * j / lon_steps
|
| 307 |
+
ee = w + (e - w) * (j + 1) / lon_steps
|
| 308 |
+
boxes.append((ss, ww, nn, ee))
|
| 309 |
+
log(f"[osm:{name}] wide bbox → {len(boxes)} uniform chunks")
|
| 310 |
+
|
| 311 |
+
for idx, (ss, ww, nn, ee) in enumerate(boxes, 1):
|
| 312 |
+
log(f"[osm:{name}] chunk {idx}/{len(boxes)} bbox=({ss:.2f},{ww:.2f},{nn:.2f},{ee:.2f})")
|
| 313 |
+
# 1) ports
|
| 314 |
+
q_port = f"""[out:json][timeout:120];
|
| 315 |
+
(
|
| 316 |
+
way["harbour"~"yes|sea|marina|fishing"]({ss},{ww},{nn},{ee});
|
| 317 |
+
way["seamark:type"="harbour"]({ss},{ww},{nn},{ee});
|
| 318 |
+
way["landuse"="harbour"]({ss},{ww},{nn},{ee});
|
| 319 |
+
node["harbour"~"yes|sea|marina"]({ss},{ww},{nn},{ee});
|
| 320 |
+
node["seamark:type"="harbour"]({ss},{ww},{nn},{ee});
|
| 321 |
+
);
|
| 322 |
+
out tags center 200;"""
|
| 323 |
+
j = overpass_query(q_port)
|
| 324 |
+
if j:
|
| 325 |
+
for el in j.get("elements", []):
|
| 326 |
+
lat = el.get("lat") or el.get("center", {}).get("lat")
|
| 327 |
+
lon = el.get("lon") or el.get("center", {}).get("lon")
|
| 328 |
+
if lat is None or lon is None: continue
|
| 329 |
+
tags = el.get("tags", {})
|
| 330 |
+
layers["ports"].append({
|
| 331 |
+
"lat": lat, "lon": lon,
|
| 332 |
+
"name": tags.get("name", ""),
|
| 333 |
+
"harbour": tags.get("harbour", ""),
|
| 334 |
+
"osm_id": el.get("id"),
|
| 335 |
+
})
|
| 336 |
+
# 2) fairways
|
| 337 |
+
q_fw = f"""[out:json][timeout:120];
|
| 338 |
+
(
|
| 339 |
+
way["seamark:type"="fairway"]({ss},{ww},{nn},{ee});
|
| 340 |
+
relation["seamark:type"="fairway"]({ss},{ww},{nn},{ee});
|
| 341 |
+
);
|
| 342 |
+
out geom 500;"""
|
| 343 |
+
j = overpass_query(q_fw)
|
| 344 |
+
if j:
|
| 345 |
+
for el in j.get("elements", []):
|
| 346 |
+
if el.get("type") == "way":
|
| 347 |
+
geom = el.get("geometry", [])
|
| 348 |
+
if len(geom) >= 2:
|
| 349 |
+
coords = [(g["lat"], g["lon"]) for g in geom]
|
| 350 |
+
layers["fairways"].append({"type":"way","coords":coords,
|
| 351 |
+
"tags":el.get("tags",{}),
|
| 352 |
+
"osm_id":el.get("id")})
|
| 353 |
+
# 3) TSS
|
| 354 |
+
q_tss = f"""[out:json][timeout:120];
|
| 355 |
+
(
|
| 356 |
+
way["seamark:type"~"separation_zone|separation_line|separation_boundary"]({ss},{ww},{nn},{ee});
|
| 357 |
+
relation["seamark:type"~"separation_zone|separation_line|separation_boundary"]({ss},{ww},{nn},{ee});
|
| 358 |
+
);
|
| 359 |
+
out geom 500;"""
|
| 360 |
+
j = overpass_query(q_tss)
|
| 361 |
+
if j:
|
| 362 |
+
for el in j.get("elements", []):
|
| 363 |
+
if el.get("type") == "way":
|
| 364 |
+
geom = el.get("geometry", [])
|
| 365 |
+
if len(geom) >= 2:
|
| 366 |
+
coords = [(g["lat"], g["lon"]) for g in geom]
|
| 367 |
+
layers["tss"].append({"type":"way","coords":coords,
|
| 368 |
+
"tags":el.get("tags",{}),
|
| 369 |
+
"osm_id":el.get("id")})
|
| 370 |
+
|
| 371 |
+
cache.write_text(json.dumps(layers))
|
| 372 |
+
log(f"[osm:{name}] ports={len(layers['ports'])} fairways={len(layers['fairways'])} tss={len(layers['tss'])}")
|
| 373 |
+
return layers
|
| 374 |
+
|
| 375 |
+
|
| 376 |
+
# ---------------------------------------------------------------------------
|
| 377 |
+
# Build local-meter STRtree from layers for distance queries
|
| 378 |
+
# ---------------------------------------------------------------------------
|
| 379 |
+
|
| 380 |
+
def build_geom_index(layers: dict) -> dict:
|
| 381 |
+
"""Return {'port_tree': STRtree, 'port_items': [...], 'fairway_tree': STRtree,
|
| 382 |
+
'fairway_items': [...], 'tss_tree': STRtree, 'tss_items': [...]}.
|
| 383 |
+
Geometries are in (lon, lat) deg space (shapely treats them as planar).
|
| 384 |
+
Distance computed via haversine in the query.
|
| 385 |
+
"""
|
| 386 |
+
out = {}
|
| 387 |
+
# ports — points
|
| 388 |
+
port_pts = []
|
| 389 |
+
for p in layers.get("ports", []):
|
| 390 |
+
port_pts.append((Point(p["lon"], p["lat"]), p))
|
| 391 |
+
if port_pts:
|
| 392 |
+
out["port_tree"] = STRtree([g for g,_ in port_pts])
|
| 393 |
+
out["port_items"] = [m for _,m in port_pts]
|
| 394 |
+
else:
|
| 395 |
+
out["port_tree"], out["port_items"] = None, []
|
| 396 |
+
# fairways — lines
|
| 397 |
+
fw_items = []
|
| 398 |
+
for f in layers.get("fairways", []):
|
| 399 |
+
coords = [(lo, la) for la, lo in f["coords"]]
|
| 400 |
+
try:
|
| 401 |
+
fw_items.append((LineString(coords), f))
|
| 402 |
+
except Exception:
|
| 403 |
+
continue
|
| 404 |
+
if fw_items:
|
| 405 |
+
out["fairway_tree"] = STRtree([g for g,_ in fw_items])
|
| 406 |
+
out["fairway_items"] = [m for _,m in fw_items]
|
| 407 |
+
else:
|
| 408 |
+
out["fairway_tree"], out["fairway_items"] = None, []
|
| 409 |
+
# TSS — polygons or lines
|
| 410 |
+
tss_items = []
|
| 411 |
+
for t in layers.get("tss", []):
|
| 412 |
+
coords = [(lo, la) for la, lo in t["coords"]]
|
| 413 |
+
try:
|
| 414 |
+
if coords[0] == coords[-1] and len(coords) >= 4:
|
| 415 |
+
tss_items.append((Polygon(coords), t))
|
| 416 |
+
else:
|
| 417 |
+
tss_items.append((LineString(coords), t))
|
| 418 |
+
except Exception:
|
| 419 |
+
continue
|
| 420 |
+
if tss_items:
|
| 421 |
+
out["tss_tree"] = STRtree([g for g,_ in tss_items])
|
| 422 |
+
out["tss_items"] = [m for _,m in tss_items]
|
| 423 |
+
else:
|
| 424 |
+
out["tss_tree"], out["tss_items"] = None, []
|
| 425 |
+
return out
|
| 426 |
+
|
| 427 |
+
|
| 428 |
+
# ---------------------------------------------------------------------------
|
| 429 |
+
# Cell-month → cell × hour lookup
|
| 430 |
+
# ---------------------------------------------------------------------------
|
| 431 |
+
|
| 432 |
+
def load_grid_for_subset(base_dir: Path, cell_months: set) -> dict:
|
| 433 |
+
"""Return {(round(lat,3), round(lon,3)) → DataFrame indexed by hour}."""
|
| 434 |
+
out = {}
|
| 435 |
+
for lat, lon, ym in cell_months:
|
| 436 |
+
cache = base_dir / ym / f"{cell_id(lat,lon)}.parquet"
|
| 437 |
+
if not cache.exists():
|
| 438 |
+
continue
|
| 439 |
+
try:
|
| 440 |
+
df = pd.read_parquet(cache)
|
| 441 |
+
except Exception:
|
| 442 |
+
continue
|
| 443 |
+
df = df.set_index("time")
|
| 444 |
+
key = (round(lat, 3), round(lon, 3))
|
| 445 |
+
if key in out:
|
| 446 |
+
out[key] = pd.concat([out[key], df]).sort_index()
|
| 447 |
+
out[key] = out[key][~out[key].index.duplicated(keep='last')]
|
| 448 |
+
else:
|
| 449 |
+
out[key] = df
|
| 450 |
+
return out
|
| 451 |
+
|
| 452 |
+
|
| 453 |
+
# ---------------------------------------------------------------------------
|
| 454 |
+
# Per-sample column compute
|
| 455 |
+
# ---------------------------------------------------------------------------
|
| 456 |
+
|
| 457 |
+
def per_sample_columns(sid: str, lat: float, lon: float, ts_str: str,
|
| 458 |
+
wx: dict, mr: dict,
|
| 459 |
+
geom: dict, cog_deg: float | None) -> dict:
|
| 460 |
+
"""Return a dict of the 15 new columns for one sample."""
|
| 461 |
+
out = {c: None for c in NEW_COLS}
|
| 462 |
+
# Cell + hour
|
| 463 |
+
cell = cell_of(lat, lon)
|
| 464 |
+
key = (round(cell[0],3), round(cell[1],3))
|
| 465 |
+
ts = pd.Timestamp(ts_str).tz_convert("UTC").floor("h") if pd.Timestamp(ts_str).tzinfo else \
|
| 466 |
+
pd.Timestamp(ts_str, tz="UTC").floor("h")
|
| 467 |
+
# Weather
|
| 468 |
+
df_w = wx.get(key)
|
| 469 |
+
if df_w is not None and ts in df_w.index:
|
| 470 |
+
row = df_w.loc[ts]
|
| 471 |
+
ws_kmh = row.get("wind_speed_10m")
|
| 472 |
+
if ws_kmh is not None and not pd.isna(ws_kmh):
|
| 473 |
+
out["met_wind_speed_mps"] = float(ws_kmh) / 3.6
|
| 474 |
+
wd = row.get("wind_direction_10m")
|
| 475 |
+
if wd is not None and not pd.isna(wd):
|
| 476 |
+
out["met_wind_dir_deg"] = float(wd)
|
| 477 |
+
if cog_deg is not None:
|
| 478 |
+
out["met_wind_rel_heading_deg"] = signed_angle_deg(float(wd), cog_deg)
|
| 479 |
+
for src, dst in [("temperature_2m","met_temperature_c"),
|
| 480 |
+
("surface_pressure","met_pressure_hpa"),
|
| 481 |
+
("cloud_cover","met_cloud_cover_pct")]:
|
| 482 |
+
v = row.get(src)
|
| 483 |
+
if v is not None and not pd.isna(v):
|
| 484 |
+
out[dst] = float(v)
|
| 485 |
+
# Marine
|
| 486 |
+
df_m = mr.get(key)
|
| 487 |
+
if df_m is not None and ts in df_m.index:
|
| 488 |
+
row = df_m.loc[ts]
|
| 489 |
+
for src, dst in [("wave_height","sea_wave_height_m"),
|
| 490 |
+
("wave_direction","sea_wave_dir_deg"),
|
| 491 |
+
("wave_period","sea_wave_period_s"),
|
| 492 |
+
("swell_wave_height","sea_swell_wave_height_m")]:
|
| 493 |
+
v = row.get(src)
|
| 494 |
+
if v is not None and not pd.isna(v):
|
| 495 |
+
out[dst] = float(v)
|
| 496 |
+
# Ports
|
| 497 |
+
if geom["port_tree"] is not None:
|
| 498 |
+
pt = Point(lon, lat)
|
| 499 |
+
idxs = geom["port_tree"].query_nearest(pt)
|
| 500 |
+
if len(idxs):
|
| 501 |
+
best = None; best_d = float("inf")
|
| 502 |
+
for ii in idxs[:5]:
|
| 503 |
+
p = geom["port_items"][int(ii)]
|
| 504 |
+
d = haversine_km(lat, lon, p["lat"], p["lon"])
|
| 505 |
+
if d < best_d: best_d, best = d, p
|
| 506 |
+
if best is not None:
|
| 507 |
+
out["port_nearest_dist_km"] = float(best_d)
|
| 508 |
+
out["port_nearest_name"] = best.get("name","")
|
| 509 |
+
# Fairway
|
| 510 |
+
if geom["fairway_tree"] is not None:
|
| 511 |
+
pt = Point(lon, lat)
|
| 512 |
+
idxs = geom["fairway_tree"].query_nearest(pt)
|
| 513 |
+
if len(idxs):
|
| 514 |
+
# Distance from point to nearest fairway line (in deg space then converted)
|
| 515 |
+
best_geom = geom["fairway_items"][int(idxs[0])]
|
| 516 |
+
line = LineString([(lo, la) for la, lo in best_geom["coords"]])
|
| 517 |
+
np_pt = line.interpolate(line.project(pt))
|
| 518 |
+
d_km = haversine_km(lat, lon, np_pt.y, np_pt.x)
|
| 519 |
+
d_m = d_km * 1000.0
|
| 520 |
+
out["dist_to_fairway_m"] = float(d_m)
|
| 521 |
+
out["in_fairway"] = bool(d_m <= 100.0)
|
| 522 |
+
else:
|
| 523 |
+
out["in_fairway"] = False
|
| 524 |
+
# TSS
|
| 525 |
+
in_tss = False
|
| 526 |
+
if geom["tss_tree"] is not None:
|
| 527 |
+
pt = Point(lon, lat)
|
| 528 |
+
idxs = geom["tss_tree"].query(pt, predicate="intersects")
|
| 529 |
+
if len(idxs):
|
| 530 |
+
in_tss = True
|
| 531 |
+
out["in_tss"] = bool(in_tss)
|
| 532 |
+
return out
|
| 533 |
+
|
| 534 |
+
|
| 535 |
+
# ---------------------------------------------------------------------------
|
| 536 |
+
# CSV augmentation
|
| 537 |
+
# ---------------------------------------------------------------------------
|
| 538 |
+
|
| 539 |
+
def cog_from_row(row: dict) -> float | None:
|
| 540 |
+
"""Return the last history COG in degrees, computed from
|
| 541 |
+
hist_cog_sin_json / hist_cog_cos_json arrays."""
|
| 542 |
+
try:
|
| 543 |
+
s = json.loads(row["hist_cog_sin_json"])
|
| 544 |
+
c = json.loads(row["hist_cog_cos_json"])
|
| 545 |
+
sin = s[-1]; cos = c[-1]
|
| 546 |
+
deg = (math.degrees(math.atan2(sin, cos)) + 360.0) % 360.0
|
| 547 |
+
return deg
|
| 548 |
+
except Exception:
|
| 549 |
+
return None
|
| 550 |
+
|
| 551 |
+
|
| 552 |
+
def augment_csv(csv_in: Path, csv_out: Path, wx: dict, mr: dict, geom: dict,
|
| 553 |
+
anchor_map: dict) -> dict:
|
| 554 |
+
"""Return stats {rows, nulls_per_col, written}."""
|
| 555 |
+
nulls = {c: 0 for c in NEW_COLS}
|
| 556 |
+
n_total = 0
|
| 557 |
+
with gzip.open(csv_in, "rt", encoding="utf-8", newline="") as ih:
|
| 558 |
+
reader = csv.DictReader(ih)
|
| 559 |
+
base_fields = list(reader.fieldnames or [])
|
| 560 |
+
# Drop already-present new cols (idempotent re-run)
|
| 561 |
+
out_fields = [f for f in base_fields if f not in NEW_COLS] + NEW_COLS
|
| 562 |
+
with gzip.open(csv_out, "wt", encoding="utf-8", newline="") as oh:
|
| 563 |
+
writer = csv.DictWriter(oh, fieldnames=out_fields)
|
| 564 |
+
writer.writeheader()
|
| 565 |
+
for row in reader:
|
| 566 |
+
n_total += 1
|
| 567 |
+
sid = row["sample_id"]
|
| 568 |
+
anchor = anchor_map.get(sid)
|
| 569 |
+
if anchor is None:
|
| 570 |
+
new = {c: "" for c in NEW_COLS}
|
| 571 |
+
else:
|
| 572 |
+
cog = cog_from_row(row)
|
| 573 |
+
cols = per_sample_columns(sid, anchor["lat"], anchor["lon"],
|
| 574 |
+
anchor["ts"], wx, mr, geom, cog)
|
| 575 |
+
new = {}
|
| 576 |
+
for c in NEW_COLS:
|
| 577 |
+
v = cols.get(c)
|
| 578 |
+
if v is None or (isinstance(v, float) and math.isnan(v)):
|
| 579 |
+
new[c] = ""
|
| 580 |
+
nulls[c] += 1
|
| 581 |
+
else:
|
| 582 |
+
new[c] = v
|
| 583 |
+
base = {k: row.get(k, "") for k in out_fields if k not in NEW_COLS}
|
| 584 |
+
base.update(new)
|
| 585 |
+
writer.writerow(base)
|
| 586 |
+
return {"rows": n_total, "nulls": nulls, "written": str(csv_out)}
|
| 587 |
+
|
| 588 |
+
|
| 589 |
+
# ---------------------------------------------------------------------------
|
| 590 |
+
# Subset driver
|
| 591 |
+
# ---------------------------------------------------------------------------
|
| 592 |
+
|
| 593 |
+
def process_subset(name: str) -> dict:
|
| 594 |
+
cfg = SUBSETS[name]
|
| 595 |
+
root_a = Path(cfg["root"])
|
| 596 |
+
log(f"=== {name} ===")
|
| 597 |
+
anchors = load_anchors(cfg["root"])
|
| 598 |
+
if not anchors:
|
| 599 |
+
log(f" no anchors → skip"); return {"name": name, "skipped": True}
|
| 600 |
+
log(f" anchors loaded: {len(anchors):,}")
|
| 601 |
+
cell_months = set()
|
| 602 |
+
bbox = [180,90,-180,-90] # w,s,e,n
|
| 603 |
+
for a in anchors:
|
| 604 |
+
c = cell_of(a["lat"], a["lon"])
|
| 605 |
+
cell_months.add((c[0], c[1], month_key(a["ts"])))
|
| 606 |
+
bbox[0] = min(bbox[0], a["lon"]); bbox[1] = min(bbox[1], a["lat"])
|
| 607 |
+
bbox[2] = max(bbox[2], a["lon"]); bbox[3] = max(bbox[3], a["lat"])
|
| 608 |
+
log(f" unique cell-months: {len(cell_months):,}")
|
| 609 |
+
# Fetch weather + marine
|
| 610 |
+
fetch_cell_months(cell_months, WEATHER_DIR / name, ARCHIVE_URL, WEATHER_VARS, max_workers=4)
|
| 611 |
+
fetch_cell_months(cell_months, MARINE_DIR / name, MARINE_URL, MARINE_VARS, max_workers=4)
|
| 612 |
+
# Load grids
|
| 613 |
+
wx = load_grid_for_subset(WEATHER_DIR / name, cell_months)
|
| 614 |
+
mr = load_grid_for_subset(MARINE_DIR / name, cell_months)
|
| 615 |
+
log(f" loaded wx cells: {len(wx)} marine cells: {len(mr)}")
|
| 616 |
+
# OSM layers + STRtree
|
| 617 |
+
pad = 0.5
|
| 618 |
+
anchor_cells = {(c[0], c[1]) for (c0, c1, _) in cell_months for c in [(c0, c1)]}
|
| 619 |
+
layers = fetch_osm_layers(
|
| 620 |
+
name,
|
| 621 |
+
(bbox[1]-pad, bbox[0]-pad, bbox[3]+pad, bbox[2]+pad),
|
| 622 |
+
anchor_cells=anchor_cells,
|
| 623 |
+
)
|
| 624 |
+
geom = build_geom_index(layers)
|
| 625 |
+
anchor_map = {a["sample_id"]: a for a in anchors}
|
| 626 |
+
# Augment Track A
|
| 627 |
+
summary = {"name": name, "track_a": {}, "track_b": {}}
|
| 628 |
+
for split in ("train","val","test"):
|
| 629 |
+
in_path = root_a / f"multi_type_mini_bench_build/standard_track_v1/{split}/part-000.csv.gz"
|
| 630 |
+
if not in_path.exists():
|
| 631 |
+
log(f" TrackA/{split} missing — skip"); continue
|
| 632 |
+
out_tmp = in_path.with_suffix(".csv.gz.tmp")
|
| 633 |
+
stats = augment_csv(in_path, out_tmp, wx, mr, geom, anchor_map)
|
| 634 |
+
out_tmp.replace(in_path)
|
| 635 |
+
summary["track_a"][split] = stats
|
| 636 |
+
log(f" TrackA/{split}: {stats['rows']:,} rows, "
|
| 637 |
+
f"null_wind={stats['nulls']['met_wind_speed_mps']}, "
|
| 638 |
+
f"null_wave={stats['nulls']['sea_wave_height_m']}, "
|
| 639 |
+
f"null_port_km={stats['nulls']['port_nearest_dist_km']}")
|
| 640 |
+
# Track B (has its own anchors)
|
| 641 |
+
tb_root = ROOT / "track_b" / name / "multi_type_mini_bench_build/standard_track_v1"
|
| 642 |
+
if tb_root.exists():
|
| 643 |
+
anchors_b = load_anchors_track_b(name)
|
| 644 |
+
anchor_map_b = {a["sample_id"]: a for a in anchors_b}
|
| 645 |
+
# Add any Track-B cells/months that we did not fetch before
|
| 646 |
+
extra = set()
|
| 647 |
+
for a in anchors_b:
|
| 648 |
+
c = cell_of(a["lat"], a["lon"]); extra.add((c[0], c[1], month_key(a["ts"])))
|
| 649 |
+
new_cm = extra - cell_months
|
| 650 |
+
if new_cm:
|
| 651 |
+
log(f" TrackB extra cell-months: {len(new_cm):,}")
|
| 652 |
+
fetch_cell_months(new_cm, WEATHER_DIR/name, ARCHIVE_URL, WEATHER_VARS, max_workers=4)
|
| 653 |
+
fetch_cell_months(new_cm, MARINE_DIR/name, MARINE_URL, MARINE_VARS, max_workers=4)
|
| 654 |
+
wx.update(load_grid_for_subset(WEATHER_DIR/name, new_cm))
|
| 655 |
+
mr.update(load_grid_for_subset(MARINE_DIR/name, new_cm))
|
| 656 |
+
log(f" TrackB anchors loaded: {len(anchors_b):,}")
|
| 657 |
+
for split in ("train","val","test"):
|
| 658 |
+
in_path = tb_root / split / "part-000.csv.gz"
|
| 659 |
+
if not in_path.exists():
|
| 660 |
+
continue
|
| 661 |
+
out_tmp = in_path.with_suffix(".csv.gz.tmp")
|
| 662 |
+
stats = augment_csv(in_path, out_tmp, wx, mr, geom, anchor_map_b)
|
| 663 |
+
out_tmp.replace(in_path)
|
| 664 |
+
summary["track_b"][split] = stats
|
| 665 |
+
log(f" TrackB/{split}: {stats['rows']:,} rows, "
|
| 666 |
+
f"null_wind={stats['nulls']['met_wind_speed_mps']}, "
|
| 667 |
+
f"null_port={stats['nulls']['port_nearest_dist_km']}")
|
| 668 |
+
return summary
|
| 669 |
+
|
| 670 |
+
|
| 671 |
+
def main():
|
| 672 |
+
p = argparse.ArgumentParser()
|
| 673 |
+
p.add_argument("--subsets", nargs="+", default=list(SUBSETS.keys()))
|
| 674 |
+
p.add_argument("--skip-fetch", action="store_true",
|
| 675 |
+
help="Re-use existing parquet/geojson cache, only re-run merge.")
|
| 676 |
+
args = p.parse_args()
|
| 677 |
+
|
| 678 |
+
summaries = {}
|
| 679 |
+
for s in args.subsets:
|
| 680 |
+
if s not in SUBSETS:
|
| 681 |
+
log(f"unknown subset {s}"); continue
|
| 682 |
+
summaries[s] = process_subset(s)
|
| 683 |
+
SUMMARY_PATH.write_text(json.dumps(summaries, indent=2, default=str))
|
| 684 |
+
log(f"build summary → {SUMMARY_PATH}")
|
| 685 |
+
|
| 686 |
+
|
| 687 |
+
if __name__ == "__main__":
|
| 688 |
+
main()
|
scripts/extras/pbf_to_tile_cache.py
ADDED
|
@@ -0,0 +1,189 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Convert a Geofabrik OSM PBF extract into the per-tile Overpass-JSON
|
| 3 |
+
cache format expected by build_standard_track_context_v1 (used inside the EnvShip-Bench build pipeline).
|
| 4 |
+
|
| 5 |
+
For each tile (0.25 degree by default), emit a JSON file at:
|
| 6 |
+
<out_cache>/tiles/<TILE_ID>.json
|
| 7 |
+
|
| 8 |
+
where TILE_ID matches the convention used by the build script:
|
| 9 |
+
f"{tile_lat:+08.3f}_{tile_lon:+09.3f}"
|
| 10 |
+
|
| 11 |
+
The JSON structure mirrors the Overpass API output that the build script's
|
| 12 |
+
_parse_ways() consumes — list of {"type": "way", "id": ..., "nodes": [...],
|
| 13 |
+
"tags": {"natural":"coastline"} | {"natural":"water"} |
|
| 14 |
+
{"man_made":"pier"|"breakwater"|"groyne"|"quay"}, "geometry": [{"lat":..,
|
| 15 |
+
"lon":..}, ...]} entries inside payload["elements"].
|
| 16 |
+
|
| 17 |
+
This script extracts only the way geometry types that the build script
|
| 18 |
+
queries via Overpass — keeping the cache size small and the parse fast.
|
| 19 |
+
|
| 20 |
+
Usage
|
| 21 |
+
-----
|
| 22 |
+
python pbf_to_tile_cache.py \
|
| 23 |
+
--pbf <path.osm.pbf> \
|
| 24 |
+
--out-cache <env/osm_cache or alt path> \
|
| 25 |
+
--bbox south,west,north,east \
|
| 26 |
+
[--tiles-list <file with one TILE_ID per line>] \
|
| 27 |
+
[--tile-deg 0.25]
|
| 28 |
+
|
| 29 |
+
Either --bbox (full coverage) or --tiles-list (selective) MUST be given.
|
| 30 |
+
"""
|
| 31 |
+
from __future__ import annotations
|
| 32 |
+
|
| 33 |
+
import argparse
|
| 34 |
+
import json
|
| 35 |
+
import math
|
| 36 |
+
import os
|
| 37 |
+
import sys
|
| 38 |
+
import time
|
| 39 |
+
from collections import defaultdict
|
| 40 |
+
from pathlib import Path
|
| 41 |
+
from typing import Iterable
|
| 42 |
+
|
| 43 |
+
import osmium
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
def tile_id_for_point(lat: float, lon: float, tile_deg: float) -> str:
|
| 47 |
+
tile_lat = math.floor(lat / tile_deg) * tile_deg
|
| 48 |
+
tile_lon = math.floor(lon / tile_deg) * tile_deg
|
| 49 |
+
return f"{tile_lat:+08.3f}_{tile_lon:+09.3f}"
|
| 50 |
+
|
| 51 |
+
|
| 52 |
+
# Tags accepted, matching _make_overpass_query() in build_standard_track_context_v1 (used inside the EnvShip-Bench build pipeline)
|
| 53 |
+
def is_target_way(tags: dict) -> bool:
|
| 54 |
+
if not tags:
|
| 55 |
+
return False
|
| 56 |
+
nat = tags.get("natural", "")
|
| 57 |
+
mm = tags.get("man_made", "")
|
| 58 |
+
if nat == "coastline":
|
| 59 |
+
return True
|
| 60 |
+
if nat == "water":
|
| 61 |
+
return True
|
| 62 |
+
if mm in ("pier", "breakwater", "groyne", "quay"):
|
| 63 |
+
return True
|
| 64 |
+
return False
|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
class WayCollector(osmium.SimpleHandler):
|
| 68 |
+
"""Collect target ways with geometry into per-tile buckets.
|
| 69 |
+
|
| 70 |
+
osmium gives us node coordinates by attaching a location cache before
|
| 71 |
+
parsing. The SimpleHandler base class supports `apply_file(filename,
|
| 72 |
+
locations=True)` which fills the cache automatically.
|
| 73 |
+
"""
|
| 74 |
+
|
| 75 |
+
def __init__(self, tile_deg: float, accept_tiles: set | None = None,
|
| 76 |
+
bbox: tuple | None = None):
|
| 77 |
+
super().__init__()
|
| 78 |
+
self.tile_deg = tile_deg
|
| 79 |
+
self.accept_tiles = accept_tiles
|
| 80 |
+
self.bbox = bbox # (south, west, north, east) or None
|
| 81 |
+
self.tile_payload: dict[str, list[dict]] = defaultdict(list)
|
| 82 |
+
self.way_count = 0
|
| 83 |
+
self.kept_count = 0
|
| 84 |
+
self.t0 = time.time()
|
| 85 |
+
|
| 86 |
+
def way(self, w):
|
| 87 |
+
self.way_count += 1
|
| 88 |
+
if self.way_count % 100000 == 0:
|
| 89 |
+
sys.stderr.write(
|
| 90 |
+
f"[pbf] ways scanned={self.way_count:,} kept={self.kept_count:,} "
|
| 91 |
+
f"elapsed={time.time()-self.t0:.0f}s\n")
|
| 92 |
+
tags = {tag.k: tag.v for tag in w.tags}
|
| 93 |
+
if not is_target_way(tags):
|
| 94 |
+
return
|
| 95 |
+
try:
|
| 96 |
+
coords = []
|
| 97 |
+
for n in w.nodes:
|
| 98 |
+
# osmium WayNode -> location
|
| 99 |
+
loc = n.location
|
| 100 |
+
if loc.valid():
|
| 101 |
+
coords.append((loc.lat, loc.lon))
|
| 102 |
+
except osmium.InvalidLocationError:
|
| 103 |
+
return # unresolved node coords; skip
|
| 104 |
+
if len(coords) < 2:
|
| 105 |
+
return
|
| 106 |
+
# bbox filter
|
| 107 |
+
if self.bbox is not None:
|
| 108 |
+
s, ww, n, ee = self.bbox
|
| 109 |
+
lats = [c[0] for c in coords]; lons = [c[1] for c in coords]
|
| 110 |
+
if max(lats) < s or min(lats) > n or max(lons) < ww or min(lons) > ee:
|
| 111 |
+
return
|
| 112 |
+
# Group by tile: assign way to every tile that any node falls in
|
| 113 |
+
node_tiles = set()
|
| 114 |
+
for lat, lon in coords:
|
| 115 |
+
node_tiles.add(tile_id_for_point(lat, lon, self.tile_deg))
|
| 116 |
+
if self.accept_tiles is not None:
|
| 117 |
+
node_tiles &= self.accept_tiles
|
| 118 |
+
if not node_tiles:
|
| 119 |
+
return
|
| 120 |
+
elem = {
|
| 121 |
+
"type": "way",
|
| 122 |
+
"id": w.id,
|
| 123 |
+
"tags": tags,
|
| 124 |
+
"geometry": [{"lat": float(lat), "lon": float(lon)} for lat, lon in coords],
|
| 125 |
+
}
|
| 126 |
+
for tid in node_tiles:
|
| 127 |
+
self.tile_payload[tid].append(elem)
|
| 128 |
+
self.kept_count += 1
|
| 129 |
+
|
| 130 |
+
|
| 131 |
+
def write_tile_jsons(payload_map: dict[str, list[dict]], out_root: Path) -> int:
|
| 132 |
+
tiles_dir = out_root / "tiles"
|
| 133 |
+
tiles_dir.mkdir(parents=True, exist_ok=True)
|
| 134 |
+
n = 0
|
| 135 |
+
for tid, elements in payload_map.items():
|
| 136 |
+
path = tiles_dir / f"{tid}.json"
|
| 137 |
+
payload = {
|
| 138 |
+
"version": 0.6,
|
| 139 |
+
"generator": "pbf_to_tile_cache.py",
|
| 140 |
+
"osm3s": {
|
| 141 |
+
"copyright":
|
| 142 |
+
"The data included in this document is from www.openstreetmap.org. "
|
| 143 |
+
"Available under the Open Database License (ODbL).",
|
| 144 |
+
},
|
| 145 |
+
"elements": elements,
|
| 146 |
+
}
|
| 147 |
+
path.write_text(json.dumps(payload))
|
| 148 |
+
n += 1
|
| 149 |
+
return n
|
| 150 |
+
|
| 151 |
+
|
| 152 |
+
def main():
|
| 153 |
+
p = argparse.ArgumentParser()
|
| 154 |
+
p.add_argument("--pbf", type=Path, required=True)
|
| 155 |
+
p.add_argument("--out-cache", type=Path, required=True,
|
| 156 |
+
help="Destination root; tiles/ subdir will be created.")
|
| 157 |
+
p.add_argument("--bbox", type=str, default=None,
|
| 158 |
+
help="south,west,north,east — restrict to this area.")
|
| 159 |
+
p.add_argument("--tiles-list", type=Path, default=None,
|
| 160 |
+
help="One TILE_ID per line; only emit these tiles. "
|
| 161 |
+
"If absent emit all tiles intersected by ways within --bbox.")
|
| 162 |
+
p.add_argument("--tile-deg", type=float, default=0.25)
|
| 163 |
+
args = p.parse_args()
|
| 164 |
+
|
| 165 |
+
accept_tiles = None
|
| 166 |
+
if args.tiles_list:
|
| 167 |
+
accept_tiles = {ln.strip() for ln in args.tiles_list.read_text().splitlines() if ln.strip()}
|
| 168 |
+
print(f"[pbf] accept_tiles loaded: {len(accept_tiles):,}", flush=True)
|
| 169 |
+
bbox = None
|
| 170 |
+
if args.bbox:
|
| 171 |
+
s, ww, n, ee = [float(x) for x in args.bbox.split(",")]
|
| 172 |
+
bbox = (s, ww, n, ee)
|
| 173 |
+
print(f"[pbf] bbox=({s},{ww},{n},{ee})", flush=True)
|
| 174 |
+
|
| 175 |
+
coll = WayCollector(args.tile_deg, accept_tiles=accept_tiles, bbox=bbox)
|
| 176 |
+
print(f"[pbf] parsing {args.pbf} size={args.pbf.stat().st_size/(1<<20):.0f} MiB", flush=True)
|
| 177 |
+
# locations=True attaches the node location cache (in-RAM dense index by id)
|
| 178 |
+
# idx="sparse_mem_array" is more compact for partial PBFs; use sparse_mmap_array
|
| 179 |
+
# for big planet files.
|
| 180 |
+
coll.apply_file(str(args.pbf), locations=True, idx="sparse_mem_array")
|
| 181 |
+
print(f"[pbf] DONE ways={coll.way_count:,} kept={coll.kept_count:,} "
|
| 182 |
+
f"tiles_with_data={len(coll.tile_payload):,}", flush=True)
|
| 183 |
+
|
| 184 |
+
written = write_tile_jsons(coll.tile_payload, args.out_cache)
|
| 185 |
+
print(f"[pbf] wrote {written:,} tile JSON files under {args.out_cache}/tiles/", flush=True)
|
| 186 |
+
|
| 187 |
+
|
| 188 |
+
if __name__ == "__main__":
|
| 189 |
+
main()
|
scripts/extras/stage_17_osm_temporal_consistency.py
ADDED
|
@@ -0,0 +1,241 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Stage 17 — OSM temporal-consistency check for standard_track samples.
|
| 3 |
+
|
| 4 |
+
The OSM rasters used to build the env context come from a single OSM
|
| 5 |
+
snapshot (typically the current 2026 OSM). When the AIS data is older
|
| 6 |
+
than the OSM snapshot (e.g. Piraeus 2019 vs OSM 2026), recently-built
|
| 7 |
+
ports/piers/breakwaters appear as land in the SDF while the original
|
| 8 |
+
AIS trajectory was on water. This stage flags such samples.
|
| 9 |
+
|
| 10 |
+
For each sample:
|
| 11 |
+
1. Decode hist+fut XY arrays back to meters relative to anchor.
|
| 12 |
+
2. Project each (x, y) onto the per-sample signed_dist_shore raster.
|
| 13 |
+
3. signed_dist_shore < 0 means the point is on land per the OSM snapshot.
|
| 14 |
+
4. Aggregate:
|
| 15 |
+
max_inland_depth_m — deepest inland penetration in meters
|
| 16 |
+
n_inland_points — number of trajectory points flagged inland
|
| 17 |
+
max_consec_inland_run — longest run of consecutive inland points
|
| 18 |
+
n_uncheckable_points — points outside the 5-km SDF patch (Track B)
|
| 19 |
+
5. Flag:
|
| 20 |
+
osm_temporal_consistent = (max_inland_depth_m <= MAX_DEPTH_M)
|
| 21 |
+
AND (max_consec_inland_run < MAX_RUN)
|
| 22 |
+
|
| 23 |
+
Defaults: MAX_DEPTH_M = 30, MAX_RUN = 3. Both are configurable.
|
| 24 |
+
|
| 25 |
+
Output: <track>/osm_temporal_consistency/<split>_flags.csv per dataset.
|
| 26 |
+
"""
|
| 27 |
+
from __future__ import annotations
|
| 28 |
+
|
| 29 |
+
import argparse
|
| 30 |
+
import csv
|
| 31 |
+
import gzip
|
| 32 |
+
import json
|
| 33 |
+
import math
|
| 34 |
+
from pathlib import Path
|
| 35 |
+
from typing import Iterable
|
| 36 |
+
|
| 37 |
+
import numpy as np
|
| 38 |
+
|
| 39 |
+
GRID = 128
|
| 40 |
+
RADIUS_M = 5000.0
|
| 41 |
+
CELL_M = (2 * RADIUS_M) / GRID # ≈ 78.125 m
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
def xy_to_cell(x: float, y: float, r: float = RADIUS_M, g: int = GRID):
|
| 45 |
+
"""Match the orientation used by build_standard_track_context_v1.py:
|
| 46 |
+
gx = floor((x + r) / (2r) * g)
|
| 47 |
+
gy = floor((r - y) / (2r) * g) # flipped vertically
|
| 48 |
+
"""
|
| 49 |
+
gx = int(math.floor((x + r) / (2 * r) * g))
|
| 50 |
+
gy = int(math.floor((r - y) / (2 * r) * g))
|
| 51 |
+
return gx, gy
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
def longest_consecutive_run(flags: Iterable[bool]) -> int:
|
| 55 |
+
"""Length of the longest run of consecutive True values."""
|
| 56 |
+
best = cur = 0
|
| 57 |
+
for f in flags:
|
| 58 |
+
if f:
|
| 59 |
+
cur += 1
|
| 60 |
+
best = max(best, cur)
|
| 61 |
+
else:
|
| 62 |
+
cur = 0
|
| 63 |
+
return best
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
def process_split(
|
| 67 |
+
track_root: Path,
|
| 68 |
+
context_root: Path,
|
| 69 |
+
split: str,
|
| 70 |
+
out_dir: Path,
|
| 71 |
+
max_depth_m: float,
|
| 72 |
+
max_run_threshold: int,
|
| 73 |
+
) -> dict:
|
| 74 |
+
"""Process a single split. Returns aggregate counters."""
|
| 75 |
+
sdf_shore_path = context_root / "environment" / "rasters" / split / "signed_dist_shore.npy"
|
| 76 |
+
sample_ids_path = context_root / "environment" / "rasters" / split / "sample_ids.npy"
|
| 77 |
+
csv_path = track_root / split / "part-000.csv.gz"
|
| 78 |
+
|
| 79 |
+
if not (sdf_shore_path.exists() and sample_ids_path.exists() and csv_path.exists()):
|
| 80 |
+
return {"split": split, "skipped": True, "reason": "missing inputs"}
|
| 81 |
+
|
| 82 |
+
sdf = np.load(sdf_shore_path) # (N, g, g) float32 meters
|
| 83 |
+
sample_ids = np.load(sample_ids_path, allow_pickle=True)
|
| 84 |
+
id_to_row = {str(sid): idx for idx, sid in enumerate(sample_ids)}
|
| 85 |
+
|
| 86 |
+
out_dir.mkdir(parents=True, exist_ok=True)
|
| 87 |
+
flag_path = out_dir / f"{split}_flags.csv"
|
| 88 |
+
fields = [
|
| 89 |
+
"sample_id",
|
| 90 |
+
"n_hist_points", "n_fut_points",
|
| 91 |
+
"n_hist_inland", "n_fut_inland", "n_inland_points",
|
| 92 |
+
"n_uncheckable_points",
|
| 93 |
+
"max_inland_depth_m", "max_consec_inland_run",
|
| 94 |
+
"any_anchor_inland", "anchor_inland_depth_m",
|
| 95 |
+
"osm_temporal_consistent",
|
| 96 |
+
]
|
| 97 |
+
total = 0
|
| 98 |
+
n_consistent = 0
|
| 99 |
+
n_uncheckable_only = 0
|
| 100 |
+
n_no_sdf = 0
|
| 101 |
+
|
| 102 |
+
with gzip.open(csv_path, "rt", encoding="utf-8", newline="") as fh, \
|
| 103 |
+
flag_path.open("w", newline="", encoding="utf-8") as out_fh:
|
| 104 |
+
reader = csv.DictReader(fh)
|
| 105 |
+
writer = csv.DictWriter(out_fh, fieldnames=fields)
|
| 106 |
+
writer.writeheader()
|
| 107 |
+
for row in reader:
|
| 108 |
+
sid = row["sample_id"]
|
| 109 |
+
row_idx = id_to_row.get(sid)
|
| 110 |
+
if row_idx is None:
|
| 111 |
+
n_no_sdf += 1
|
| 112 |
+
writer.writerow({
|
| 113 |
+
"sample_id": sid,
|
| 114 |
+
"n_hist_points": 0, "n_fut_points": 0,
|
| 115 |
+
"n_hist_inland": 0, "n_fut_inland": 0, "n_inland_points": 0,
|
| 116 |
+
"n_uncheckable_points": 0,
|
| 117 |
+
"max_inland_depth_m": 0.0, "max_consec_inland_run": 0,
|
| 118 |
+
"any_anchor_inland": "",
|
| 119 |
+
"anchor_inland_depth_m": "",
|
| 120 |
+
"osm_temporal_consistent": "", # uncheckable
|
| 121 |
+
})
|
| 122 |
+
total += 1
|
| 123 |
+
continue
|
| 124 |
+
try:
|
| 125 |
+
hist_x = json.loads(row["hist_x_json"])
|
| 126 |
+
hist_y = json.loads(row["hist_y_json"])
|
| 127 |
+
fut_x = json.loads(row["fut_x_json"])
|
| 128 |
+
fut_y = json.loads(row["fut_y_json"])
|
| 129 |
+
except Exception:
|
| 130 |
+
n_no_sdf += 1
|
| 131 |
+
continue
|
| 132 |
+
sdf_patch = sdf[row_idx] # (g, g)
|
| 133 |
+
ordered_flags = []
|
| 134 |
+
hist_inland = 0
|
| 135 |
+
fut_inland = 0
|
| 136 |
+
max_depth = 0.0
|
| 137 |
+
n_uncheckable = 0
|
| 138 |
+
for i, (x, y) in enumerate(zip(hist_x, hist_y)):
|
| 139 |
+
gx, gy = xy_to_cell(x, y)
|
| 140 |
+
if 0 <= gx < GRID and 0 <= gy < GRID:
|
| 141 |
+
shore = float(sdf_patch[gy, gx])
|
| 142 |
+
inland = shore < 0
|
| 143 |
+
if inland:
|
| 144 |
+
depth = -shore
|
| 145 |
+
max_depth = max(max_depth, depth)
|
| 146 |
+
hist_inland += 1
|
| 147 |
+
ordered_flags.append(inland)
|
| 148 |
+
else:
|
| 149 |
+
n_uncheckable += 1
|
| 150 |
+
ordered_flags.append(False)
|
| 151 |
+
for i, (x, y) in enumerate(zip(fut_x, fut_y)):
|
| 152 |
+
gx, gy = xy_to_cell(x, y)
|
| 153 |
+
if 0 <= gx < GRID and 0 <= gy < GRID:
|
| 154 |
+
shore = float(sdf_patch[gy, gx])
|
| 155 |
+
inland = shore < 0
|
| 156 |
+
if inland:
|
| 157 |
+
depth = -shore
|
| 158 |
+
max_depth = max(max_depth, depth)
|
| 159 |
+
fut_inland += 1
|
| 160 |
+
ordered_flags.append(inland)
|
| 161 |
+
else:
|
| 162 |
+
n_uncheckable += 1
|
| 163 |
+
ordered_flags.append(False)
|
| 164 |
+
n_total_pts = len(ordered_flags)
|
| 165 |
+
n_inland = hist_inland + fut_inland
|
| 166 |
+
n_check = n_total_pts - n_uncheckable
|
| 167 |
+
max_run_len = longest_consecutive_run(ordered_flags)
|
| 168 |
+
# Anchor (centre of patch) — cell (g/2, g/2)
|
| 169 |
+
anchor_shore = float(sdf_patch[GRID // 2, GRID // 2])
|
| 170 |
+
anchor_inland = anchor_shore < 0
|
| 171 |
+
consistent = (max_depth <= max_depth_m) and (max_run_len < max_run_threshold)
|
| 172 |
+
# Edge case: if every point was outside patch (uncheckable), flag as None
|
| 173 |
+
if n_check == 0:
|
| 174 |
+
consistent_str = "" # uncheckable
|
| 175 |
+
n_uncheckable_only += 1
|
| 176 |
+
else:
|
| 177 |
+
consistent_str = "true" if consistent else "false"
|
| 178 |
+
if consistent:
|
| 179 |
+
n_consistent += 1
|
| 180 |
+
writer.writerow({
|
| 181 |
+
"sample_id": sid,
|
| 182 |
+
"n_hist_points": len(hist_x), "n_fut_points": len(fut_x),
|
| 183 |
+
"n_hist_inland": hist_inland, "n_fut_inland": fut_inland,
|
| 184 |
+
"n_inland_points": n_inland,
|
| 185 |
+
"n_uncheckable_points": n_uncheckable,
|
| 186 |
+
"max_inland_depth_m": f"{max_depth:.2f}",
|
| 187 |
+
"max_consec_inland_run": max_run_len,
|
| 188 |
+
"any_anchor_inland": "true" if anchor_inland else "false",
|
| 189 |
+
"anchor_inland_depth_m": f"{(-anchor_shore):.2f}" if anchor_inland else "0.00",
|
| 190 |
+
"osm_temporal_consistent": consistent_str,
|
| 191 |
+
})
|
| 192 |
+
total += 1
|
| 193 |
+
|
| 194 |
+
return {
|
| 195 |
+
"split": split,
|
| 196 |
+
"total": total,
|
| 197 |
+
"consistent": n_consistent,
|
| 198 |
+
"uncheckable_only": n_uncheckable_only,
|
| 199 |
+
"no_sdf": n_no_sdf,
|
| 200 |
+
"flag_path": str(flag_path),
|
| 201 |
+
}
|
| 202 |
+
|
| 203 |
+
|
| 204 |
+
def main():
|
| 205 |
+
p = argparse.ArgumentParser()
|
| 206 |
+
p.add_argument("--track-root", type=Path, required=True,
|
| 207 |
+
help="standard_track_v1 root (with train/val/test/part-000.csv.gz)")
|
| 208 |
+
p.add_argument("--context-root", type=Path, required=True,
|
| 209 |
+
help="context_v1 root (containing environment/rasters/<split>/)")
|
| 210 |
+
p.add_argument("--output-dir", type=Path, required=True,
|
| 211 |
+
help="Where to write <split>_flags.csv + summary.json")
|
| 212 |
+
p.add_argument("--max-depth-m", type=float, default=30.0,
|
| 213 |
+
help="Tolerance: max inland depth allowed [m]")
|
| 214 |
+
p.add_argument("--max-run", type=int, default=3,
|
| 215 |
+
help="Tolerance: max consecutive inland points")
|
| 216 |
+
p.add_argument("--splits", nargs="+", default=["train", "val", "test"])
|
| 217 |
+
args = p.parse_args()
|
| 218 |
+
|
| 219 |
+
print(f"[stage17] track={args.track_root}")
|
| 220 |
+
print(f"[stage17] context={args.context_root}")
|
| 221 |
+
print(f"[stage17] threshold: max_depth_m={args.max_depth_m} max_run={args.max_run}")
|
| 222 |
+
all_stats = {}
|
| 223 |
+
for split in args.splits:
|
| 224 |
+
print(f"[stage17] split={split} ...", flush=True)
|
| 225 |
+
stats = process_split(args.track_root, args.context_root, split,
|
| 226 |
+
args.output_dir, args.max_depth_m, args.max_run)
|
| 227 |
+
all_stats[split] = stats
|
| 228 |
+
print(f"[stage17] {stats}", flush=True)
|
| 229 |
+
summary = {
|
| 230 |
+
"track_root": str(args.track_root),
|
| 231 |
+
"context_root": str(args.context_root),
|
| 232 |
+
"max_depth_m": args.max_depth_m,
|
| 233 |
+
"max_run": args.max_run,
|
| 234 |
+
"splits": all_stats,
|
| 235 |
+
}
|
| 236 |
+
(args.output_dir / "summary.json").write_text(json.dumps(summary, indent=2))
|
| 237 |
+
print(f"[stage17] DONE → {args.output_dir}/summary.json")
|
| 238 |
+
|
| 239 |
+
|
| 240 |
+
if __name__ == "__main__":
|
| 241 |
+
main()
|
scripts/extras/taxonomy.py
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Unified 7+1-class taxonomy for cross-domain benchmark.
|
| 2 |
+
|
| 3 |
+
Canonical classes (in benchmark order; integer ID = index):
|
| 4 |
+
0 unknown
|
| 5 |
+
1 cargo (ITU 70-79 + DMA text 'cargo', 'bulk', 'container', 'ro-ro cargo')
|
| 6 |
+
2 tanker (ITU 80-89 + DMA 'tanker')
|
| 7 |
+
3 passenger (ITU 60-69 + DMA 'passenger', 'ferry', 'cruise')
|
| 8 |
+
4 fishing (ITU 30 + DMA 'fishing')
|
| 9 |
+
5 tug (ITU 31, 32, 52 + DMA 'tug', 'tow')
|
| 10 |
+
6 service (ITU 33, 34, 50, 51, 53-59 + DMA 'pilot', 'service', 'port tender', 'sar', 'law enforcement', 'anti-pollution')
|
| 11 |
+
7 sailing_leisure (ITU 35, 36, 37 + DMA 'sailing', 'pleasure', 'yacht')
|
| 12 |
+
|
| 13 |
+
Differs from the original DMA enum (which had `ferry` as a separate class and merged
|
| 14 |
+
`sailing_leisure` into `unknown`) — unified to give cross-dataset evaluations a
|
| 15 |
+
single class axis to score against.
|
| 16 |
+
"""
|
| 17 |
+
from __future__ import annotations
|
| 18 |
+
|
| 19 |
+
import re
|
| 20 |
+
|
| 21 |
+
CLASSES = ("unknown","cargo","tanker","passenger","fishing","tug","service","sailing_leisure")
|
| 22 |
+
CLASS_TO_ID = {c: i for i, c in enumerate(CLASSES)}
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
def _normalize(text: object) -> str:
|
| 26 |
+
if text is None:
|
| 27 |
+
return ""
|
| 28 |
+
s = str(text).strip().lower()
|
| 29 |
+
return re.sub(r"\s+", " ", s)
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
def from_itu_code(value: object) -> str | None:
|
| 33 |
+
"""Map an ITU AIS ship-type code (0–99) to a unified class."""
|
| 34 |
+
if value is None:
|
| 35 |
+
return None
|
| 36 |
+
try:
|
| 37 |
+
code = int(float(str(value).strip()))
|
| 38 |
+
except (ValueError, TypeError):
|
| 39 |
+
return None
|
| 40 |
+
if not (0 <= code <= 99):
|
| 41 |
+
return None
|
| 42 |
+
if 70 <= code <= 79: return "cargo"
|
| 43 |
+
if 80 <= code <= 89: return "tanker"
|
| 44 |
+
if 60 <= code <= 69: return "passenger"
|
| 45 |
+
if code == 30: return "fishing"
|
| 46 |
+
if code in (31, 32, 52): return "tug"
|
| 47 |
+
if code in (33, 34, 50, 51, 53, 54, 55, 56, 57, 58, 59): return "service"
|
| 48 |
+
if code in (35, 36, 37): return "sailing_leisure"
|
| 49 |
+
return "unknown"
|
| 50 |
+
|
| 51 |
+
|
| 52 |
+
_TEXT_RULES = (
|
| 53 |
+
# (token-set, class) — first match wins
|
| 54 |
+
(("ro-ro cargo", "container", "containership", "bulk carrier", "bulk cargo",
|
| 55 |
+
"general cargo", "refrigerated cargo", "cargo,", "cargo "), "cargo"),
|
| 56 |
+
(("oil tanker", "products tanker", "chemical tanker", "lng tanker", "lpg tanker",
|
| 57 |
+
"shuttle tanker", "tanker"), "tanker"),
|
| 58 |
+
(("passenger/ro-ro", "passenger/cruise", "cruise ship", "ferry", "passenger ship",
|
| 59 |
+
"passenger,", "passenger "), "passenger"),
|
| 60 |
+
(("fishing vessel", "fishing", "trawler", "fish factory"), "fishing"),
|
| 61 |
+
(("tug,", "tug ", "tug/supply", "towing", "pusher"), "tug"),
|
| 62 |
+
(("pilot", "search and rescue", "sar", "anti-pollution", "law enforcement",
|
| 63 |
+
"port tender", "diving", "buoy/lighthouse", "research", "supply", "service",
|
| 64 |
+
"offshore", "well stimulation", "crew boat", "icebreaker"), "service"),
|
| 65 |
+
(("yacht", "sailing vessel", "sailing", "pleasure craft", "leisure"), "sailing_leisure"),
|
| 66 |
+
)
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
def from_text(value: object) -> str | None:
|
| 70 |
+
"""Map a free-text vessel-type string (DMA / VesselFinder / MarineTraffic style)
|
| 71 |
+
to a unified class."""
|
| 72 |
+
text = _normalize(value)
|
| 73 |
+
if not text:
|
| 74 |
+
return None
|
| 75 |
+
for tokens, cls in _TEXT_RULES:
|
| 76 |
+
for tok in tokens:
|
| 77 |
+
if tok in text:
|
| 78 |
+
return cls
|
| 79 |
+
if text in ("unknown", "undefined", "not defined", "unknown value", "other"):
|
| 80 |
+
return "unknown"
|
| 81 |
+
return None
|
| 82 |
+
|
| 83 |
+
|
| 84 |
+
def unify(value: object) -> str:
|
| 85 |
+
"""Return one of the 8 canonical class names. Accepts ITU code, text label,
|
| 86 |
+
or already-unified class. Falls back to 'unknown'."""
|
| 87 |
+
if value is None:
|
| 88 |
+
return "unknown"
|
| 89 |
+
s = str(value).strip().lower()
|
| 90 |
+
if not s:
|
| 91 |
+
return "unknown"
|
| 92 |
+
# Direct hit?
|
| 93 |
+
if s in CLASS_TO_ID:
|
| 94 |
+
return s
|
| 95 |
+
# ITU code?
|
| 96 |
+
try:
|
| 97 |
+
code = int(float(s))
|
| 98 |
+
cls = from_itu_code(code)
|
| 99 |
+
if cls:
|
| 100 |
+
return cls
|
| 101 |
+
except (ValueError, TypeError):
|
| 102 |
+
pass
|
| 103 |
+
# Text rule?
|
| 104 |
+
cls = from_text(s)
|
| 105 |
+
if cls:
|
| 106 |
+
return cls
|
| 107 |
+
return "unknown"
|
| 108 |
+
|
| 109 |
+
|
| 110 |
+
def unify_id(value: object) -> int:
|
| 111 |
+
return CLASS_TO_ID[unify(value)]
|
| 112 |
+
|
| 113 |
+
|
| 114 |
+
if __name__ == "__main__":
|
| 115 |
+
# quick self-test
|
| 116 |
+
cases = [
|
| 117 |
+
(70, "cargo"), ("80", "tanker"), ("60.0", "passenger"), (30, "fishing"),
|
| 118 |
+
(52, "tug"), (50, "service"), (35, "sailing_leisure"), (0, "unknown"),
|
| 119 |
+
("Oil Products Tanker", "tanker"), ("Container Ship", "cargo"),
|
| 120 |
+
("Cargo, hazard B (X)", "cargo"), ("Passenger", "passenger"),
|
| 121 |
+
("Pleasure Craft", "sailing_leisure"), ("Pilot Vessel", "service"),
|
| 122 |
+
("Fishing", "fishing"), ("Tug", "tug"), (None, "unknown"), ("", "unknown"),
|
| 123 |
+
]
|
| 124 |
+
for v, expected in cases:
|
| 125 |
+
got = unify(v)
|
| 126 |
+
ok = "✓" if got == expected else "✗"
|
| 127 |
+
print(f" {ok} unify({v!r}) -> {got} (expected {expected})")
|
track_a_short-term_Cross-domain_Datasets/dma_track_v1/README.md
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Standard Track v1 — EnvShip-Bench
|
| 2 |
+
|
| 3 |
+
Quality-stratified multi-type compact benchmark subset, built from `benchmark/core`.
|
| 4 |
+
|
| 5 |
+
## Scale
|
| 6 |
+
|
| 7 |
+
| Split | Samples | Unique MMSI | Unique Segments |
|
| 8 |
+
|-------|--------:|------------:|----------------:|
|
| 9 |
+
| Train | 120,000 | 3,307 | 18,710 |
|
| 10 |
+
| Val | 15,000 | 366 | 1,908 |
|
| 11 |
+
| Test | 15,000 | 341 | 1,997 |
|
| 12 |
+
|
| 13 |
+
**Total: 150,000 samples**
|
| 14 |
+
|
| 15 |
+
## Design
|
| 16 |
+
|
| 17 |
+
Forecasting protocol (same as full benchmark):
|
| 18 |
+
- Observation: 10 min (30 points × 20 s)
|
| 19 |
+
- Prediction: 10 min (30 points × 20 s)
|
| 20 |
+
- Evaluation unit: meters
|
| 21 |
+
|
| 22 |
+
Key differences vs `clean_ship_core_lite_v1`:
|
| 23 |
+
- 6.25× larger (150K vs 24K total)
|
| 24 |
+
- 5 vessel types vs 2
|
| 25 |
+
- Explicit difficulty tiers: Easy / Medium / Hard
|
| 26 |
+
- Relaxed quality thresholds to include curves and maneuvers
|
| 27 |
+
- Mean difficulty score 6.12 vs 3.90 (57% harder)
|
| 28 |
+
- Bridge-turn angle 6.78° vs 1.68° (4× more turning)
|
| 29 |
+
- Hard-tier samples: 12.7% vs ~0%
|
| 30 |
+
|
| 31 |
+
## Vessel Type Composition
|
| 32 |
+
|
| 33 |
+
The DMA (Danish Maritime Authority) data is cargo-dominated.
|
| 34 |
+
Actual distribution in train:
|
| 35 |
+
|
| 36 |
+
| Type | Train | % |
|
| 37 |
+
|------------------|--------:|------:|
|
| 38 |
+
| cargo_tanker | 93,659 | 78.0% |
|
| 39 |
+
| fishing | 11,466 | 9.6% |
|
| 40 |
+
| sailing_leisure | 7,892 | 6.6% |
|
| 41 |
+
| passenger_ferry | 3,879 | 3.2% |
|
| 42 |
+
| tug_service | 3,104 | 2.6% |
|
| 43 |
+
|
| 44 |
+
Note: target fractions were aspirational; actual fractions reflect
|
| 45 |
+
the DMA source data (Danish waters, September 2025).
|
| 46 |
+
|
| 47 |
+
## Difficulty Tier Distribution
|
| 48 |
+
|
| 49 |
+
| Tier | difficulty_score range | Train | % |
|
| 50 |
+
|--------|------------------------|--------:|------:|
|
| 51 |
+
| easy | < 5.0 | 72,144 | 60.1% |
|
| 52 |
+
| medium | 5.0 – 12.0 | 32,609 | 27.2% |
|
| 53 |
+
| hard | ≥ 12.0 | 15,247 | 12.7% |
|
| 54 |
+
|
| 55 |
+
## Quality Profile (Train)
|
| 56 |
+
|
| 57 |
+
| Metric | Mean | Median | P90 |
|
| 58 |
+
|----------------------------|-------:|-------:|-------:|
|
| 59 |
+
| quality_score | 93.71 | 95.04 | 97.06 |
|
| 60 |
+
| difficulty_score | 6.12 | 3.92 | 15.18 |
|
| 61 |
+
| avg_speed_knots | 10.15 | 9.92 | 14.73 |
|
| 62 |
+
| future_linearity | 0.9625 | 0.9664 | 0.9681 |
|
| 63 |
+
| fut_efficiency | 0.9968 | 1.0000 | 1.0000 |
|
| 64 |
+
| bridge_turn_deg | 6.78 | 2.22 | 18.82 |
|
| 65 |
+
| fut_turn_mean_abs_deg | 0.938 | 0.520 | 2.447 |
|
| 66 |
+
| interp_ratio_total | 0.0015 | 0.0 | 0.0 |
|
| 67 |
+
|
| 68 |
+
## Diversity Constraints (Builder Parameters)
|
| 69 |
+
|
| 70 |
+
| Parameter | Train | Val/Test |
|
| 71 |
+
|----------------------------|------:|---------:|
|
| 72 |
+
| max_per_mmsi | 55 | 70 |
|
| 73 |
+
| max_per_segment | 12 | 20 |
|
| 74 |
+
| min_segment_step_gap | 2 | 3 |
|
| 75 |
+
|
| 76 |
+
## Artifacts
|
| 77 |
+
|
| 78 |
+
```
|
| 79 |
+
standard_track_v1/
|
| 80 |
+
├── train/part-000.csv.gz (120,000 samples, 97 MB compressed)
|
| 81 |
+
├── val/part-000.csv.gz ( 15,000 samples, 12 MB compressed)
|
| 82 |
+
├── test/part-000.csv.gz ( 15,000 samples, 12 MB compressed)
|
| 83 |
+
├── sample_ids/
|
| 84 |
+
│ ├── train_sample_ids.txt
|
| 85 |
+
│ ├── val_sample_ids.txt
|
| 86 |
+
│ └── test_sample_ids.txt
|
| 87 |
+
├── reports/
|
| 88 |
+
│ ├── train_report.json
|
| 89 |
+
│ ├── val_report.json
|
| 90 |
+
│ └── test_report.json
|
| 91 |
+
└── summary.json
|
| 92 |
+
```
|
| 93 |
+
|
| 94 |
+
## Reproduce
|
| 95 |
+
|
| 96 |
+
```bash
|
| 97 |
+
cd /mnt/nfs/kun/DeepJSCC/ship_trajectory_datesets/multi_type_mini_bench_build
|
| 98 |
+
python3 build_standard_track_v1.py \
|
| 99 |
+
--benchmark-root /mnt/nfs/kun/DeepJSCC/ship_trajectory_datesets/benchmark/core \
|
| 100 |
+
--output-root ./standard_track_v1 \
|
| 101 |
+
--train-target 120000 --val-target 15000 --test-target 15000
|
| 102 |
+
```
|
| 103 |
+
|
| 104 |
+
## Known Limitations
|
| 105 |
+
|
| 106 |
+
- Single geographic region: Danish waters only (DMA AIS, September 2025)
|
| 107 |
+
- Single month: no seasonal variation
|
| 108 |
+
- Cargo-tanker dominance (78% train) reflects source data demographics
|
| 109 |
+
- Social and environment context not yet computed for this subset
|
track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1/README.md
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# context_v1 — Environment + Social Context for Standard Track v1
|
| 2 |
+
|
| 3 |
+
Unified context package built from Standard Track v1 (150K samples).
|
| 4 |
+
Provides environment-aware and social-interaction-aware annotations for every sample.
|
| 5 |
+
|
| 6 |
+
## Structure
|
| 7 |
+
|
| 8 |
+
```
|
| 9 |
+
context_v1/
|
| 10 |
+
├── environment/ — Geographic context
|
| 11 |
+
│ ├── anchors/ — Anchor lat/lon recovered from stage10
|
| 12 |
+
│ ├── features/{split}/environment_descriptors.csv
|
| 13 |
+
│ ├── rasters/{split}/
|
| 14 |
+
│ │ ├── masks.npy (N×6×128×128 uint8)
|
| 15 |
+
│ │ ├── signed_dist_shore.npy (N×128×128 float16)
|
| 16 |
+
│ │ ├── signed_dist_nav.npy (N×128×128 float16)
|
| 17 |
+
│ │ └── sample_ids.npy
|
| 18 |
+
│ ├── vectors/{split}/vectors.jsonl.gz
|
| 19 |
+
│ ├── feature_stats.json
|
| 20 |
+
│ └── summary.json
|
| 21 |
+
├── social/ — Nearby-vessel interaction context
|
| 22 |
+
│ ├── features/{split}/social_features.csv
|
| 23 |
+
│ ├── _snapshot_buckets/ — Compact per-timestamp AIS snapshots
|
| 24 |
+
│ └── summary.json
|
| 25 |
+
├── augmented/{split}/part-000.csv.gz — Trajectory + env + social merged
|
| 26 |
+
└── summary.json
|
| 27 |
+
```
|
| 28 |
+
|
| 29 |
+
## Environment Package
|
| 30 |
+
|
| 31 |
+
**Setup:** 5 km patch radius, 128×128 raster grid, OSM-derived
|
| 32 |
+
|
| 33 |
+
Raster channels (masks.npy, dim 0):
|
| 34 |
+
1. `land_mask` — binary, 1 = land
|
| 35 |
+
2. `water_mask` — binary, 1 = water (flood-fill from anchor)
|
| 36 |
+
3. `geo_navigable_mask` — binary, 1 = navigable (water not on barrier)
|
| 37 |
+
4. `natural_boundary_mask` — coastline, riverbank
|
| 38 |
+
5. `manmade_boundary_mask` — pier, breakwater, quay, port
|
| 39 |
+
6. `barrier_mask` — max(natural, manmade)
|
| 40 |
+
|
| 41 |
+
Additional arrays:
|
| 42 |
+
- `signed_dist_shore.npy` — signed distance to shore/barrier (positive = water side)
|
| 43 |
+
- `signed_dist_nav.npy` — signed distance to navigable region
|
| 44 |
+
|
| 45 |
+
Descriptor columns (features/*/environment_descriptors.csv):
|
| 46 |
+
- `scene_type`: open_water / nearshore / harbor / constrained
|
| 47 |
+
- `water_ratio`, `navigable_ratio`, `barrier_density`
|
| 48 |
+
- `nearest_shore_dist_m`, `nearest_manmade_dist_m`, `nearest_barrier_dist_m`
|
| 49 |
+
- `anchor_in_water`, `anchor_in_navigable`, `anchor_on_barrier`
|
| 50 |
+
- `env_quality_score`, `scene_open_water`, `scene_nearshore`, `scene_harbor`, `scene_constrained`
|
| 51 |
+
|
| 52 |
+
### Scene Type Distribution
|
| 53 |
+
|
| 54 |
+
| Scene | Train | Val | Test |
|
| 55 |
+
|-------|------:|----:|-----:|
|
| 56 |
+
| open_water | 115,278 (96.1%) | 14,447 (96.3%) | 14,509 (96.7%) |
|
| 57 |
+
| nearshore | 3,135 (2.6%) | 350 (2.3%) | 273 (1.8%) |
|
| 58 |
+
| constrained | 1,427 (1.2%) | 184 (1.2%) | 203 (1.4%) |
|
| 59 |
+
| harbor | 160 (0.1%) | 19 (0.1%) | 15 (0.1%) |
|
| 60 |
+
|
| 61 |
+
Note: 188 OSM tiles failed to fetch (406 from Overpass, not in local cache). These are treated
|
| 62 |
+
as open water and are mostly offshore tiles — the open water classification is correct for them.
|
| 63 |
+
|
| 64 |
+
### Environment Quality
|
| 65 |
+
|
| 66 |
+
- Mean env_quality_score: 0.986 (all splits) — very high
|
| 67 |
+
- anchor_in_water: 99.6% — nearly all anchors are correctly in water
|
| 68 |
+
|
| 69 |
+
## Social Context Package
|
| 70 |
+
|
| 71 |
+
**Setup:** 3 km radius, max 10 neighbors, interaction threshold ≥2 neighbors
|
| 72 |
+
|
| 73 |
+
Social features per sample (social/features/*/social_features.csv):
|
| 74 |
+
- `target_global_lat`, `target_global_lon` — recovered absolute position
|
| 75 |
+
- `neighbor_count_total`, `neighbor_count_used`
|
| 76 |
+
- `neighbor_density_bin`: isolated / sparse / medium / dense
|
| 77 |
+
- `neighbor_mmsi_json`, `neighbor_ship_type_json`
|
| 78 |
+
- `neighbor_distance_m_json` — distances to each neighbor (sorted)
|
| 79 |
+
- `neighbor_rel_x_m_json`, `neighbor_rel_y_m_json` — relative positions in local meters
|
| 80 |
+
- `neighbor_rel_vx_mps_json`, `neighbor_rel_vy_mps_json` — relative velocities
|
| 81 |
+
- `neighbor_cpa_m_json`, `neighbor_tcpa_s_json` — CPA and TCPA per neighbor
|
| 82 |
+
- `min_neighbor_distance_m`, `mean_neighbor_distance_m`
|
| 83 |
+
- `min_cpa_m`, `min_abs_tcpa_s`
|
| 84 |
+
- `social_context_available`, `interaction_candidate`
|
| 85 |
+
|
| 86 |
+
### Social Density Distribution
|
| 87 |
+
|
| 88 |
+
| Metric | Train | Val | Test |
|
| 89 |
+
|--------|------:|----:|-----:|
|
| 90 |
+
| Samples | 120,000 | 15,000 | 15,000 |
|
| 91 |
+
| With ≥1 neighbor | 24,716 (20.6%) | 2,942 (19.6%) | 3,072 (20.5%) |
|
| 92 |
+
| Interaction candidates (≥2) | 4,889 (4.1%) | 575 (3.8%) | 482 (3.2%) |
|
| 93 |
+
| Mean neighbor count | 0.265 | 0.257 | 0.243 |
|
| 94 |
+
| Dense (≥7 neighbors) | 80 | 28 | 10 |
|
| 95 |
+
|
| 96 |
+
Social context is intentionally sparse (~80% isolated) because this is a quality-first
|
| 97 |
+
benchmark selecting for clean straight-line cruise trajectories. Dense interaction samples
|
| 98 |
+
can be found in `social_benchmark_mini` which was built specifically for interaction modeling.
|
| 99 |
+
|
| 100 |
+
## Augmented CSV
|
| 101 |
+
|
| 102 |
+
`augmented/{split}/part-000.csv.gz` merges all context with the original trajectory:
|
| 103 |
+
- **89 columns total**: 39 trajectory + 17 environment + 21 social + 12 meta
|
| 104 |
+
- Train: 102.8 MB, Val: 12.6 MB, Test: 12.6 MB
|
| 105 |
+
|
| 106 |
+
## Storage
|
| 107 |
+
|
| 108 |
+
| Component | Size |
|
| 109 |
+
|-----------|-----:|
|
| 110 |
+
| Rasters (masks + distances) | 1.7 GB |
|
| 111 |
+
| Vectors (OSM jsonl.gz) | 1.3 GB |
|
| 112 |
+
| Social (features + snapshots) | 813 MB |
|
| 113 |
+
| Augmented CSVs | 128 MB |
|
| 114 |
+
| Features + anchors | 8 MB |
|
| 115 |
+
| **Total** | **~3.8 GB** |
|
| 116 |
+
|
| 117 |
+
## Reproducing
|
| 118 |
+
|
| 119 |
+
```bash
|
| 120 |
+
cd /mnt/nfs/kun/DeepJSCC/ship_trajectory_datesets/multi_type_mini_bench_build
|
| 121 |
+
python3 build_standard_track_context_v1.py \
|
| 122 |
+
--track-root ./standard_track_v1 \
|
| 123 |
+
--stage10-root /mnt/nfs/kun/DeepJSCC/ship_trajectory_datesets/data_interim/10_minlen_filtered/partitions \
|
| 124 |
+
--osm-cache-dir /mnt/nfs/kun/DeepJSCC/ship_trajectory_datesets/mini_benchmark/clean_ship_core_lite_v1/environment_v2/osm_cache/tiles \
|
| 125 |
+
--output-dir ./standard_track_v1/context_v1
|
| 126 |
+
```
|
| 127 |
+
|
| 128 |
+
## Known Limitations
|
| 129 |
+
|
| 130 |
+
- 188 OSM tile fetch failures (406 Overpass error); treated as open water
|
| 131 |
+
- 96% of samples are offshore (open water) — environment context is sparse for most samples
|
| 132 |
+
- Social context is target-centric (only current-state neighbors, no neighbor history)
|
| 133 |
+
- Stage10 data covers September 2025 (DMA) only — no multi-month social patterns
|
track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1/augmented/test/part-000.csv.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6055d67b098863a8ee01a7c98c146c34f54025cec8e778f032b1186c8bf91e3b
|
| 3 |
+
size 13190732
|
track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1/augmented/train/part-000.csv.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d8a1f76e4bbb2be19949f5edc9140d34a48c90f84df6e415ea9dc1bf0658f7e2
|
| 3 |
+
size 107781369
|
track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1/augmented/val/part-000.csv.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6970d0b2f6bf4e71795797de284c8f88108e1f2814c624b8bf4b9304ba0e3cd0
|
| 3 |
+
size 13221289
|
track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1/environment/all_environment_descriptors.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:82988113c1c9f74d0fcde104125cf237ab7e99cdcdbfc36f85d4f6645c0769f5
|
| 3 |
+
size 35043148
|
track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1/environment/anchor_lookup.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0cb9023a4ae6f180d81f0b6ca11abd7ed47fe7572595292242071cbbe2d96af7
|
| 3 |
+
size 25507488
|
track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1/environment/anchors/all_anchors.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3239a12b7bce9e2b27324e26d5ce43497d049bc1acfc990bcfd53adfb2f25932
|
| 3 |
+
size 25974325
|
track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1/environment/anchors/test_anchors.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1/environment/anchors/train_anchors.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9266a1c2ac9316d47a0de3d16dc16ecf8fbd86a226f5300851069c3c6f53c5b3
|
| 3 |
+
size 20818548
|
track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1/environment/anchors/val_anchors.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1/environment/failed_tiles.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"tile_id": "+055.750_+0003.000",
|
| 4 |
+
"error": "OSM fetch failed for +055.750_+0003.000: 429 Client Error: Too Many Requests for url: https://overpass-api.de/api/interpreter"
|
| 5 |
+
},
|
| 6 |
+
{
|
| 7 |
+
"tile_id": "+057.500_+0018.000",
|
| 8 |
+
"error": "OSM fetch failed for +057.500_+0018.000: 504 Server Error: Gateway Timeout for url: https://overpass-api.de/api/interpreter"
|
| 9 |
+
}
|
| 10 |
+
]
|
track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1/environment/failed_tiles.pre_refill.json
ADDED
|
@@ -0,0 +1,754 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"tile_id": "+052.750_+0003.000",
|
| 4 |
+
"error": "OSM fetch failed for +052.750_+0003.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 5 |
+
},
|
| 6 |
+
{
|
| 7 |
+
"tile_id": "+052.750_+0003.250",
|
| 8 |
+
"error": "OSM fetch failed for +052.750_+0003.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 9 |
+
},
|
| 10 |
+
{
|
| 11 |
+
"tile_id": "+053.000_+0004.250",
|
| 12 |
+
"error": "OSM fetch failed for +053.000_+0004.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"tile_id": "+053.250_+0003.500",
|
| 16 |
+
"error": "OSM fetch failed for +053.250_+0003.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"tile_id": "+053.250_+0004.500",
|
| 20 |
+
"error": "OSM fetch failed for +053.250_+0004.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"tile_id": "+053.250_+0004.750",
|
| 24 |
+
"error": "OSM fetch failed for +053.250_+0004.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"tile_id": "+053.500_+0006.000",
|
| 28 |
+
"error": "OSM fetch failed for +053.500_+0006.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 29 |
+
},
|
| 30 |
+
{
|
| 31 |
+
"tile_id": "+053.500_+0006.250",
|
| 32 |
+
"error": "OSM fetch failed for +053.500_+0006.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"tile_id": "+053.500_+0006.500",
|
| 36 |
+
"error": "OSM fetch failed for +053.500_+0006.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"tile_id": "+053.750_+0006.500",
|
| 40 |
+
"error": "OSM fetch failed for +053.750_+0006.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"tile_id": "+053.750_+0007.250",
|
| 44 |
+
"error": "OSM fetch failed for +053.750_+0007.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"tile_id": "+053.750_+0008.500",
|
| 48 |
+
"error": "OSM fetch failed for +053.750_+0008.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"tile_id": "+054.000_+0004.500",
|
| 52 |
+
"error": "OSM fetch failed for +054.000_+0004.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"tile_id": "+054.000_+0004.750",
|
| 56 |
+
"error": "OSM fetch failed for +054.000_+0004.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"tile_id": "+054.000_+0005.000",
|
| 60 |
+
"error": "OSM fetch failed for +054.000_+0005.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"tile_id": "+054.000_+0008.500",
|
| 64 |
+
"error": "OSM fetch failed for +054.000_+0008.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"tile_id": "+054.000_+0012.000",
|
| 68 |
+
"error": "OSM fetch failed for +054.000_+0012.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"tile_id": "+054.000_+0013.250",
|
| 72 |
+
"error": "OSM fetch failed for +054.000_+0013.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"tile_id": "+054.000_+0013.750",
|
| 76 |
+
"error": "OSM fetch failed for +054.000_+0013.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"tile_id": "+054.250_+0004.750",
|
| 80 |
+
"error": "OSM fetch failed for +054.250_+0004.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"tile_id": "+054.250_+0007.000",
|
| 84 |
+
"error": "OSM fetch failed for +054.250_+0007.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"tile_id": "+054.250_+0007.250",
|
| 88 |
+
"error": "OSM fetch failed for +054.250_+0007.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"tile_id": "+054.250_+0007.750",
|
| 92 |
+
"error": "OSM fetch failed for +054.250_+0007.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"tile_id": "+054.250_+0011.000",
|
| 96 |
+
"error": "OSM fetch failed for +054.250_+0011.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"tile_id": "+054.250_+0012.500",
|
| 100 |
+
"error": "OSM fetch failed for +054.250_+0012.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"tile_id": "+054.250_+0012.750",
|
| 104 |
+
"error": "OSM fetch failed for +054.250_+0012.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"tile_id": "+054.250_+0015.250",
|
| 108 |
+
"error": "OSM fetch failed for +054.250_+0015.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"tile_id": "+054.250_+0015.500",
|
| 112 |
+
"error": "OSM fetch failed for +054.250_+0015.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"tile_id": "+054.250_+0015.750",
|
| 116 |
+
"error": "OSM fetch failed for +054.250_+0015.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"tile_id": "+054.500_+0004.750",
|
| 120 |
+
"error": "OSM fetch failed for +054.500_+0004.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"tile_id": "+054.500_+0006.250",
|
| 124 |
+
"error": "OSM fetch failed for +054.500_+0006.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"tile_id": "+054.500_+0007.750",
|
| 128 |
+
"error": "OSM fetch failed for +054.500_+0007.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"tile_id": "+054.500_+0008.000",
|
| 132 |
+
"error": "OSM fetch failed for +054.500_+0008.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 133 |
+
},
|
| 134 |
+
{
|
| 135 |
+
"tile_id": "+054.500_+0008.750",
|
| 136 |
+
"error": "OSM fetch failed for +054.500_+0008.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"tile_id": "+054.500_+0009.500",
|
| 140 |
+
"error": "OSM fetch failed for +054.500_+0009.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"tile_id": "+054.500_+0009.750",
|
| 144 |
+
"error": "OSM fetch failed for +054.500_+0009.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"tile_id": "+054.500_+0010.000",
|
| 148 |
+
"error": "OSM fetch failed for +054.500_+0010.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"tile_id": "+054.500_+0011.000",
|
| 152 |
+
"error": "OSM fetch failed for +054.500_+0011.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"tile_id": "+054.500_+0011.500",
|
| 156 |
+
"error": "OSM fetch failed for +054.500_+0011.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 157 |
+
},
|
| 158 |
+
{
|
| 159 |
+
"tile_id": "+054.500_+0011.750",
|
| 160 |
+
"error": "OSM fetch failed for +054.500_+0011.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"tile_id": "+054.500_+0012.750",
|
| 164 |
+
"error": "OSM fetch failed for +054.500_+0012.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 165 |
+
},
|
| 166 |
+
{
|
| 167 |
+
"tile_id": "+054.500_+0013.000",
|
| 168 |
+
"error": "OSM fetch failed for +054.500_+0013.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"tile_id": "+054.500_+0013.250",
|
| 172 |
+
"error": "OSM fetch failed for +054.500_+0013.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"tile_id": "+054.500_+0014.250",
|
| 176 |
+
"error": "OSM fetch failed for +054.500_+0014.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 177 |
+
},
|
| 178 |
+
{
|
| 179 |
+
"tile_id": "+054.500_+0016.000",
|
| 180 |
+
"error": "OSM fetch failed for +054.500_+0016.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"tile_id": "+054.750_+0005.250",
|
| 184 |
+
"error": "OSM fetch failed for +054.750_+0005.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"tile_id": "+054.750_+0005.500",
|
| 188 |
+
"error": "OSM fetch failed for +054.750_+0005.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 189 |
+
},
|
| 190 |
+
{
|
| 191 |
+
"tile_id": "+054.750_+0007.750",
|
| 192 |
+
"error": "OSM fetch failed for +054.750_+0007.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"tile_id": "+054.750_+0009.500",
|
| 196 |
+
"error": "OSM fetch failed for +054.750_+0009.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"tile_id": "+054.750_+0009.750",
|
| 200 |
+
"error": "OSM fetch failed for +054.750_+0009.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"tile_id": "+054.750_+0010.000",
|
| 204 |
+
"error": "OSM fetch failed for +054.750_+0010.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 205 |
+
},
|
| 206 |
+
{
|
| 207 |
+
"tile_id": "+054.750_+0011.500",
|
| 208 |
+
"error": "OSM fetch failed for +054.750_+0011.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"tile_id": "+054.750_+0011.750",
|
| 212 |
+
"error": "OSM fetch failed for +054.750_+0011.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 213 |
+
},
|
| 214 |
+
{
|
| 215 |
+
"tile_id": "+054.750_+0012.000",
|
| 216 |
+
"error": "OSM fetch failed for +054.750_+0012.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"tile_id": "+054.750_+0013.750",
|
| 220 |
+
"error": "OSM fetch failed for +054.750_+0013.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"tile_id": "+054.750_+0014.250",
|
| 224 |
+
"error": "OSM fetch failed for +054.750_+0014.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 225 |
+
},
|
| 226 |
+
{
|
| 227 |
+
"tile_id": "+054.750_+0014.500",
|
| 228 |
+
"error": "OSM fetch failed for +054.750_+0014.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"tile_id": "+054.750_+0017.500",
|
| 232 |
+
"error": "OSM fetch failed for +054.750_+0017.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"tile_id": "+055.000_+0004.500",
|
| 236 |
+
"error": "OSM fetch failed for +055.000_+0004.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 237 |
+
},
|
| 238 |
+
{
|
| 239 |
+
"tile_id": "+055.000_+0006.000",
|
| 240 |
+
"error": "OSM fetch failed for +055.000_+0006.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"tile_id": "+055.000_+0008.000",
|
| 244 |
+
"error": "OSM fetch failed for +055.000_+0008.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 245 |
+
},
|
| 246 |
+
{
|
| 247 |
+
"tile_id": "+055.000_+0008.250",
|
| 248 |
+
"error": "OSM fetch failed for +055.000_+0008.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"tile_id": "+055.000_+0008.500",
|
| 252 |
+
"error": "OSM fetch failed for +055.000_+0008.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 253 |
+
},
|
| 254 |
+
{
|
| 255 |
+
"tile_id": "+055.000_+0010.000",
|
| 256 |
+
"error": "OSM fetch failed for +055.000_+0010.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"tile_id": "+055.000_+0010.250",
|
| 260 |
+
"error": "OSM fetch failed for +055.000_+0010.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 261 |
+
},
|
| 262 |
+
{
|
| 263 |
+
"tile_id": "+055.000_+0012.000",
|
| 264 |
+
"error": "OSM fetch failed for +055.000_+0012.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 265 |
+
},
|
| 266 |
+
{
|
| 267 |
+
"tile_id": "+055.000_+0012.250",
|
| 268 |
+
"error": "OSM fetch failed for +055.000_+0012.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 269 |
+
},
|
| 270 |
+
{
|
| 271 |
+
"tile_id": "+055.000_+0012.500",
|
| 272 |
+
"error": "OSM fetch failed for +055.000_+0012.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"tile_id": "+055.000_+0013.250",
|
| 276 |
+
"error": "OSM fetch failed for +055.000_+0013.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 277 |
+
},
|
| 278 |
+
{
|
| 279 |
+
"tile_id": "+055.000_+0013.500",
|
| 280 |
+
"error": "OSM fetch failed for +055.000_+0013.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"tile_id": "+055.000_+0013.750",
|
| 284 |
+
"error": "OSM fetch failed for +055.000_+0013.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 285 |
+
},
|
| 286 |
+
{
|
| 287 |
+
"tile_id": "+055.000_+0016.500",
|
| 288 |
+
"error": "OSM fetch failed for +055.000_+0016.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 289 |
+
},
|
| 290 |
+
{
|
| 291 |
+
"tile_id": "+055.000_+0016.750",
|
| 292 |
+
"error": "OSM fetch failed for +055.000_+0016.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"tile_id": "+055.000_+0017.000",
|
| 296 |
+
"error": "OSM fetch failed for +055.000_+0017.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 297 |
+
},
|
| 298 |
+
{
|
| 299 |
+
"tile_id": "+055.250_+0003.750",
|
| 300 |
+
"error": "OSM fetch failed for +055.250_+0003.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"tile_id": "+055.250_+0004.250",
|
| 304 |
+
"error": "OSM fetch failed for +055.250_+0004.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"tile_id": "+055.250_+0006.250",
|
| 308 |
+
"error": "OSM fetch failed for +055.250_+0006.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 309 |
+
},
|
| 310 |
+
{
|
| 311 |
+
"tile_id": "+055.250_+0007.000",
|
| 312 |
+
"error": "OSM fetch failed for +055.250_+0007.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 313 |
+
},
|
| 314 |
+
{
|
| 315 |
+
"tile_id": "+055.250_+0007.500",
|
| 316 |
+
"error": "OSM fetch failed for +055.250_+0007.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"tile_id": "+055.250_+0008.500",
|
| 320 |
+
"error": "OSM fetch failed for +055.250_+0008.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"tile_id": "+055.250_+0009.500",
|
| 324 |
+
"error": "OSM fetch failed for +055.250_+0009.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 325 |
+
},
|
| 326 |
+
{
|
| 327 |
+
"tile_id": "+055.250_+0010.250",
|
| 328 |
+
"error": "OSM fetch failed for +055.250_+0010.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"tile_id": "+055.250_+0010.500",
|
| 332 |
+
"error": "OSM fetch failed for +055.250_+0010.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"tile_id": "+055.250_+0012.000",
|
| 336 |
+
"error": "OSM fetch failed for +055.250_+0012.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 337 |
+
},
|
| 338 |
+
{
|
| 339 |
+
"tile_id": "+055.250_+0012.250",
|
| 340 |
+
"error": "OSM fetch failed for +055.250_+0012.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 341 |
+
},
|
| 342 |
+
{
|
| 343 |
+
"tile_id": "+055.250_+0013.250",
|
| 344 |
+
"error": "OSM fetch failed for +055.250_+0013.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 345 |
+
},
|
| 346 |
+
{
|
| 347 |
+
"tile_id": "+055.250_+0015.250",
|
| 348 |
+
"error": "OSM fetch failed for +055.250_+0015.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 349 |
+
},
|
| 350 |
+
{
|
| 351 |
+
"tile_id": "+055.500_+0006.750",
|
| 352 |
+
"error": "OSM fetch failed for +055.500_+0006.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"tile_id": "+055.500_+0007.750",
|
| 356 |
+
"error": "OSM fetch failed for +055.500_+0007.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"tile_id": "+055.500_+0008.000",
|
| 360 |
+
"error": "OSM fetch failed for +055.500_+0008.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 361 |
+
},
|
| 362 |
+
{
|
| 363 |
+
"tile_id": "+055.500_+0009.500",
|
| 364 |
+
"error": "OSM fetch failed for +055.500_+0009.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 365 |
+
},
|
| 366 |
+
{
|
| 367 |
+
"tile_id": "+055.500_+0011.750",
|
| 368 |
+
"error": "OSM fetch failed for +055.500_+0011.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 369 |
+
},
|
| 370 |
+
{
|
| 371 |
+
"tile_id": "+055.500_+0012.250",
|
| 372 |
+
"error": "OSM fetch failed for +055.500_+0012.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 373 |
+
},
|
| 374 |
+
{
|
| 375 |
+
"tile_id": "+055.500_+0013.000",
|
| 376 |
+
"error": "OSM fetch failed for +055.500_+0013.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"tile_id": "+055.750_+0003.000",
|
| 380 |
+
"error": "OSM fetch failed for +055.750_+0003.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 381 |
+
},
|
| 382 |
+
{
|
| 383 |
+
"tile_id": "+055.750_+0003.500",
|
| 384 |
+
"error": "OSM fetch failed for +055.750_+0003.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 385 |
+
},
|
| 386 |
+
{
|
| 387 |
+
"tile_id": "+055.750_+0003.750",
|
| 388 |
+
"error": "OSM fetch failed for +055.750_+0003.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 389 |
+
},
|
| 390 |
+
{
|
| 391 |
+
"tile_id": "+055.750_+0005.750",
|
| 392 |
+
"error": "OSM fetch failed for +055.750_+0005.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"tile_id": "+055.750_+0008.000",
|
| 396 |
+
"error": "OSM fetch failed for +055.750_+0008.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 397 |
+
},
|
| 398 |
+
{
|
| 399 |
+
"tile_id": "+055.750_+0009.750",
|
| 400 |
+
"error": "OSM fetch failed for +055.750_+0009.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"tile_id": "+055.750_+0010.000",
|
| 404 |
+
"error": "OSM fetch failed for +055.750_+0010.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 405 |
+
},
|
| 406 |
+
{
|
| 407 |
+
"tile_id": "+055.750_+0011.250",
|
| 408 |
+
"error": "OSM fetch failed for +055.750_+0011.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 409 |
+
},
|
| 410 |
+
{
|
| 411 |
+
"tile_id": "+055.750_+0011.750",
|
| 412 |
+
"error": "OSM fetch failed for +055.750_+0011.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 413 |
+
},
|
| 414 |
+
{
|
| 415 |
+
"tile_id": "+055.750_+0012.000",
|
| 416 |
+
"error": "OSM fetch failed for +055.750_+0012.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 417 |
+
},
|
| 418 |
+
{
|
| 419 |
+
"tile_id": "+055.750_+0012.750",
|
| 420 |
+
"error": "OSM fetch failed for +055.750_+0012.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 421 |
+
},
|
| 422 |
+
{
|
| 423 |
+
"tile_id": "+055.750_+0014.500",
|
| 424 |
+
"error": "OSM fetch failed for +055.750_+0014.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"tile_id": "+055.750_+0014.750",
|
| 428 |
+
"error": "OSM fetch failed for +055.750_+0014.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 429 |
+
},
|
| 430 |
+
{
|
| 431 |
+
"tile_id": "+056.000_+0006.000",
|
| 432 |
+
"error": "OSM fetch failed for +056.000_+0006.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 433 |
+
},
|
| 434 |
+
{
|
| 435 |
+
"tile_id": "+056.000_+0008.000",
|
| 436 |
+
"error": "OSM fetch failed for +056.000_+0008.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 437 |
+
},
|
| 438 |
+
{
|
| 439 |
+
"tile_id": "+056.000_+0010.000",
|
| 440 |
+
"error": "OSM fetch failed for +056.000_+0010.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 441 |
+
},
|
| 442 |
+
{
|
| 443 |
+
"tile_id": "+056.000_+0011.500",
|
| 444 |
+
"error": "OSM fetch failed for +056.000_+0011.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 445 |
+
},
|
| 446 |
+
{
|
| 447 |
+
"tile_id": "+056.000_+0012.250",
|
| 448 |
+
"error": "OSM fetch failed for +056.000_+0012.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"tile_id": "+056.000_+0012.500",
|
| 452 |
+
"error": "OSM fetch failed for +056.000_+0012.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 453 |
+
},
|
| 454 |
+
{
|
| 455 |
+
"tile_id": "+056.000_+0015.000",
|
| 456 |
+
"error": "OSM fetch failed for +056.000_+0015.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 457 |
+
},
|
| 458 |
+
{
|
| 459 |
+
"tile_id": "+056.000_+0017.500",
|
| 460 |
+
"error": "OSM fetch failed for +056.000_+0017.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"tile_id": "+056.000_+0018.000",
|
| 464 |
+
"error": "OSM fetch failed for +056.000_+0018.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 465 |
+
},
|
| 466 |
+
{
|
| 467 |
+
"tile_id": "+056.250_+0003.500",
|
| 468 |
+
"error": "OSM fetch failed for +056.250_+0003.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 469 |
+
},
|
| 470 |
+
{
|
| 471 |
+
"tile_id": "+056.250_+0004.250",
|
| 472 |
+
"error": "OSM fetch failed for +056.250_+0004.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 473 |
+
},
|
| 474 |
+
{
|
| 475 |
+
"tile_id": "+056.250_+0005.500",
|
| 476 |
+
"error": "OSM fetch failed for +056.250_+0005.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 477 |
+
},
|
| 478 |
+
{
|
| 479 |
+
"tile_id": "+056.250_+0007.750",
|
| 480 |
+
"error": "OSM fetch failed for +056.250_+0007.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 481 |
+
},
|
| 482 |
+
{
|
| 483 |
+
"tile_id": "+056.250_+0008.000",
|
| 484 |
+
"error": "OSM fetch failed for +056.250_+0008.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"tile_id": "+056.250_+0010.250",
|
| 488 |
+
"error": "OSM fetch failed for +056.250_+0010.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 489 |
+
},
|
| 490 |
+
{
|
| 491 |
+
"tile_id": "+056.250_+0011.750",
|
| 492 |
+
"error": "OSM fetch failed for +056.250_+0011.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 493 |
+
},
|
| 494 |
+
{
|
| 495 |
+
"tile_id": "+056.250_+0019.000",
|
| 496 |
+
"error": "OSM fetch failed for +056.250_+0019.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 497 |
+
},
|
| 498 |
+
{
|
| 499 |
+
"tile_id": "+056.500_+0004.750",
|
| 500 |
+
"error": "OSM fetch failed for +056.500_+0004.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"tile_id": "+056.500_+0005.000",
|
| 504 |
+
"error": "OSM fetch failed for +056.500_+0005.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 505 |
+
},
|
| 506 |
+
{
|
| 507 |
+
"tile_id": "+056.500_+0008.000",
|
| 508 |
+
"error": "OSM fetch failed for +056.500_+0008.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 509 |
+
},
|
| 510 |
+
{
|
| 511 |
+
"tile_id": "+056.500_+0008.250",
|
| 512 |
+
"error": "OSM fetch failed for +056.500_+0008.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 513 |
+
},
|
| 514 |
+
{
|
| 515 |
+
"tile_id": "+056.500_+0018.250",
|
| 516 |
+
"error": "OSM fetch failed for +056.500_+0018.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 517 |
+
},
|
| 518 |
+
{
|
| 519 |
+
"tile_id": "+056.500_+0019.000",
|
| 520 |
+
"error": "OSM fetch failed for +056.500_+0019.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 521 |
+
},
|
| 522 |
+
{
|
| 523 |
+
"tile_id": "+056.750_+0004.250",
|
| 524 |
+
"error": "OSM fetch failed for +056.750_+0004.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 525 |
+
},
|
| 526 |
+
{
|
| 527 |
+
"tile_id": "+056.750_+0008.500",
|
| 528 |
+
"error": "OSM fetch failed for +056.750_+0008.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 529 |
+
},
|
| 530 |
+
{
|
| 531 |
+
"tile_id": "+056.750_+0009.250",
|
| 532 |
+
"error": "OSM fetch failed for +056.750_+0009.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 533 |
+
},
|
| 534 |
+
{
|
| 535 |
+
"tile_id": "+056.750_+0010.250",
|
| 536 |
+
"error": "OSM fetch failed for +056.750_+0010.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 537 |
+
},
|
| 538 |
+
{
|
| 539 |
+
"tile_id": "+056.750_+0011.500",
|
| 540 |
+
"error": "OSM fetch failed for +056.750_+0011.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 541 |
+
},
|
| 542 |
+
{
|
| 543 |
+
"tile_id": "+056.750_+0011.750",
|
| 544 |
+
"error": "OSM fetch failed for +056.750_+0011.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 545 |
+
},
|
| 546 |
+
{
|
| 547 |
+
"tile_id": "+056.750_+0012.250",
|
| 548 |
+
"error": "OSM fetch failed for +056.750_+0012.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 549 |
+
},
|
| 550 |
+
{
|
| 551 |
+
"tile_id": "+057.000_+0003.750",
|
| 552 |
+
"error": "OSM fetch failed for +057.000_+0003.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 553 |
+
},
|
| 554 |
+
{
|
| 555 |
+
"tile_id": "+057.000_+0006.000",
|
| 556 |
+
"error": "OSM fetch failed for +057.000_+0006.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 557 |
+
},
|
| 558 |
+
{
|
| 559 |
+
"tile_id": "+057.000_+0006.250",
|
| 560 |
+
"error": "OSM fetch failed for +057.000_+0006.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 561 |
+
},
|
| 562 |
+
{
|
| 563 |
+
"tile_id": "+057.000_+0009.000",
|
| 564 |
+
"error": "OSM fetch failed for +057.000_+0009.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 565 |
+
},
|
| 566 |
+
{
|
| 567 |
+
"tile_id": "+057.000_+0009.250",
|
| 568 |
+
"error": "OSM fetch failed for +057.000_+0009.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 569 |
+
},
|
| 570 |
+
{
|
| 571 |
+
"tile_id": "+057.000_+0009.500",
|
| 572 |
+
"error": "OSM fetch failed for +057.000_+0009.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 573 |
+
},
|
| 574 |
+
{
|
| 575 |
+
"tile_id": "+057.000_+0009.750",
|
| 576 |
+
"error": "OSM fetch failed for +057.000_+0009.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 577 |
+
},
|
| 578 |
+
{
|
| 579 |
+
"tile_id": "+057.000_+0011.250",
|
| 580 |
+
"error": "OSM fetch failed for +057.000_+0011.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 581 |
+
},
|
| 582 |
+
{
|
| 583 |
+
"tile_id": "+057.000_+0011.500",
|
| 584 |
+
"error": "OSM fetch failed for +057.000_+0011.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 585 |
+
},
|
| 586 |
+
{
|
| 587 |
+
"tile_id": "+057.000_+0011.750",
|
| 588 |
+
"error": "OSM fetch failed for +057.000_+0011.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 589 |
+
},
|
| 590 |
+
{
|
| 591 |
+
"tile_id": "+057.000_+0012.000",
|
| 592 |
+
"error": "OSM fetch failed for +057.000_+0012.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 593 |
+
},
|
| 594 |
+
{
|
| 595 |
+
"tile_id": "+057.000_+0019.500",
|
| 596 |
+
"error": "OSM fetch failed for +057.000_+0019.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 597 |
+
},
|
| 598 |
+
{
|
| 599 |
+
"tile_id": "+057.250_+0004.000",
|
| 600 |
+
"error": "OSM fetch failed for +057.250_+0004.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 601 |
+
},
|
| 602 |
+
{
|
| 603 |
+
"tile_id": "+057.250_+0004.250",
|
| 604 |
+
"error": "OSM fetch failed for +057.250_+0004.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 605 |
+
},
|
| 606 |
+
{
|
| 607 |
+
"tile_id": "+057.250_+0006.250",
|
| 608 |
+
"error": "OSM fetch failed for +057.250_+0006.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 609 |
+
},
|
| 610 |
+
{
|
| 611 |
+
"tile_id": "+057.250_+0011.750",
|
| 612 |
+
"error": "OSM fetch failed for +057.250_+0011.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 613 |
+
},
|
| 614 |
+
{
|
| 615 |
+
"tile_id": "+057.500_+0003.750",
|
| 616 |
+
"error": "OSM fetch failed for +057.500_+0003.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 617 |
+
},
|
| 618 |
+
{
|
| 619 |
+
"tile_id": "+057.500_+0004.250",
|
| 620 |
+
"error": "OSM fetch failed for +057.500_+0004.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 621 |
+
},
|
| 622 |
+
{
|
| 623 |
+
"tile_id": "+057.500_+0007.000",
|
| 624 |
+
"error": "OSM fetch failed for +057.500_+0007.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 625 |
+
},
|
| 626 |
+
{
|
| 627 |
+
"tile_id": "+057.500_+0007.500",
|
| 628 |
+
"error": "OSM fetch failed for +057.500_+0007.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 629 |
+
},
|
| 630 |
+
{
|
| 631 |
+
"tile_id": "+057.500_+0010.250",
|
| 632 |
+
"error": "OSM fetch failed for +057.500_+0010.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 633 |
+
},
|
| 634 |
+
{
|
| 635 |
+
"tile_id": "+057.500_+0014.750",
|
| 636 |
+
"error": "OSM fetch failed for +057.500_+0014.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 637 |
+
},
|
| 638 |
+
{
|
| 639 |
+
"tile_id": "+057.500_+0017.500",
|
| 640 |
+
"error": "OSM fetch failed for +057.500_+0017.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 641 |
+
},
|
| 642 |
+
{
|
| 643 |
+
"tile_id": "+057.500_+0017.750",
|
| 644 |
+
"error": "OSM fetch failed for +057.500_+0017.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 645 |
+
},
|
| 646 |
+
{
|
| 647 |
+
"tile_id": "+057.500_+0018.000",
|
| 648 |
+
"error": "OSM fetch failed for +057.500_+0018.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 649 |
+
},
|
| 650 |
+
{
|
| 651 |
+
"tile_id": "+057.750_+0004.500",
|
| 652 |
+
"error": "OSM fetch failed for +057.750_+0004.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 653 |
+
},
|
| 654 |
+
{
|
| 655 |
+
"tile_id": "+057.750_+0010.500",
|
| 656 |
+
"error": "OSM fetch failed for +057.750_+0010.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 657 |
+
},
|
| 658 |
+
{
|
| 659 |
+
"tile_id": "+057.750_+0011.750",
|
| 660 |
+
"error": "OSM fetch failed for +057.750_+0011.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 661 |
+
},
|
| 662 |
+
{
|
| 663 |
+
"tile_id": "+057.750_+0017.500",
|
| 664 |
+
"error": "OSM fetch failed for +057.750_+0017.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 665 |
+
},
|
| 666 |
+
{
|
| 667 |
+
"tile_id": "+058.000_+0004.250",
|
| 668 |
+
"error": "OSM fetch failed for +058.000_+0004.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 669 |
+
},
|
| 670 |
+
{
|
| 671 |
+
"tile_id": "+058.000_+0005.500",
|
| 672 |
+
"error": "OSM fetch failed for +058.000_+0005.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 673 |
+
},
|
| 674 |
+
{
|
| 675 |
+
"tile_id": "+058.000_+0006.500",
|
| 676 |
+
"error": "OSM fetch failed for +058.000_+0006.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 677 |
+
},
|
| 678 |
+
{
|
| 679 |
+
"tile_id": "+058.000_+0006.750",
|
| 680 |
+
"error": "OSM fetch failed for +058.000_+0006.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 681 |
+
},
|
| 682 |
+
{
|
| 683 |
+
"tile_id": "+058.000_+0007.000",
|
| 684 |
+
"error": "OSM fetch failed for +058.000_+0007.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 685 |
+
},
|
| 686 |
+
{
|
| 687 |
+
"tile_id": "+058.000_+0007.750",
|
| 688 |
+
"error": "OSM fetch failed for +058.000_+0007.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 689 |
+
},
|
| 690 |
+
{
|
| 691 |
+
"tile_id": "+058.000_+0010.000",
|
| 692 |
+
"error": "OSM fetch failed for +058.000_+0010.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 693 |
+
},
|
| 694 |
+
{
|
| 695 |
+
"tile_id": "+058.000_+0010.250",
|
| 696 |
+
"error": "OSM fetch failed for +058.000_+0010.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 697 |
+
},
|
| 698 |
+
{
|
| 699 |
+
"tile_id": "+058.000_+0011.250",
|
| 700 |
+
"error": "OSM fetch failed for +058.000_+0011.250: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 701 |
+
},
|
| 702 |
+
{
|
| 703 |
+
"tile_id": "+058.000_+0011.750",
|
| 704 |
+
"error": "OSM fetch failed for +058.000_+0011.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 705 |
+
},
|
| 706 |
+
{
|
| 707 |
+
"tile_id": "+058.250_+0010.750",
|
| 708 |
+
"error": "OSM fetch failed for +058.250_+0010.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 709 |
+
},
|
| 710 |
+
{
|
| 711 |
+
"tile_id": "+058.250_+0011.000",
|
| 712 |
+
"error": "OSM fetch failed for +058.250_+0011.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 713 |
+
},
|
| 714 |
+
{
|
| 715 |
+
"tile_id": "+058.500_+0008.750",
|
| 716 |
+
"error": "OSM fetch failed for +058.500_+0008.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 717 |
+
},
|
| 718 |
+
{
|
| 719 |
+
"tile_id": "+058.500_+0010.500",
|
| 720 |
+
"error": "OSM fetch failed for +058.500_+0010.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 721 |
+
},
|
| 722 |
+
{
|
| 723 |
+
"tile_id": "+058.500_+0010.750",
|
| 724 |
+
"error": "OSM fetch failed for +058.500_+0010.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"tile_id": "+058.500_+0011.000",
|
| 728 |
+
"error": "OSM fetch failed for +058.500_+0011.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 729 |
+
},
|
| 730 |
+
{
|
| 731 |
+
"tile_id": "+058.750_+0010.750",
|
| 732 |
+
"error": "OSM fetch failed for +058.750_+0010.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 733 |
+
},
|
| 734 |
+
{
|
| 735 |
+
"tile_id": "+059.000_+0002.000",
|
| 736 |
+
"error": "OSM fetch failed for +059.000_+0002.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 737 |
+
},
|
| 738 |
+
{
|
| 739 |
+
"tile_id": "+059.000_+0010.000",
|
| 740 |
+
"error": "OSM fetch failed for +059.000_+0010.000: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 741 |
+
},
|
| 742 |
+
{
|
| 743 |
+
"tile_id": "+059.000_+0010.750",
|
| 744 |
+
"error": "OSM fetch failed for +059.000_+0010.750: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 745 |
+
},
|
| 746 |
+
{
|
| 747 |
+
"tile_id": "+059.250_+0010.500",
|
| 748 |
+
"error": "OSM fetch failed for +059.250_+0010.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 749 |
+
},
|
| 750 |
+
{
|
| 751 |
+
"tile_id": "+059.750_+0010.500",
|
| 752 |
+
"error": "OSM fetch failed for +059.750_+0010.500: 406 Client Error: Not Acceptable for url: https://overpass-api.de/api/interpreter"
|
| 753 |
+
}
|
| 754 |
+
]
|
track_a_short-term_Cross-domain_Datasets/dma_track_v1/context_v1/environment/feature_stats.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"descriptor_columns": [
|
| 3 |
+
"patch_radius_m",
|
| 4 |
+
"grid_size",
|
| 5 |
+
"nearest_shore_dist_m",
|
| 6 |
+
"nearest_manmade_dist_m",
|
| 7 |
+
"nearest_barrier_dist_m",
|
| 8 |
+
"center_signed_shore_m",
|
| 9 |
+
"water_ratio",
|
| 10 |
+
"navigable_ratio",
|
| 11 |
+
"barrier_density",
|
| 12 |
+
"natural_boundary_density",
|
| 13 |
+
"manmade_boundary_density",
|
| 14 |
+
"natural_boundary_length_m",
|
| 15 |
+
"manmade_boundary_length_m",
|
| 16 |
+
"has_natural_boundary",
|
| 17 |
+
"has_manmade_boundary",
|
| 18 |
+
"anchor_in_water",
|
| 19 |
+
"anchor_in_navigable",
|
| 20 |
+
"anchor_on_barrier",
|
| 21 |
+
"env_quality_score",
|
| 22 |
+
"scene_open_water",
|
| 23 |
+
"scene_nearshore",
|
| 24 |
+
"scene_harbor",
|
| 25 |
+
"scene_constrained"
|
| 26 |
+
],
|
| 27 |
+
"log1p_max": {
|
| 28 |
+
"barrier_density": 0.18314538402176406,
|
| 29 |
+
"manmade_boundary_density": 0.06440851268683877,
|
| 30 |
+
"natural_boundary_density": 0.18105909355582347
|
| 31 |
+
}
|
| 32 |
+
}
|