Previous Article in Journal
Surrounding Vitality Reasoning of Attractions Supported by Knowledge Graph
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

On the Use of LLMs for GIS-Based Spatial Analysis

by
Roberto Pierdicca
1,*,
Nikhil Muralikrishna
1,
Flavio Tonetto
2 and
Alessandro Ghianda
3
1
Department of Civil Engineering, Construction and Architecture (DICEA), Marche Polytechnic University, 60128 Ancona, Italy
2
Sinergia EPC S.r.l Pesaro, 61121 Pesaro, Italy
3
EBWorld S.r.l, Information Technology and Services, 61122 Pesaro, Italy
*
Author to whom correspondence should be addressed.
ISPRS Int. J. Geo-Inf. 2025, 14(10), 401; https://doi.org/10.3390/ijgi14100401 (registering DOI)
Submission received: 16 July 2025 / Revised: 30 September 2025 / Accepted: 7 October 2025 / Published: 14 October 2025
(This article belongs to the Topic Artificial Intelligence Models, Tools and Applications)

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.
Keywords: Large Language Models (LLMs); GIS automation; AI-assisted GIS workflows; human–machine comparison in GIS Large Language Models (LLMs); GIS automation; AI-assisted GIS workflows; human–machine comparison in GIS

Share and Cite

MDPI and ACS Style

Pierdicca, R.; Muralikrishna, N.; Tonetto, F.; Ghianda, A. On the Use of LLMs for GIS-Based Spatial Analysis. ISPRS Int. J. Geo-Inf. 2025, 14, 401. https://doi.org/10.3390/ijgi14100401

AMA Style

Pierdicca R, Muralikrishna N, Tonetto F, Ghianda A. On the Use of LLMs for GIS-Based Spatial Analysis. ISPRS International Journal of Geo-Information. 2025; 14(10):401. https://doi.org/10.3390/ijgi14100401

Chicago/Turabian Style

Pierdicca, Roberto, Nikhil Muralikrishna, Flavio Tonetto, and Alessandro Ghianda. 2025. "On the Use of LLMs for GIS-Based Spatial Analysis" ISPRS International Journal of Geo-Information 14, no. 10: 401. https://doi.org/10.3390/ijgi14100401

APA Style

Pierdicca, R., Muralikrishna, N., Tonetto, F., & Ghianda, A. (2025). On the Use of LLMs for GIS-Based Spatial Analysis. ISPRS International Journal of Geo-Information, 14(10), 401. https://doi.org/10.3390/ijgi14100401

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop