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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- other
|
| 5 |
+
language:
|
| 6 |
+
- ko
|
| 7 |
+
- en
|
| 8 |
+
tags:
|
| 9 |
+
- GIS
|
| 10 |
+
- benchmark
|
| 11 |
+
- geospatial
|
| 12 |
+
- LLM
|
| 13 |
+
- agent
|
| 14 |
+
- QGIS
|
| 15 |
+
- MCP
|
| 16 |
+
- spatial-analysis
|
| 17 |
+
pretty_name: GIS-Bench
|
| 18 |
+
size_categories:
|
| 19 |
+
- n<100
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
# GIS-Bench: A Benchmark for Evaluating LLM-based GIS Automation Agents
|
| 23 |
+
|
| 24 |
+
## Dataset Description
|
| 25 |
+
|
| 26 |
+
**GIS-Bench** is a benchmark framework designed to evaluate the capability of Large Language Model (LLM)-based agents in automating GIS (Geographic Information System) tasks using the Model Context Protocol (MCP).
|
| 27 |
+
|
| 28 |
+
This benchmark was developed as part of a master's thesis research and targets real-world spatial analysis workflows executable in QGIS Desktop via Claude + MCP integration.
|
| 29 |
+
|
| 30 |
+
- **Paper:** *GIS-Bench: LLM 기반 GIS 자동화 에이전트 평가 벤치마크* (KCC 2026, submitted)
|
| 31 |
+
- **Repository:** [yiseo0/GIS-Bench](https://huggingface.co/datasets/yiseo0/GIS-Bench)
|
| 32 |
+
- **License:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
|
| 33 |
+
|
| 34 |
+
---
|
| 35 |
+
|
| 36 |
+
## Benchmark Overview
|
| 37 |
+
|
| 38 |
+
| Item | Details |
|
| 39 |
+
|------|---------|
|
| 40 |
+
| Total Tasks | 45 |
|
| 41 |
+
| Difficulty Levels | 3 (Level 1 / Level 2 / Level 3) |
|
| 42 |
+
| Task Type | GIS spatial analysis & visualization |
|
| 43 |
+
| Output Format | HTML (Leaflet.js map), PNG, JPG |
|
| 44 |
+
| Evaluation Method | VLM-based automated scoring (Claude Sonnet) |
|
| 45 |
+
| Scoring | 130-point raw → 100-point normalized |
|
| 46 |
+
| Pass Threshold | 60 points (normalized) |
|
| 47 |
+
|
| 48 |
+
---
|
| 49 |
+
|
| 50 |
+
## Evaluated Models
|
| 51 |
+
|
| 52 |
+
| Model | Condition | Pass Rate (Overall) |
|
| 53 |
+
|-------|-----------|-------------------|
|
| 54 |
+
| Claude (Sonnet) + QGIS MCP | Agentic | **100%** |
|
| 55 |
+
| Claude (Sonnet) Baseline | No MCP | ~67% |
|
| 56 |
+
| GPT-5.2 Baseline | No MCP | ~69% |
|
| 57 |
+
|
| 58 |
+
> Statistical significance confirmed via McNemar's test (p < 0.05)
|
| 59 |
+
|
| 60 |
+
---
|
| 61 |
+
|
| 62 |
+
## Task Structure
|
| 63 |
+
|
| 64 |
+
Tasks are organized across 3 difficulty levels:
|
| 65 |
+
|
| 66 |
+
| Level | Description | Example |
|
| 67 |
+
|-------|-------------|---------|
|
| 68 |
+
| Level 1 | Basic data loading & visualization | Load a shapefile and display on map |
|
| 69 |
+
| Level 2 | Spatial filtering & styling | Filter buildings by area > 500㎡ with color coding |
|
| 70 |
+
| Level 3 | Multi-step spatial analysis | Buffer analysis + intersection + styled output |
|
| 71 |
+
|
| 72 |
+
Each task entry includes:
|
| 73 |
+
- `task_no`: Task ID (1–45)
|
| 74 |
+
- `prompt`: Natural language instruction (Korean)
|
| 75 |
+
- `level`: Difficulty level (1, 2, or 3)
|
| 76 |
+
|
| 77 |
+
---
|
| 78 |
+
|
| 79 |
+
## Data Sources
|
| 80 |
+
|
| 81 |
+
All spatial datasets used in this benchmark are sourced from Korean public data portals under open licenses.
|
| 82 |
+
|
| 83 |
+
| 데이터명 | 실제 파일 | 형식 | 공간 유형 | 좌표계 | 출처 | 라이선스 |
|
| 84 |
+
|---------|---------|------|---------|--------|------|---------|
|
| 85 |
+
| 서울시 CCTV 설치 현황 | `few_shot_test_서울시 안심이 CCTV 연계 현황` | CSV | Point | EPSG:4326 (WGS84) | [서울 열린데이터광장](https://data.seoul.go.kr) | 공공누리 1유형 |
|
| 86 |
+
| 서울시 고도지구 경계 | `UQ123_용도지구(고도지구)_20250805` | SHP | Polygon | EPSG:5186 | [국토정보플랫폼](https://www.nsdi.go.kr) | 공공누리 1유형 |
|
| 87 |
+
| 서울시 행정경계 | `서울시_SIG.shp` | SHP | Polygon | EPSG:5186 | [공공데이터포털](https://www.data.go.kr) | 공공누리 1유형 |
|
| 88 |
+
| 수치표고모델 (DEM) | `(B080)공개DEM_34602_img_2025` | GeoTIFF | Raster | EPSG:5186 | [국토정보플랫폼](https://www.nsdi.go.kr) | 공공누리 1유형 |
|
| 89 |
+
| 고해상도 위성영상 | `Landsat_위성영상의_정규물지수_2024` | GeoTIFF | Raster | EPSG:5186 | [NASA EarthData](https://earthdata.nasa.gov) | Public Domain |
|
| 90 |
+
|
| 91 |
+
> All datasets are publicly available and free to use with attribution.
|
| 92 |
+
|
| 93 |
+
> **Note:** 일부 프롬프트는 초기 실험 당시 워딩("대여소" 등)을 그대로 유지합니다. 실제 사용 데이터는 서울시 CCTV 연계 현황이며, 자연어 지시의 모호성을 처리하는 능력도 평가 요소에 포함됩니다.
|
| 94 |
+
|
| 95 |
+
---
|
| 96 |
+
|
| 97 |
+
## Evaluation Pipeline
|
| 98 |
+
|
| 99 |
+
Evaluation is performed using **VLM-based automated scoring** with Claude Sonnet as the judge model.
|
| 100 |
+
|
| 101 |
+
### Scoring Criteria (130-point raw scale)
|
| 102 |
+
|
| 103 |
+
#### Basic Quality (100 pts)
|
| 104 |
+
| Criterion | Max Score | Description |
|
| 105 |
+
|-----------|-----------|-------------|
|
| 106 |
+
| `exists` | 20 | Meaningful visualization present |
|
| 107 |
+
| `accuracy` | 30 | Correct region and dataset used |
|
| 108 |
+
| `requirement` | 30 | Color, filter, buffer conditions met |
|
| 109 |
+
| `completeness` | 20 | Legend, title, labels complete |
|
| 110 |
+
|
| 111 |
+
#### Spatial Accuracy (30 pts)
|
| 112 |
+
| Criterion | Max Score | Description |
|
| 113 |
+
|-----------|-----------|-------------|
|
| 114 |
+
| `spatial_location` | 15 | Data displayed in correct geographic area |
|
| 115 |
+
| `geometry_validity` | 5 | No polygon/buffer distortion |
|
| 116 |
+
| `numeric_match` | 10 | Numeric conditions reflected in output |
|
| 117 |
+
|
| 118 |
+
**Normalization:** `score_normalized = round(total_raw / 130 * 100)`
|
| 119 |
+
|
| 120 |
+
Each task is evaluated **3 times** (N=3) and the average score is used for robustness.
|
| 121 |
+
|
| 122 |
+
See [`evaluation/eval_criteria.md`](evaluation/eval_criteria.md) for the full evaluation prompt and criteria details.
|
| 123 |
+
|
| 124 |
+
---
|
| 125 |
+
|
| 126 |
+
## Reference Outputs
|
| 127 |
+
|
| 128 |
+
Since GIS tasks do not always have a single deterministic "ground truth," this benchmark provides **reference outputs** — screenshots generated by the benchmark author under each task condition. These serve as visual references for what a correct result should look like.
|
| 129 |
+
|
| 130 |
+
Reference screenshots are provided in `assets/screenshots/` organized by model and task ID.
|
| 131 |
+
|
| 132 |
+
---
|
| 133 |
+
|
| 134 |
+
## MCP Tool Dependency
|
| 135 |
+
|
| 136 |
+
This benchmark was conducted using **QGIS MCP** to connect Claude to QGIS Desktop.
|
| 137 |
+
|
| 138 |
+
- **Tool:** [jjsantos01/qgis_mcp](https://github.com/jjsantos01/qgis_mcp)
|
| 139 |
+
- **Description:** MCP server + QGIS plugin that allows LLMs to control QGIS Desktop
|
| 140 |
+
- **Note:** The MCP tool code is not included in this repository. Please refer to the original repository for installation.
|
| 141 |
+
|
| 142 |
+
---
|
| 143 |
+
|
| 144 |
+
## Repository Structure
|
| 145 |
+
|
| 146 |
+
```
|
| 147 |
+
GIS-Bench/
|
| 148 |
+
├── README.md # This file (Dataset Card)
|
| 149 |
+
├── data/
|
| 150 |
+
│ └── tasks.json # 45 task prompts with level labels
|
| 151 |
+
├── evaluation/
|
| 152 |
+
│ ├── run_evaluation_vlm_v3.py # VLM evaluation pipeline
|
| 153 |
+
│ └── eval_criteria.md # Scoring criteria & judge prompt
|
| 154 |
+
├── results/
|
| 155 |
+
│ └── leaderboard.json # Evaluation results per model
|
| 156 |
+
└── assets/
|
| 157 |
+
└── screenshots/ # Reference output screenshots
|
| 158 |
+
```
|
| 159 |
+
|
| 160 |
+
---
|
| 161 |
+
|
| 162 |
+
## Citation
|
| 163 |
+
|
| 164 |
+
If you use GIS-Bench in your research, please cite:
|
| 165 |
+
|
| 166 |
+
```bibtex
|
| 167 |
+
@inproceedings{gisbench2026,
|
| 168 |
+
title = {GIS-Bench: LLM 기반 GIS 자동화 에이전트 평가 벤치마크},
|
| 169 |
+
author = {김이소 and 장두성},
|
| 170 |
+
booktitle = {한국정보과학회 학술발표논문집 (KCC 2026)},
|
| 171 |
+
year = {2026}
|
| 172 |
+
}
|
| 173 |
+
```
|
| 174 |
+
|
| 175 |
+
---
|
| 176 |
+
|
| 177 |
+
## License
|
| 178 |
+
|
| 179 |
+
- **Benchmark tasks, evaluation code, and results:** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
|
| 180 |
+
- **Spatial datasets:** 공공누리 1유형 (출처 표시 조건, 각 데이터 출처 참조)
|
| 181 |
+
- **QGIS MCP tool:** Not included. See [jjsantos01/qgis_mcp](https://github.com/jjsantos01/qgis_mcp)
|