ShapefileGPT: a multi-agent large language model framework for automated shapefile processing
International Journal of Digital Earth · 31.12.2025 · 18 (2)
DOI: 10.1080/17538947.2025.2577884 ↗Kurz gefasst
Fachartikel in der Zeitschrift International Journal of Digital Earth, online erschienen am 14.11.2025. Verfasst von Qingming Lin und 8 weiteren Autor:innen. Die Arbeit wurde bisher 25-mal zitiert (Crossref) und nennt 51 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY-NC 4.0). Gefördert von: Natural Science Foundation of Zhejiang Province, Deep-time Digital Earth (DDE) Big Science Program, the National Natural Science Foundation of China.
Abstract (Originalsprache)
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.
Förderung
- Natural Science Foundation of Zhejiang Province
- Deep-time Digital Earth (DDE) Big Science Program
- the National Natural Science Foundation of China
- the National Key Research and Development Program of China
Zitieren
APA
Lin, Q., Hu, R., Li, H., Wu, S., Li, Y., Fang, K., Feng, H., Du, Z., & Xu, L. (2025). ShapefileGPT: a multi-agent large language model framework for automated shapefile processing. International Journal of Digital Earth, 18(2). https://doi.org/10.1080/17538947.2025.2577884
Vancouver
Lin Q, Hu R, Li H, Wu S, Li Y, Fang K, et al. ShapefileGPT: a multi-agent large language model framework for automated shapefile processing. International Journal of Digital Earth. 2025;18(2). doi:10.1080/17538947.2025.2577884
BibTeX
@article{Lin2025,
author = {Lin, Qingming and Hu, Rui and Li, Huaxia and Wu, Sensen and Li, Yadong and Fang, Kai and Feng, Hailin and Du, Zhenhong and Xu, Liuchang},
title = {ShapefileGPT: a multi-agent large language model framework for automated shapefile processing},
journal = {International Journal of Digital Earth},
year = {2025},
volume = {18},
number = {2},
doi = {10.1080/17538947.2025.2577884}
}
EUVIMED