GS-QA2 / README_source.md
Zoe's picture
Upload README_source.md with huggingface_hub
4984cbd verified
|
Raw
History Blame Contribute Delete
4.4 kB
metadata
pretty_name: 'GS-QA2 Source Data: OSM Vector Layers and ASTER DEM Raster'
license: other
license_name: odbl-and-aster-gdem
license_link: https://opendatacommons.org/licenses/odbl/
language:
  - en
tags:
  - geospatial
  - gis
  - openstreetmap
  - digital-elevation-model
  - aster-gdem
  - raster
  - vector
  - postgis
  - benchmark
viewer: false

GS-QA2 Source Data

Reference geospatial data underlying 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 and the code in github.com/ZhuochengShang/QARV.

Contents

Path Contents Format
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
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
dem/tile_list.txt Listing of all DEM tile filenames text
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
dem/tile_index.gpkg Spatial index of every DEM tile footprint (if present) GeoPackage

Rebuilding the reference database

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:

  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/).
  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.

All geometries and rasters use EPSG:4326 (WGS 84).

Provenance

Licensing and attribution

  • OSM-derived data (osm/): © OpenStreetMap contributors, licensed under the Open Database License (ODbL) 1.0. Any derived database must comply with ODbL share-alike terms.
  • 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.

Citation

@inproceedings{shang2026gsqa2,
  title     = {GS-QA2: A Benchmark for Question Answering over Raster--Vector Data},
  author    = {Shang, Zhuocheng and Elmahallawy, Shahd and Al Nazi, Zabir and Hristidis, Vagelis and Eldawy, Ahmed},
  year      = {2026},
  note      = {Benchmark and code: https://github.com/ZhuochengShang/QARV}
}

@article{saeedan2026gsqa,
  title   = {GS-QA: A Benchmark for Geospatial Question Answering},
  author  = {Saeedan, Majid and Shihab Rashid, Muhammad and Eldawy, Ahmed and Hristidis, Vagelis},
  journal = {arXiv preprint arXiv:2605.22811},
  year    = {2026}
}

Contact

Zhuocheng Shang — zshan011@ucr.edu — University of California, Riverside