ShapefileGPT: a multi-agent large language model framework for automated shapefile processing
Qingming Lin, Rui Hu, Huaxia Li, Sensen Wu, Yongdan Li, Kai Fang, Hailin Feng, Zhenhong Du,
Zhejiang A & F University · Zhejiang University
Key points
From the paper's conclusion- 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.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- GeoJSON agents: a multi-agent LLM architecture for geospatial analysis—function calling vs. code generationBig Earth Data · 2026
- GeoAgent: a hierarchical LLM-based multi-agent architecture for autonomous spatial analysisInternational Journal of Geographical Information Systems · 2026
- On the Use of LLMs for GIS-Based Spatial AnalysisISPRS International Journal of Geo-Information · 2025
- GeoAnalystBench : A GeoAI Benchmark for Assessing Large Language Models for Spatial Analysis Workflow and Code GenerationTransactions in GIS · 2025
- An Automated Framework for Natural Language-Based Spatial Query Using Large Language ModelsJournal of Geovisualization and Spatial Analysis · 2026
- GeoColab: an LLM-based multi-agent collaborative framework for geospatial code generationInternational Journal of Digital Earth · 2025