| --- |
| pretty_name: CMA-Loc |
| tags: |
| - geolocation |
| - cross-view-localization |
| - remote-sensing |
| - aerial-imagery |
| --- |
| |
| # CMA-Loc |
|
|
| This repository stores the CMA-Loc dataset as uncompressed tar shards plus the original JSON annotation files. |
|
|
| ## Layout |
|
|
| ```text |
| data/*.tar # image shards, paths inside each tar keep the original urban/<city>/<modality>/... layout |
| metadata/*.json # original annotation split files |
| manifests/shards.jsonl # one row per tar shard |
| manifests/files.jsonl # one row per image file with its shard mapping |
| manifests/shard_file_lists/*.txt # exact file list used to create each shard |
| checksums.sha256 # SHA-256 checksums for uploaded files |
| ``` |
|
|
| ## Summary |
|
|
| - Image files: 180430 |
| - Image input size: 73.67 GiB |
| - Tar shards: 49 |
| - Tar shard size: 73.80 GiB |
| - Cities: Berlin, Chicago, London, Losangeles, Moscow, Newyork, Paris, Tokyo |
| - Modalities: crop_sate, mono, sate |
| |
| | City | Modality | Files | Size | |
| |---|---:|---:|---:| |
| | Berlin | crop_sate | 3450 | 1.86 GiB | |
| | Berlin | mono | 2242 | 5.31 GiB | |
| | Berlin | sate | 817 | 2.11 GiB | |
| | Chicago | crop_sate | 1826 | 0.89 GiB | |
| | Chicago | mono | 1422 | 2.76 GiB | |
| | Chicago | sate | 542 | 1.21 GiB | |
| | London | crop_sate | 5800 | 3.21 GiB | |
| | London | mono | 20862 | 5.72 GiB | |
| | London | sate | 9275 | 4.85 GiB | |
| | Losangeles | crop_sate | 4197 | 2.32 GiB | |
| | Losangeles | mono | 2995 | 0.72 GiB | |
| | Moscow | crop_sate | 2821 | 1.37 GiB | |
| | Moscow | mono | 20307 | 1.83 GiB | |
| | Moscow | sate | 9167 | 2.22 GiB | |
| | Newyork | crop_sate | 7669 | 4.12 GiB | |
| | Newyork | mono | 23773 | 6.77 GiB | |
| | Newyork | sate | 10447 | 7.51 GiB | |
| | Paris | crop_sate | 4244 | 2.43 GiB | |
| | Paris | mono | 20122 | 4.88 GiB | |
| | Paris | sate | 8957 | 4.62 GiB | |
| | Tokyo | crop_sate | 2336 | 1.32 GiB | |
| | Tokyo | mono | 11507 | 2.78 GiB | |
| | Tokyo | sate | 5652 | 2.86 GiB | |
| |
| ## Usage |
| |
| List files in a shard: |
| |
| ```bash |
| tar -tf data/urban_newyork_mono_00000.tar | head |
| ``` |
| |
| Extract all shards: |
| |
| ```bash |
| mkdir -p extracted |
| for shard in data/*.tar; do tar -xf "$shard" -C extracted; done |
| ``` |
| |
| The annotation JSON files refer to image filenames. The full image paths are preserved in the tar members under: |
| |
| ```text |
| urban/<city>/mono/<mono_filename> |
| urban/<city>/sate/<satellite_filename> |
| urban/<city>/crop_sate/<cropped_satellite_filename> |
| ``` |
| |
| Use `manifests/files.jsonl` to locate the tar shard containing a specific image path. |
| |