<scp>GeoAnalystBench</scp> : A <scp>GeoAI</scp> Benchmark for Assessing Large Language Models for Spatial Analysis Workflow and Code Generation

ABSTRACT Recent advances in large language models (LLMs) have fueled growing interest in automating geospatial analysis and GIS workflows, yet their actual capabilities remain uncertain. In this work, we call for rigorous evaluation of LLMs on well‐defined geoprocessing tasks before making claims about full GIS automation. To this end, we present GeoAnalystBench, a benchmark of 50 Python‐based tasks derived from real‐world geospatial problems and validated by GIS experts. Each task is paired with a minimum deliverable product, and evaluation covers workflow validity, structural alignment, semantic similarity, and code quality (CodeBLEU). Using this benchmark, we assess both proprietary and open‐source models. Results reveal a clear gap: proprietary models such as ChatGPT‐4o‐mini achieve high validity (95%) and stronger code alignment (CodeBLEU 0.39), while smaller open‐source models like DeepSeek‐R1‐7B often generate incomplete or inconsistent workflows (48.5% validity, 0.272 CodeBLEU). Tasks requiring deeper spatial reasoning, such as spatial relationship detection or optimal site selection, remain the most challenging across all models. These findings demonstrate both the promise and limitations of current LLMs in GIS automation and provide a reproducible framework to advance GeoAI research with human‐in‐the‐loop support.

Authors

Institutions

Publication Details

Journal
Transactions in GIS
Published
2025-10-13
DOI
https://doi.org/10.1111/tgis.70135
Citations
6
Primary Topic
Geographic Information Systems Studies
Type
article
Field-Weighted Citation Impact
40.33

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

GeoAnalystBench : A GeoAI Benchmark for Assessing Large Language Models for Spatial Analysis Workflow and Code Generation

Huan Sun, Ying Nie, Y. X. Zhao, Qianheng Zhang et al.
6 citations
Transactions in GIS
Geographic Information Systems Studies
40.33
article

GeoAnalystBench : A GeoAI Benchmark for Assessing Large Language Models for Spatial Analysis Workflow and Code Generation

Huan Sun, Ying Nie, Y. X. Zhao, Qianheng Zhang, Ziru Chen, Wei Chen, Shijie Chen, Yu Su, Song Gao
article en
6 citations

Abstract

ABSTRACT Recent advances in large language models (LLMs) have fueled growing interest in automating geospatial analysis and GIS workflows, yet their actual capabilities remain uncertain. In this work, we call for rigorous evaluation of LLMs on well‐defined geoprocessing tasks before making claims about full GIS automation. To this end, we present GeoAnalystBench, a benchmark of 50 Python‐based tasks derived from real‐world geospatial problems and validated by GIS experts. Each task is paired with a minimum deliverable product, and evaluation covers workflow validity, structural alignment, semantic similarity, and code quality (CodeBLEU). Using this benchmark, we assess both proprietary and open‐source models. Results reveal a clear gap: proprietary models such as ChatGPT‐4o‐mini achieve high validity (95%) and stronger code alignment (CodeBLEU 0.39), while smaller open‐source models like DeepSeek‐R1‐7B often generate incomplete or inconsistent workflows (48.5% validity, 0.272 CodeBLEU). Tasks requiring deeper spatial reasoning, such as spatial relationship detection or optimal site selection, remain the most challenging across all models. These findings demonstrate both the promise and limitations of current LLMs in GIS automation and provide a reproducible framework to advance GeoAI research with human‐in‐the‐loop support.

Transactions in GISVol. 29(7)
University of Wisconsin–Madison (US), The Ohio State University (US)
National Science Foundation
Openalex Percentile: Top 0%
Geographic Information Systems Studies
40.33
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.