Zoe commited on
Commit
4984cbd
·
verified ·
1 Parent(s): e35c61e

Upload README_source.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README_source.md +74 -0
README_source.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: "GS-QA2 Source Data: OSM Vector Layers and ASTER DEM Raster"
3
+ license: other
4
+ license_name: odbl-and-aster-gdem
5
+ license_link: https://opendatacommons.org/licenses/odbl/
6
+ language:
7
+ - en
8
+ tags:
9
+ - geospatial
10
+ - gis
11
+ - openstreetmap
12
+ - digital-elevation-model
13
+ - aster-gdem
14
+ - raster
15
+ - vector
16
+ - postgis
17
+ - benchmark
18
+ viewer: false
19
+ ---
20
+
21
+ # GS-QA2 Source Data
22
+
23
+ Reference geospatial data underlying **[GS-QA2](https://huggingface.co/datasets/Zoe/GS-QA2)**, a benchmark for question answering over raster–vector data. This repository contains the raw vector and raster inputs needed to rebuild the reference PostGIS database, execute the benchmark's ground-truth SQL queries, and run the baselines — use it together with the QA pairs in [Zoe/GS-QA2](https://huggingface.co/datasets/Zoe/GS-QA2) and the code in [github.com/ZhuochengShang/QARV](https://github.com/ZhuochengShang/QARV).
24
+
25
+ ## Contents
26
+
27
+ | Path | Contents | Format |
28
+ |---|---|---|
29
+ | `osm/osm_extract.tar.gz` | Raw OSM extracts of the United States (folders `lakes/`, `parks/`, `pois/`, `postal_codes/`, `roads/`) — the exact input to the benchmark's ingestion scripts | tar.gz of GeoJSON |
30
+ | `dem/dem_tiles_*.tar` | 1,364 ASTER GDEM v3 1°×1° GeoTIFF tiles (1 arc-second ≈ 30 m, EPSG:4326) covering the contiguous United States | tar shards of GeoTIFF |
31
+ | `dem/tile_list.txt` | Listing of all DEM tile filenames | text |
32
+ | `dem/needed_dem_tiles.txt` | The tile set required by the benchmark (usable to re-download from NASA Earthdata instead of fetching the shards) | text |
33
+ | `dem/tile_index.gpkg` | Spatial index of every DEM tile footprint (if present) | GeoPackage |
34
+
35
+ ## Rebuilding the reference database
36
+
37
+ The benchmark's ground-truth SQL expects PostGIS tables `pois`, `roads`, `parks`, `lakes`, `regions` and a raster table `public.dem_us`. Follow `GS-QA/ingestion/` in the [QARV repository](https://github.com/ZhuochengShang/QARV):
38
+
39
+ 1. Extract `osm/osm_extract.tar.gz` to `$DATA_ROOT/osm_extract/` and load the vector tables with `ingest_osm_postgis.sh` (which uses the `*_processor.py` loaders and schema files from `GS-QA/generator/`).
40
+ 2. Extract the DEM shards (`for t in dem/dem_tiles_*.tar; do tar -xf "$t"; done`) to `$DEM_ROOT` and load with `ingest_dem_postgis.sh`. The script runs `raster2pgsql` with 256×256 tiling — the 1,364 source GeoTIFFs become the 265,950 in-database raster tiles reported in the paper — and builds a GiST spatial index.
41
+
42
+ All geometries and rasters use EPSG:4326 (WGS 84).
43
+
44
+ ## Provenance
45
+
46
+ - The OSM extracts were produced with [osmx](https://bitbucket.org/bdlabucr/osmx/src/master/) from [Geofabrik](https://www.geofabrik.de/data/download.html) United States extracts, by the authors of the original [GS-QA benchmark](https://arxiv.org/abs/2605.22811) (also mirrored at [this Google Drive folder](https://drive.google.com/drive/folders/1pz895-lpGAaNJXz2mzjnB7SAgWwD0Uag?usp=share_link)).
47
+ - The DEM tiles are ASTER GDEM Version 3 (ASTGTM v003) granules obtained from [NASA Earthdata / LP DAAC](https://doi.org/10.5067/ASTER/ASTGTM.003); `dem/needed_dem_tiles.txt` identifies the granules so they can equally be re-downloaded from the source.
48
+
49
+ ## Licensing and attribution
50
+
51
+ - **OSM-derived data (`osm/`):** © [OpenStreetMap](https://www.openstreetmap.org/copyright) contributors, licensed under the [Open Database License (ODbL) 1.0](https://opendatacommons.org/licenses/odbl/). Any derived database must comply with ODbL share-alike terms.
52
+ - **DEM tiles (`dem/`):** **ASTER GDEM is a product of METI and NASA.** ASTER GDEM v3 data are freely available and redistributable; retain this attribution. See the [ASTGTM v003 documentation](https://doi.org/10.5067/ASTER/ASTGTM.003).
53
+
54
+ ## Citation
55
+
56
+ ```bibtex
57
+ @inproceedings{shang2026gsqa2,
58
+ title = {GS-QA2: A Benchmark for Question Answering over Raster--Vector Data},
59
+ author = {Shang, Zhuocheng and Elmahallawy, Shahd and Al Nazi, Zabir and Hristidis, Vagelis and Eldawy, Ahmed},
60
+ year = {2026},
61
+ note = {Benchmark and code: https://github.com/ZhuochengShang/QARV}
62
+ }
63
+
64
+ @article{saeedan2026gsqa,
65
+ title = {GS-QA: A Benchmark for Geospatial Question Answering},
66
+ author = {Saeedan, Majid and Shihab Rashid, Muhammad and Eldawy, Ahmed and Hristidis, Vagelis},
67
+ journal = {arXiv preprint arXiv:2605.22811},
68
+ year = {2026}
69
+ }
70
+ ```
71
+
72
+ ## Contact
73
+
74
+ Zhuocheng Shang — zshan011@ucr.edu — University of California, Riverside