On the Use of LLMs for GIS-Based Spatial Analysis
Roberto Pierdicca, Nikhil Muralikrishna, F. Tonetto, Alessandro Ghianda
Marche Polytechnic University · Institut des Corps Gras
Key points
From the paper's conclusion- These findings highlight the significant potential of integrating LLMs into GISs, demonstrating clear advantages in workflow automation, user-friendliness, and broader adoption of advanced spatial analysis methodologies.
Abstract
This paper presents an approach integrating Large Language Models (LLMs), specifically GPT-4 and the open-source DeepSeek-R1, into Geographic Information System (GIS) workflows to enhance the accessibility, flexibility, and efficiency of spatial analysis tasks. We designed and implemented a system capable of interpreting natural language instructions provided by users and translating them into automated GIS workflows through dynamically generated Python scripts. An interactive graphical user interface (GUI), built using CustomTkinter, was developed to enable intuitive user interaction with GIS data and processes, reducing the need for advanced programming or technical expertise. We conducted an empirical evaluation of this approach through a comparative case study involving typical GIS tasks such as spatial data validation, data merging, buffer analysis, and thematic mapping using urban datasets from Pesaro, Italy. The performance of our automated system was directly compared against traditional manual workflows executed by 10 experienced GIS analysts. The results from this evaluation indicate a substantial reduction in task completion time, decreasing from approximately 1 h and 45 min in the manual approach to roughly 27 min using our LLM-driven automation, without compromising analytical quality or accuracy. Furthermore, we systematically evaluated the system’s factual reliability using a diverse set of geospatial queries, confirming robust performance for practical GIS tasks. Additionally, qualitative feedback emphasized improved usability and accessibility, particularly for users without specialized GIS training. These findings highlight the significant potential of integrating LLMs into GISs, demonstrating clear advantages in workflow automation, user-friendliness, and broader adoption of advanced spatial analysis methodologies.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- GeoAnalystBench : A GeoAI Benchmark for Assessing Large Language Models for Spatial Analysis Workflow and Code GenerationTransactions in GIS · 2025
- LLM4GIS: Methods, Applications, and ProspectsISPRS International Journal of Geo-Information · 2026
- 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
- ShapefileGPT: a multi-agent large language model framework for automated shapefile processingInternational Journal of Digital Earth · 2025
- An Automated Framework for Natural Language-Based Spatial Query Using Large Language ModelsJournal of Geovisualization and Spatial Analysis · 2026