ShapefileGPT: a multi-agent large language model framework for automated shapefile processing

Vector data is a core structure in geographic information science (GIS), with Shapefile being the industry standard format. However, processing such data requires domain expertise, obstructing interdisciplinary research in spatial data analysis. While large language models (LLMs) exhibit breakthroughs in natural language processing and task automation, they still face challenges in handling the spatial-topological complexities inherent in GIS vector data. To address these challenges, we propose ShapefileGPT, an innovative LLM-powered framework for automating Shapefile processing in spatial analysis. ShapefileGPT utilizes a multi-agent architecture comprising the planner and worker. The planner orchestrates task decomposition and supervision, while the worker implements spatial operation execution. We organized a custom spatial analysis library with API documentation, enabling the worker agent to efficiently process Shapefiles through function calls and validate the framework’s effectiveness. For evaluation, we constructed a preliminary evaluation dataset based on authoritative textbooks, encompassing tasks in categories such as geometric operations and spatial queries. ShapefileGPT achieved a 95.24% task success rate, outperforming GPT models. Compared to general-purpose LLMs, it effectively handles complex vector data analysis, demonstrating superior spatial data understanding and analytical capabilities. This innovation expands the possibilities for GIS automation, with promising implications for interdisciplinary spatial analysis and applications.

Authors

Institutions

Publication Details

Journal
International Journal of Digital Earth
Published
2025-11-14
DOI
https://doi.org/10.1080/17538947.2025.2577884
Citations
5
Primary Topic
Geographic Information Systems Studies
Type
article
Field-Weighted Citation Impact
33.61
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

ShapefileGPT: a multi-agent large language model framework for automated shapefile processing

Huaxia Li, Qingming Lin, Hailin Feng, Liuchang Xu et al.
5 citations
International Journal of Digital Earth
Geographic Information Systems Studies
33.61
article

ShapefileGPT: a multi-agent large language model framework for automated shapefile processing

Huaxia Li, Qingming Lin, Hailin Feng, Liuchang Xu, Zhenhong Du, Yongdan Li, Rui Hu, Sensen Wu, Kai Fang
article en
5 citations

Abstract

Vector data is a core structure in geographic information science (GIS), with Shapefile being the industry standard format. However, processing such data requires domain expertise, obstructing interdisciplinary research in spatial data analysis. While large language models (LLMs) exhibit breakthroughs in natural language processing and task automation, they still face challenges in handling the spatial-topological complexities inherent in GIS vector data. To address these challenges, we propose ShapefileGPT, an innovative LLM-powered framework for automating Shapefile processing in spatial analysis. ShapefileGPT utilizes a multi-agent architecture comprising the planner and worker. The planner orchestrates task decomposition and supervision, while the worker implements spatial operation execution. We organized a custom spatial analysis library with API documentation, enabling the worker agent to efficiently process Shapefiles through function calls and validate the framework’s effectiveness. For evaluation, we constructed a preliminary evaluation dataset based on authoritative textbooks, encompassing tasks in categories such as geometric operations and spatial queries. ShapefileGPT achieved a 95.24% task success rate, outperforming GPT models. Compared to general-purpose LLMs, it effectively handles complex vector data analysis, demonstrating superior spatial data understanding and analytical capabilities. This innovation expands the possibilities for GIS automation, with promising implications for interdisciplinary spatial analysis and applications.

International Journal of Digital EarthVol. 18(2)
Zhejiang A & F University (CN), Agriculture and Forestry University (NP), BaiCheng Normal University (CN), State Council of the People's Republic of China (CN), Zhejiang Academy of Forestry (CN), Zhejiang University (CN), Xiaomi (China) (CN)
Openalex Percentile: Top 0%
Geographic Information Systems Studies
33.61
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.