paeslemesa commited on
Commit
23f06a0
·
verified ·
1 Parent(s): 0200766

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +165 -445
README.md CHANGED
@@ -9,46 +9,128 @@ tags:
9
  - dem
10
  - depth
11
  - cv
12
- pretty_name: GeoMatch-DEM
13
  size_categories:
14
  - 1K<n<10K
15
  ---
16
- # GeoMatch-DEM: Multi-City Digital Elevation Model Dataset for Local Feature Matching
17
-
18
- [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.XXXXXXX.svg)](https://doi.org/10.5281/zenodo.XXXXXXX)
19
  [![License: CC BY 4.0](https://img.shields.io/badge/License-CC%20BY%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by/4.0/)
20
- [![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
21
 
22
- **A curated multi-city Digital Elevation Model (DEM) dataset for training and benchmarking local feature matching algorithms in urban terrain analysis.**
23
 
24
  ---
25
 
26
  ## 🎯 Overview
27
 
28
- GeoMatch-DEM aggregates high-resolution elevation data from three distinct urban environments—Bonn (Germany), São Paulo (Brazil), and Fortaleza (Brazil)—to support research in cross-domain local feature detection and matching. The dataset provides standardized 333×333 pixel patches with handcrafted and automated ground truth annotations for training computer vision models on geospatial data.
29
 
30
  ### Key Features
31
 
32
- - **Multi-source fusion**: LiDAR (Bonn, São Paulo) and photogrammetric (Fortaleza) elevation data
 
33
  - **Standardized format**: All cities processed to 333×333 pixel GeoTIFF tiles
34
- - **Rich annotations**: 27,000+ verified patch pairs from Bonn alone
35
  - **Cross-city evaluation**: Explicit intra-city and inter-city test splits
36
  - **FAIR compliant**: ISO 19115-2 metadata, DOI registration, open access
37
 
38
  ---
39
 
40
- ## 📊 Dataset Statistics
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
 
42
- | City | Source | Method | Resolution | Tiles | CRS | Year | Area |
43
- |------|--------|--------|------------|-------|-----|------|------|
44
- | **Bonn** | IEEE GeoNRW | Airborne LiDAR | 1.0 m | [X] | EPSG:25832 | 2016-2018 | City limits |
45
- | **São Paulo** | GeoSampa | Airborne LiDAR | **0.5 m** | 700+ | EPSG:31983 | [Year] | Municipal |
46
- | **Fortaleza** | Municipal Survey | Aerial photogrammetry | 1.0 m | ~3,000 | EPSG:31984 | 2016-2017 | 333 km² |
 
 
 
 
 
 
 
 
 
 
 
 
47
 
48
- **Ground Truth**: 27,000+ handcrafted annotations (Bonn), plus automated pairs/triplets
49
- **Splits**: 80% train / 10% validation / 10% test (stratified by city and difficulty)
50
- **Total Size**: ~[X] GB
51
- **Patch Size**: 333 × 333 pixels (physical extent: 166.5m × 166.5m for 0.5m data)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
 
53
  ---
54
 
@@ -56,434 +138,46 @@ GeoMatch-DEM aggregates high-resolution elevation data from three distinct urban
56
 
57
  | Repository | Link | Notes |
58
  |------------|------|-------|
59
- | **Zenodo (Primary)** | [https://doi.org/10.5281/zenodo.XXXXXXX](https://doi.org/10.5281/zenodo.XXXXXXX) | DOI-backed, permanent archive |
60
- | Hugging Face Datasets | [https://huggingface.co/datasets/paeslemesa/geomatch-dem](https://huggingface.co/datasets/paeslemesa/geomatch-dem) | Streaming loader available |
61
- | Academic Torrents | [Link TBD] | For large-scale institutional downloads |
62
 
63
  ### Quick Download
64
 
65
  ```bash
66
  # Using zenodo_get (pip install zenodo_get)
67
- zenodo_get 10.5281/zenodo.XXXXXXX
68
 
69
  # Or wget/curl (specific file)
70
- wget https://zenodo.org/record/XXXXXXX/files/GeoMatch-DEM-v1.0.zip
71
  ```
72
 
73
  ---
74
 
 
 
75
  ## 🎓 Citation
76
 
77
  If you use this dataset in your research, please cite:
78
 
79
  ```bibtex
80
- @dataset{correa_2026_geomatch_dem,
81
- author = {Correa, S. P. L. P. and Santos, A. de Paula and Oliveira, H. N.},
82
- title = {{GeoMatch-DEM: Multi-City Digital Elevation Model Dataset for Local Feature Matching}},
83
  year = 2026,
84
  publisher = {Zenodo},
85
- version = {1.0},
86
- doi = {10.5281/zenodo.XXXXXXX},
87
- url = {https://doi.org/10.5281/zenodo.XXXXXXX},
88
- note = {Contains data derived from IEEE GeoNRW, GeoSampa, and Fortaleza City Hall}
89
- }
90
- ```
91
-
92
- ### Original Data Source Citations
93
-
94
- You must also cite the original data providers:
95
-
96
- **Bonn — IEEE GeoNRW:**
97
- ```bibtex
98
- @misc{ieee_grss_2020_geonrw,
99
- author = {{IEEE GRSS DASE Committee}},
100
- title = {{IEEE GeoNRW Dataset}},
101
- year = 2020,
102
- publisher = {IEEE DataPort},
103
- doi = {10.21227/nd5j-5q42},
104
- url = {https://dx.doi.org/10.21227/nd5j-5q42}
105
- }
106
- ```
107
-
108
- **São Paulo — GeoSampa:**
109
- ```bibtex
110
- @misc{prefeitura_sp_geosampa,
111
- author = {{Prefeitura de São Paulo, Secretaria Municipal de Urbanismo e Licenciamento}},
112
- title = {{GeoSampa - Sistema de Informação Geográfica - Dados de Altimetria}},
113
- url = {https://geosampa.prefeitura.sp.gov.br/},
114
- note = {LiDAR data processed for this dataset using PDAL}
115
- }
116
- ```
117
-
118
- **Fortaleza — Municipal Survey:**
119
- ```bibtex
120
- @misc{fortaleza_2016_mdt,
121
- author = {{Prefeitura Municipal de Fortaleza, SEUMA}},
122
- title = {{Modelo Digital de Terreno - Levantamento Aerofotogramétrico 2016-2017}},
123
- year = 2016,
124
- organization = {Esteio Engenharia e Aerolevantamento S/A},
125
- url = {[URL if available]},
126
- note = {Survey dates: 2016-12-20, 23, 27; 2017-01-06}
127
  }
128
  ```
129
 
130
- ---
131
-
132
- ## 🗂️ Dataset Structure
133
-
134
- ```
135
- GeoMatch-DEM-v1.0/
136
- ├── README.md # This file
137
- ├── CITATION.cff # Citation File Format
138
- ├── LICENSE # CC BY 4.0 full text
139
- ├── data/
140
- │ ├── bonn/
141
- │ │ ├── processed/ # Standardized GeoTIFF tiles (1m res)
142
- │ │ │ ├── bonn_001.tif
143
- │ │ │ └── ...
144
- │ │ └── annotations/ # Bonn-specific ground truth
145
- │ │ ├── handcrafted_pairs.csv # 27,000+ verified annotations
146
- │ │ └── synthetic_pairs.csv # Automated augmentations
147
- │ ├── sao_paulo/
148
- │ │ ├── processed/ # 700+ GeoTIFF tiles (0.5m res)
149
- │ │ │ ├── sp_001.tif
150
- │ │ │ └── ...
151
- │ │ └── annotations/
152
- │ └── fortaleza/
153
- │ ├── processed/ # ~3,000 GeoTIFF tiles (1m res)
154
- │ │ ├── for_001.tif
155
- │ │ └── ...
156
- │ └── annotations/
157
- ├── splits/
158
- │ ├── train.csv # 80% of all pairs
159
- │ ├── val.csv # 10% validation
160
- │ └── test.csv # 10% test (hold-out)
161
- ├── metadata/
162
- │ ├── iso19139.xml # ISO 19115-2 compliant metadata
163
- │ ├── datacite.xml # DataCite registration metadata
164
- │ ├── schemaorg.jsonld # Schema.org/JSON-LD for web discovery
165
- │ └── prov/
166
- │ ├── provenance.ttl # W3C PROV-O RDF triples
167
- │ └── processing.log # Detailed processing history
168
- └── docs/
169
- ├── DATASET_DESCRIPTION.md # Full technical specifications
170
- ├── PREPROCESSING.md # Reproducible processing pipelines
171
- ├── QUALITY_REPORT.md # Per-city quality assessment
172
- └── CITY_COMPARISON.md # Cross-city characteristics analysis
173
- ```
174
-
175
- ---
176
-
177
- ## 🚀 Quick Start
178
-
179
- ### Installation
180
-
181
- ```bash
182
- pip install rasterio pandas numpy matplotlib
183
- ```
184
-
185
- ### Loading DEM Tiles
186
-
187
- ```python
188
- import rasterio
189
- import numpy as np
190
- import matplotlib.pyplot as plt
191
-
192
- def load_dem(tile_path):
193
- """
194
- Load a DEM tile and return elevation data with geospatial metadata.
195
-
196
- Parameters
197
- ----------
198
- tile_path : str or Path
199
- Path to GeoTIFF file
200
-
201
- Returns
202
- -------
203
- dem : ndarray
204
- 2D array of elevation values (float32)
205
- transform : Affine
206
- Rasterio affine transformation matrix
207
- crs : CRS
208
- Coordinate reference system
209
- profile : dict
210
- Full rasterio profile metadata
211
- """
212
- with rasterio.open(tile_path) as src:
213
- dem = src.read(1)
214
- transform = src.transform
215
- crs = src.crs
216
- profile = src.profile
217
-
218
- # Replace nodata with NaN for visualization
219
- if profile.get('nodata') is not None:
220
- dem = np.where(dem == profile['nodata'], np.nan, dem)
221
-
222
- return dem, transform, crs, profile
223
-
224
- # Example: Load a São Paulo tile
225
- dem, transform, crs, profile = load_dem('data/sao_paulo/processed/sp_001.tif')
226
-
227
- print(f"Tile shape: {dem.shape}") # (333, 333)
228
- print(f"CRS: {crs}") # EPSG:31983
229
- print(f"Resolution: {transform.a}m") # 0.5m
230
- print(f"Elevation range: [{np.nanmin(dem):.1f}, {np.nanmax(dem):.1f}]m")
231
-
232
- # Visualize
233
- plt.figure(figsize=(8, 8))
234
- plt.imshow(dem, cmap='terrain', vmin=np.nanpercentile(dem, 2), vmax=np.nanpercentile(dem, 98))
235
- plt.colorbar(label='Elevation (m)')
236
- plt.title('São Paulo DEM Sample')
237
- plt.axis('off')
238
- plt.show()
239
- ```
240
-
241
- ### Loading Ground Truth Pairs
242
-
243
- ```python
244
- import pandas as pd
245
- from pathlib import Path
246
-
247
- # Load train split
248
- train_df = pd.read_csv('splits/train.csv')
249
-
250
- print(f"Total training pairs: {len(train_df)}")
251
- print(f"Cities represented: {train_df[['city_a', 'city_b']].stack().unique()}")
252
-
253
- # Get a verified matching pair (handcrafted annotation)
254
- match_row = train_df[(train_df['match_valid'] == 1) &
255
- (train_df['annotation_type'] == 'handcrafted')].iloc[0]
256
-
257
- dem_a, _, _, _ = load_dem(match_row['patch_a_path'])
258
- dem_b, _, _, _ = load_dem(match_row['patch_b_path'])
259
-
260
- print(f"Pair type: {match_row['city_a']} → {match_row['city_b']}")
261
- print(f"Match valid: {match_row['match_valid']}")
262
- print(f"Annotation: {match_row['annotation_type']}")
263
-
264
- # Display side-by-side
265
- fig, axes = plt.subplots(1, 2, figsize=(12, 5))
266
- axes[0].imshow(dem_a, cmap='terrain')
267
- axes[0].set_title(f"Reference: {Path(match_row['patch_a_path']).stem}")
268
- axes[1].imshow(dem_b, cmap='terrain')
269
- axes[1].set_title(f"Match: {Path(match_row['patch_b_path']).stem}")
270
- for ax in axes:
271
- ax.axis('off')
272
- plt.tight_layout()
273
- plt.show()
274
- ```
275
-
276
- ### Loading Triplet Format (for Metric Learning)
277
-
278
- ```python
279
- # For models using anchor-positive-negative triplets
280
- triplet_df = pd.read_csv('splits/train_triplets.csv')
281
-
282
- row = triplet_df.iloc[0]
283
- anchor = load_dem(row['anchor_path'])[0]
284
- positive = load_dem(row['positive_path'])[0]
285
- negative = load_dem(row['negative_path'])[0]
286
-
287
- # anchor and positive are matching (same location/similar)
288
- # anchor and negative are non-matching (different location)
289
- ```
290
-
291
- ---
292
-
293
- ## 🌍 Data Sources & Processing
294
-
295
- ### Bonn, Germany — IEEE GeoNRW
296
 
297
- **Source**: IEEE GRSS Data and Algorithm Standard Evaluation (DASE) Committee
298
- **Method**: Airborne LiDAR survey
299
- **Resolution**: 1.0 m
300
- **CRS**: ETRS89 / UTM zone 32N (EPSG:25832)
301
- **Vertical Datum**: DHHN92 (German Height Reference System)
302
- **Year**: 2016–2018
303
 
304
- **Processing Applied**:
305
- - Downloaded original GeoNRW tiles covering Bonn municipal area
306
- - Subset to city boundaries using administrative boundary mask
307
- - Re-tiled to standardized 333×333 pixel patches
308
- - Format: GeoTIFF, 32-bit float, no compression (for fast I/O)
309
- - Quality: ±0.1 m vertical accuracy (highest quality tier)
310
-
311
- **Annotations**: 27,000+ handcrafted patch pairs for training/validation
312
- **Role in Dataset**: High-quality baseline for algorithm development
313
-
314
- ---
315
-
316
- ### São Paulo, Brazil — GeoSampa
317
-
318
- **Source**: Prefeitura de São Paulo, SMUL (Secretaria Municipal de Urbanismo e Licenciamento)
319
- **Method**: Airborne LiDAR (700+ original LAS tiles)
320
- **Resolution**: **0.5 m** (highest in dataset)
321
- **CRS**: SIRGAS 2000 / UTM zone 23S (EPSG:31983)
322
- **Vertical Datum**: SIRGAS 2000
323
- **Year**: [Check GeoSampa metadata for exact survey year]
324
-
325
- **Processing Pipeline** (PDAL via Python):
326
-
327
- ```python
328
- # Reproducible PDAL pipeline used for processing
329
- import pdal
330
-
331
- pipeline_json = """
332
- [
333
- {
334
- "type": "readers.las",
335
- "filename": "input.laz"
336
- },
337
- {
338
- "type": "filters.smrf",
339
- "scalar": 1.25,
340
- "slope": 0.15,
341
- "threshold": 0.5,
342
- "window": 16.0
343
- },
344
- {
345
- "type": "writers.gdal",
346
- "filename": "output.tif",
347
- "resolution": 0.5,
348
- "output_type": "max",
349
- "data_type": "float32",
350
- "nodata": -9999
351
- }
352
- ]
353
- """
354
-
355
- pipeline = pdal.Pipeline(pipeline_json)
356
- pipeline.execute()
357
- ```
358
-
359
- **Rationale**:
360
- - **SMRF (Simple Morphological Filter)**: Selected for ground classification in dense urban environment with mixed topography
361
- - **Parameters**: Tuned for São Paulo's vertical morphology (flat floodplains + steep hills)
362
- - **output_type="max"**: Conservative ground estimate using highest ground returns to avoid building residuals
363
- - **No compression**: Prioritized read speed for deep learning training (dataset stored on fast SSD/NVMe recommended)
364
-
365
- **Quality Notes**:
366
- - Expected vertical accuracy: ±0.15 m (based on GeoSampa LiDAR specifications)
367
- - Known artifacts: Water bodies (Tietê/Pinheiros rivers), dense vegetation gaps (>95% canopy cover)
368
- - Coverage gaps: Very dense urban canyons may have incomplete ground returns
369
-
370
- ---
371
-
372
- ### Fortaleza, Brazil — Municipal Survey 2016-2017
373
-
374
- **Source**: Prefeitura Municipal de Fortaleza, SEUMA (Secretaria de Urbanismo e Meio Ambiente)
375
- **Contractor**: Esteio Engenharia e Aerolevantamento S/A
376
- **Method**: Aerial photogrammetric survey
377
- **Resolution**: 1.0 m
378
- **CRS**: SIRGAS 2000 / UTM zone 24S (EPSG:31984)
379
- **Vertical Datum**: [Local datum - verify in source]
380
- **Survey Dates**: 20, 23, 27 December 2016; 06 January 2017
381
-
382
- **Coverage**:
383
- - **Total Area**: 333 km² (full municipal coverage)
384
- - **Detailed Area**: 20 km² high-density core at enhanced resolution
385
- - **Detailed Neighborhoods**: Mucuripe, Meireles, Varjota, Aldeota, Dionísio Torres, Joaquim Távora, plus partial: Papicu, Vicente Pinzon, Cocó, São João do Tauape, Fátima, José Bonifácio, Centro, Praia de Iracema, Cais do Porto
386
-
387
- **Processing**:
388
- - Pre-processed DEM delivered by contractor
389
- - Ground filtering applied by Esteio Engenharia (methodology: proprietary)
390
- - Point density: 1 point/m² (general area), higher in detailed zone
391
- - Subset to 333×333 pixel tiles matching dataset standard
392
-
393
- **Quality Notes**:
394
- - Expected vertical accuracy: ±0.3 m (typical for 1:1000 photogrammetry)
395
- - **Important**: 2016-2017 acquisition date—significant urban development since then
396
- - Limitations: Photogrammetric noise higher than LiDAR; vegetation filtering less reliable
397
- - Coastal areas: Possible tide-related artifacts in beach zones
398
-
399
- ---
400
-
401
- ## 🏷️ Ground Truth & Annotations
402
-
403
- ### Annotation Types
404
-
405
- | Type | Count | Method | Purpose |
406
- |------|-------|--------|---------|
407
- | **Handcrafted** | 27,000+ (Bonn) | Manual expert verification | High-confidence training seed, benchmark evaluation |
408
- | **Synthetic** | [X] | Geometric transforms (rotation, scale, translation) | Data augmentation, invariance training |
409
- | **Automated** | [X] | SIFT+RANSAC candidate generation | Scale training data |
410
-
411
- ### CSV Schema
412
-
413
- **Pair Format** (`splits/*.csv`):
414
-
415
- | Column | Type | Description |
416
- |--------|------|-------------|
417
- | `patch_a_path` | str | Relative path to first patch |
418
- | `patch_b_path` | str | Relative path to second patch |
419
- | `match_valid` | int (0/1) | 1 = geometrically matching, 0 = negative pair |
420
- | `city_a` | str | Source city of patch A (`bonn`, `sao_paulo`, `fortaleza`) |
421
- | `city_b` | str | Source city of patch B |
422
- | `overlap_percent` | float | Geographic overlap for intra-city pairs |
423
- | `transform_matrix` | str | JSON 3×3 homography (for synthetic pairs) |
424
- | `annotation_type` | str | `handcrafted`, `synthetic`, or `automated` |
425
- | `difficulty` | str | `easy`, `medium`, `hard` (for handcrafted) |
426
- | `split` | str | `train`, `val`, or `test` |
427
-
428
- **Triplet Format** (if applicable):
429
- - `anchor_path`, `positive_path`, `negative_path`
430
- - Same metadata columns as above
431
-
432
- ### Cross-City Strategy
433
-
434
- - **Intra-city pairs** (70%): Both patches from same city (baseline difficulty)
435
- - **Inter-city pairs** (30%): Patches from different cities (tests generalization)
436
- - **Hard negatives**: Geographically close but non-matching (e.g., adjacent tiles)
437
-
438
- ---
439
-
440
- ## 📋 Data Splits
441
-
442
- Stratified random sampling ensuring:
443
- - Balanced city representation
444
- - Balanced annotation types
445
- - No geographic leakage (patches from same source tile kept in same split)
446
-
447
- ```python
448
- # Load splits
449
- train = pd.read_csv('splits/train.csv') # 80%
450
- val = pd.read_csv('splits/val.csv') # 10%
451
- test = pd.read_csv('splits/test.csv') # 10%
452
-
453
- # Verify stratification
454
- print(train['city_a'].value_counts())
455
- print(train['annotation_type'].value_counts())
456
- ```
457
-
458
- ---
459
-
460
- ## ⚠️ Quality & Usage Notes
461
-
462
- ### Per-City Characteristics
463
-
464
- | Aspect | Bonn | São Paulo | Fortaleza |
465
- |--------|------|-----------|-----------|
466
- | **Acquisition** | LiDAR | LiDAR | Photogrammetry |
467
- | **Accuracy** | ±0.1 m | ±0.15 m | ±0.3 m |
468
- | **Terrain** | Temperate, rolling | Tropical, flat+steep | Coastal, flat |
469
- | **Urban density** | Medium | Very high | High (coastal) |
470
- | **Age** | 2016-2018 | [Year] | 2016-2017 (dated) |
471
- | **Best for** | Baseline quality | High-res features | Domain robustness |
472
-
473
- ### Known Limitations
474
-
475
- 1. **CRS Differences**: Each city uses different UTM zones. Users must handle reprojection for cross-city visualization (model training uses normalized patches).
476
- 2. **Resolution Mismatch**: 0.5m (SP) vs 1.0m (Bonn/Fortaleza). Consider resampling or multi-scale training.
477
- 3. **Temporal Gap**: Fortaleza data is 8-9 years old; significant urban change expected.
478
- 4. **Compression**: São Paulo tiles are uncompressed for training speed—expect larger file sizes.
479
- 5. **Water Artifacts**: All cities have elevation artifacts over water bodies (rivers, reservoirs).
480
-
481
- ### Recommended Usage
482
-
483
- - **Training**: Use all cities for domain generalization
484
- - **Validation**: Use handcrafted Bonn annotations for reliable metrics
485
- - **Testing**: Hold-out test set includes inter-city pairs for generalization assessment
486
- - **Domain Adaptation**: Bonn→São Paulo→Fortaleza provides increasing difficulty curve
487
 
488
  ---
489
 
@@ -503,46 +197,72 @@ Under the following terms:
503
  When using this dataset, your publication or product must include:
504
 
505
  1. **Dataset citation** (see [Citation](#-citation) section)
506
- 2. **Original source acknowledgments**:
507
- - "Bonn data derived from IEEE GeoNRW Dataset © IEEE GRSS"
508
- - "São Paulo data derived from GeoSampa © Prefeitura de São Paulo"
509
- - "Fortaleza data derived from Municipal Survey © Prefeitura de Fortaleza"
 
 
 
 
 
 
 
 
 
 
510
 
511
  ---
512
 
513
- ## 🐛 Issues & Support
514
 
515
- - **Bug reports**: [GitHub Issues](https://github.com/[your-repo]/GeoMatch-DEM/issues)
516
- - **Questions**: [GitHub Discussions](https://github.com/[your-repo]/GeoMatch-DEM/discussions)
517
- - **Email**: [your-email@institution.edu]
518
 
519
- ### Known Issues
 
 
 
 
 
 
520
 
521
- - [ ] Fortaleza download in progress (ETA: [date])
522
- - [ ] Total dataset size TBD after Fortaleza integration
523
- - [ ] Zenodo DOI pending registration
524
 
525
  ---
526
 
527
- ## 🗺️ Related Resources
528
 
529
- - [IEEE GeoNRW Dataset](https://ieee-dataport.org/open-access/geonrw)
530
- - [GeoSampa Portal](https://geosampa.prefeitura.sp.gov.br/)
531
- - [FAIR Principles](https://www.go-fair.org/fair-principles/)
532
- - [ISO 19115-2 Standard](https://www.iso.org/standard/67039.html)
533
 
534
  ---
535
 
536
  ## 📅 Changelog
537
 
 
 
 
 
 
 
 
 
538
  ### v1.0 (2026-03-30)
539
  - Initial release
540
  - Bonn: 27,000+ handcrafted annotations
541
- - São Paulo: 700+ tiles processed (0.5m)
542
- - Fortaleza: Integration in progress
543
 
544
  ---
545
 
546
- **Maintainer**: Sabrina Correa | Universidade Federal de Vicosa | sabrina.correa@ufv.br
 
 
 
 
 
 
 
 
 
547
 
548
- **Last Updated**: 2026-03-30
 
9
  - dem
10
  - depth
11
  - cv
12
+ pretty_name: MatchGeo-DEM
13
  size_categories:
14
  - 1K<n<10K
15
  ---
 
 
 
16
  [![License: CC BY 4.0](https://img.shields.io/badge/License-CC%20BY%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by/4.0/)
17
+ [![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)
18
 
19
+ **A curated multi-city Digital Elevation Model (DEM) dataset for training and benchmarking local feature matching algorithms in urban and natural terrain analysis.**
20
 
21
  ---
22
 
23
  ## 🎯 Overview
24
 
25
+ MatchGeo aggregates high-resolution elevation data from **13 distinct environments across 6 continents** to support research in cross-domain local feature detection and matching. The dataset provides standardized 333×333 pixel patches with handcrafted and automated ground truth annotations for training computer vision models on geospatial data.
26
 
27
  ### Key Features
28
 
29
+ - **Multi-source fusion**: LiDAR, photogrammetry, Structure-from-Motion (SfM), and satellite stereophotogrammetry
30
+ - **Global coverage**: 13 cities across 6 continents — from Antarctica to the Sahara
31
  - **Standardized format**: All cities processed to 333×333 pixel GeoTIFF tiles
32
+ - **Rich annotations**: 20,000+ verified patch pairs (GER_BN and BRA_SP)
33
  - **Cross-city evaluation**: Explicit intra-city and inter-city test splits
34
  - **FAIR compliant**: ISO 19115-2 metadata, DOI registration, open access
35
 
36
  ---
37
 
38
+ ## 🗺️ Dataset Coverage
39
+
40
+ | City | Country | Acquisition | Resolution | Year | Terrain | Labelled |
41
+ |------|---------|-------------|------------|------|---------|----------|
42
+ | Antarctic Peninsula (ATA_MV) | Antarctica | REMA (Satellite) | 1.0 m | 2009–2024 | Polar, ice | ❌ |
43
+ | São Paulo (BRA_SP) | Brazil | Airborne LiDAR | **0.5 m** | 2020 | Tropical, urban | ✅ |
44
+ | Wutai Shan (CHN_WS) | China | UAV SfM | 1.0 m | 2021 | Mountainous | ❌ |
45
+ | El Hierro (ESP_EH) | Spain | Airborne LiDAR | 1.0 m | 2022–2025 | Volcanic, coastal | ❌ |
46
+ | Lahti (FIN_LM) | Finland | LiDAR + Photogrammetry | 2.0 m | 2020–2026 | Temperate, lakes | ❌ |
47
+ | Bonn (GER_BN) | Germany | Airborne LiDAR | 1.0 m | 2016–2018 | Temperate, rolling | ✅ |
48
+ | Sinabung Volcano (IDN_SV) | Indonesia | UAS SfM | 0.87 m | 2018 | Volcanic, tropical | ❌ |
49
+ | Almaty City (KAZ_AC) | Kazakhstan | Pleiades Tristereo | 1.0 m | 2017 | Semi-arid, urban | ❌ |
50
+ | Wadi Al-Akhdar (KSA_WA) | Saudi Arabia | SPOT 6 Stereo | 1.6 m | 2016 | Desert, graben | ❌ |
51
+ | Hebron Fault (NAM_HF) | Namibia | WorldView-3 Stereo | 0.53 m | 2017 | Arid, fault zone | ❌ |
52
+ | Kapiti Coast (NZL_KP) | New Zealand | Airborne LiDAR | 1.0 m | 2010–2025 | Coastal, temperate | ❌ |
53
+ | Tarlac (PHL_TA) | Philippines | Airborne LiDAR | 1.0 m | 2014–2017 | Tropical, flat | ❌ |
54
+ | Grand Canyon (USA_GC) | United States | LiDAR + IfSAR | 10.0 m | 2020–2026 | Desert, canyon | ❌ |
55
+
56
+ **Total Size**: ~47.2 GB
57
+ **Total Tiles**: 20,793 (333×333 px patches)
58
+ **Labelled Tiles**: 213 (Bonn)
59
+ **Ground Truth Annotations**: 27,000+ handcrafted point annotations (Bonn)
60
+
61
+ ---
62
 
63
+ ## 📊 Per-City Statistics
64
+
65
+ | City | Source | Method | Resolution | Labelled Tiles | Total Tiles | CRS | Year | Area |
66
+ |------|--------|--------|------------|----------------|-------------|-----|------|------|
67
+ | **ATA_MV** | REMA | Satellite stereophotogrammetry | 1.0 m | 0 | 5,625 | EPSG:3031 | 2009–2024 | Antarctic Peninsula |
68
+ | **BRA_SP** | GeoSampa | Airborne LiDAR | **0.5 m** | 0 | 558 | EPSG:31983 | 2020 | São Paulo municipal |
69
+ | **CHN_WS** | OpenTopography | UAV SfM | 1.0 m | 0 | 1,076 | EPSG:32649 | 2021 | Wutai Shan region |
70
+ | **ESP_EH** | PNOA-LiDAR | Airborne LiDAR | 1.0 m | 0 | 2,460 | EPSG:3040 | 2022–2025 | El Hierro, Canary Islands |
71
+ | **FIN_LM** | NLS Finland | LiDAR + Photogrammetry | 2.0 m | 0 | 248 | EPSG:3067 | 2020–2026 | Lahti region |
72
+ | **GER_BN** | Geobasis NRW | Airborne LiDAR | 1.0 m | 213 | 1,759 | EPSG:25832 | 2016–2018 | Bonn city limits |
73
+ | **IDN_SV** | OpenTopography | UAS SfM | 0.87 m | 0 | 181 | EPSG:32647 | 2018 | Sinabung Volcano |
74
+ | **KAZ_AC** | OpenTopography | Pleiades Tristereo | 1.0 m | 0 | 887 | EPSG:32643 | 2017 | Almaty City |
75
+ | **KSA_WA** | OpenTopography | SPOT 6 Stereo | 1.6 m | 0 | 3,880 | EPSG:32637 | 2016 | Wadi Al-Akhdar Graben |
76
+ | **NAM_HF** | OpenTopography | WorldView-3 Stereo | 0.53 m | 0 | 1,457 | EPSG:32733 | 2017 | Hebron Fault |
77
+ | **NZL_KP** | LINZ | Airborne LiDAR | 1.0 m | 0 | 1,776 | EPSG:2193 | 2010–2025 | Kapiti Coast |
78
+ | **PHL_TA** | LiPAD | Airborne LiDAR | 1.0 m | 0 | 286 | EPSG:32651 | 2014–2017 | Tarlac region |
79
+ | **USA_GC** | USGS 3DEP | LiDAR + IfSAR | 10.0 m | 0 | 600 | EPSG:6341 | 2020–2026 | Grand Canyon |
80
 
81
+ ---
82
+
83
+ ## 📁 Repository Structure
84
+
85
+ ```
86
+ MatchGeo-DEM-v1/
87
+ ├── README.md # This file
88
+ ├── DATASET_DESCRIPTION.md # FAIR-compliant formal description
89
+ ├── LICENSE # CC BY 4.0 full legal text
90
+ ├── CITATION.cff # Machine-readable citation
91
+ ├── manifest.json # Central catalog (JSON-LD)
92
+ ├── checksums.sha256 # File integrity verification
93
+ │
94
+ ├── data/
95
+ │ ├── ATA_MV/
96
+ │ │ ├── ATA_MV.tif # Merged DEM (BigTIFF, tiled, DEFLATE)
97
+ │ │ ├── ATA_MV_extent.geojson # Bounding polygon
98
+ │ │ ├── ATA_MV_tiles.geojson # Tile index
99
+ │ │ ├── ATA_MV_metadata.json # ISO 19115-2 + OGC 23-008r3 metadata
100
+ │ │ ├── ATA_MV.qmd # QGIS layer metadata
101
+ │ │ └── tiles/ # 333×333 pixel patches
102
+ │ ├── BRA_SP/
103
+ │ │ ├── BRA_SP.tif
104
+ │ │ ├── BRA_SP_extent.geojson
105
+ │ │ ├── BRA_SP_tiles.geojson
106
+ │ │ ├── BRA_SP_metadata.json
107
+ │ │ ├── BRA_SP.qmd
108
+ │ │ ├── annotations/ # JSON keypoint files (labelled)
109
+ │ │ │ └── BRA_SP_###_###.json # 4,000+ handcrafted annotations
110
+ │ │ └── tiles/
111
+ │ ├── ... (11 more cities)
112
+ │ └── GER_BN/
113
+ │ ├── GER_BN.tif
114
+ │ ├── GER_BN_extent.geojson
115
+ │ ├── GER_BN_tiles.geojson
116
+ │ ├── GER_BN_metadata.json
117
+ │ ├── GER_BN.qmd
118
+ │ ├── annotations/ # 20,000+ handcrafted annotations
119
+ │ │ └── GER_BN_###_###.json
120
+ │ └── tiles/
121
+ │
122
+ ├── splits/
123
+ │ ├── train.csv # Tile IDs for training
124
+ │ ├── validation.csv # Tile IDs for validation
125
+ │ └── test.csv # Tile IDs for testing
126
+ │
127
+ └── scripts/
128
+ ├── process_las.py # PDAL pipeline for LAS→DEM
129
+ ├── crop_tiles.py # 333×333 patch extraction
130
+ ├── fix_nodata.py # NoData standardization
131
+ ├── write_qgis_metadata.py # QGIS .qmd generator
132
+ └── cleanup_aux_xml.py # Remove QGIS temp files
133
+ ```
134
 
135
  ---
136
 
 
138
 
139
  | Repository | Link | Notes |
140
  |------------|------|-------|
141
+ | **Zenodo (Primary)** | [https://doi.org/10.5281/zenodo.19339008](https://doi.org/10.5281/zenodo.19339008) | DOI-backed, permanent archive |
142
+ | Hugging Face Datasets | [https://huggingface.co/datasets/paeslemesa/matchgeo](https://huggingface.co/datasets/paeslemesa/matchgeo) | Streaming loader available |
 
143
 
144
  ### Quick Download
145
 
146
  ```bash
147
  # Using zenodo_get (pip install zenodo_get)
148
+ zenodo_get 10.5281/zenodo.19339008
149
 
150
  # Or wget/curl (specific file)
151
+ wget https://zenodo.org/record/19339008/files/MatchGeo-DEM-v1.1.zip
152
  ```
153
 
154
  ---
155
 
156
+
157
+
158
  ## 🎓 Citation
159
 
160
  If you use this dataset in your research, please cite:
161
 
162
  ```bibtex
163
+ @dataset{correa_2026_matchgeo,
164
+ author = {Correa, S. P. L. P. and Panzini, D and Oliveira, H. N. and Belton, D. and Ivánová, I and Santos, A. de Paula},
165
+ title = {{MatchGeo: Digital Elevation Model Dataset for Local Feature Matching}},
166
  year = 2026,
167
  publisher = {Zenodo},
168
+ version = {1.1},
169
+ doi = {10.5281/zenodo.21229785},
170
+ url = {https://doi.org/10.5281/zenodo.21229785},
171
+ note = {Contains data derived from REMA, GeoSampa, OpenTopography, CNIG, Maanmittauslaitos, Geobasis NRW, LINZ, LiPAD, and USGS 3DEP}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
172
  }
173
  ```
174
 
175
+ **Plain text citation:**
176
+ Correa, S. P. L. P., Panzini, D., Oliveira, H. N., Belton, D., Ivánová, I., Santos, A. de Paula. (2026). *MatchGeo: Digital Elevation Model Dataset for Local Feature Matching* (Version 1.1) [Data set]. Zenodo. https://doi.org/10.5281/zenodo.19339008
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
177
 
178
+ ### Source Dataset Citations
 
 
 
 
 
179
 
180
+ When using specific cities, also cite the original sources (see `DATASET_DESCRIPTION.md` Section 8 for full BibTeX).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
181
 
182
  ---
183
 
 
197
  When using this dataset, your publication or product must include:
198
 
199
  1. **Dataset citation** (see [Citation](#-citation) section)
200
+ 2. **Original source acknowledgments** (per city):
201
+ - *ATA_MV: Data derived from REMA © Polar Geospatial Center / University of Minnesota*
202
+ - *BRA_SP: Data derived from GeoSampa © Prefeitura de São Paulo*
203
+ - *CHN_WS: Data derived from OpenTopography dataset by Zhou, C. (DOI: 10.5069/G98C9TGT)*
204
+ - *ESP_EH: Data derived from PNOA-LiDAR © CNIG / Instituto Geográfico Nacional*
205
+ - *FIN_LM: Data derived from Maanmittauslaitos © National Land Survey of Finland*
206
+ - *GER_BN: Data derived from Geobasis NRW © Bezirksregierung Köln*
207
+ - *IDN_SV: Data derived from OpenTopography dataset by Carr, B. (DOI: 10.5069/G8988568)*
208
+ - *KAZ_AC: Data derived from OpenTopography dataset by Amey et al. (DOI: 10.5069/G9H41PMP)*
209
+ - *KSA_WA: Data derived from OpenTopography dataset by Matthieu et al. (DOI: 10.5069/G9V40SDZ)*
210
+ - *NAM_HF: Data derived from OpenTopography dataset by Salomon et al. (DOI: 10.5069/G9W957BC)*
211
+ - *NZL_KP: Data derived from LINZ © Land Information New Zealand*
212
+ - *PHL_TA: Data derived from LiPAD © UP Diliman TCAGP / DREAM Program*
213
+ - *USA_GC: Data derived from USGS 3DEP © U.S. Geological Survey*
214
 
215
  ---
216
 
217
+ ## 🏗️ Processing Pipeline
218
 
219
+ All cities were processed through a standardised PDAL pipeline:
 
 
220
 
221
+ 1. **Acquisition** — Raw data from source portals (LAZ, DEM, point clouds)
222
+ 2. **Preprocessing** — City-specific filtering (ground classification, outlier removal, noise filtering)
223
+ 3. **Rasterization** — PDAL `writers.gdal` with `output_type=max` (DSM)
224
+ 4. **Standardization** — Float32, NoData=-9999, BigTIFF, Tiled, DEFLATE compression
225
+ 5. **Patch Extraction** — Non-overlapping 333×333 pixel grid
226
+ 6. **Annotation** — Handcrafted keypoints (Bonn, São Paulo)
227
+ 7. **Metadata** — ISO 19115-2 + OGC 23-008r3 compliant per-city metadata
228
 
229
+ See `scripts/process_las.py` for the full PDAL pipeline.
 
 
230
 
231
  ---
232
 
233
+ ## 🐛 Issues & Support
234
 
235
+ - **Bug reports**: [GitHub Issues](https://github.com/paeslemesa/matchgeo/issues)
236
+ - **Questions**: [GitHub Discussions](https://github.com/paeslemesa/matchgeo/discussions)
237
+ - **Email**: sabrina.correa@ufv.br
 
238
 
239
  ---
240
 
241
  ## 📅 Changelog
242
 
243
+ ### v1.1 (2026-05-11)
244
+ - Expanded to 13 cities across 6 continents
245
+ - Reorganised into `data/` folder with per-city metadata
246
+ - Added QGIS `.qmd` metadata files
247
+ - Standardised NoData values to -9999.0
248
+ - Added BigTIFF, tiled, DEFLATE compression
249
+ - Updated to MatchGeo branding
250
+
251
  ### v1.0 (2026-03-30)
252
  - Initial release
253
  - Bonn: 27,000+ handcrafted annotations
 
 
254
 
255
  ---
256
 
257
+ ## 🙏 Acknowledgments
258
+
259
+ - **Data providers**: REMA (Polar Geospatial Center / University of Minnesota), Prefeitura de São Paulo (GeoSampa), OpenTopography, CNIG (Spain), Maanmittauslaitos (Finland), Geobasis NRW (Germany), LINZ (New Zealand), UP Diliman TCAGP / DREAM (Philippines), USGS (United States)
260
+ - **Imagery providers**: CNES / Airbus DS (Pleiades), Maxar (WorldView-3), SPOT Image (SPOT 6)
261
+ - **Funding**: This project is currently funded by **CNPq (Brazil)**
262
+ - **Institutional support**: Universidade Federal de Viçosa (UFV)
263
+
264
+ ---
265
+
266
+ **Maintainer**: Sabrina Correa | Universidade Federal de Viçosa | sabrina.correa@ufv.br
267
 
268
+ **Last Updated**: 2026-07-06