Enhancing Autonomous GIS with DeepSeek-Coder: an open-source large language model approach

Kim-Son Nguyen, The-Vinh Nguyen, Van-Viet Nguyen, Minh-Hue Luong Thi, Huu-Khanh Nguyen, Duc-Binh Nguyen

Abstract


Large language models (LLMs) have paved a way for geographic information system (GIS) that can solve spatial problems with minimal human intervention. However, current commercial LLM-based GIS solutions pose many limitations for researchers, such as proprietary APIs, high operational costs, and internet connectivity requirements, making them inaccessible in resource-constrained environments. To overcome this, this paper introduced the LLM-Geo framework with the DS-GeoAI platform, integrating the DeepSeek-Coder model (the open-source, lightweight version deepseek-coder-1.3b-base) running directly on Google Colab. This approach eliminates API dependence, thus reducing deployment costs, and ensures data independence and sovereignty. Despite having only 1.3 billion parameters, DeepSeek-Coder proved to be highly effective: generating accurate Python code for complex spatial analysis, achieving a success rate comparable to commercial solutions. After an automated debugging step, the system achieved 90% accuracy across three case studies. With its strong error- handling capabilities and intelligent sample data generation, DS-GeoAI proves highly adaptable to real-world challenges. Quantitative results showed a cost reduction of up to 99% compared to API-based solutions, while expanding access to advanced geo-AI technology for organizations with limited resources.

Keywords


Autonomous GIS; DeepSeek-Coder; Large language models; Machine learning; Spatial analysis

Full Text:

PDF


DOI: http://doi.org/10.11591/ijece.v16i1.pp423-436

Copyright (c) 2026 Kim-Son Nguyen, The-Vinh Nguyen, Van-Viet Nguyen, Minh-Hue Luong Thi, Huu-Khanh Nguyen, Duc-Binh Nguyen

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

International Journal of Electrical and Computer Engineering (IJECE)
p-ISSN 2088-8708, e-ISSN 2722-2578

This journal is published by theĀ Institute of Advanced Engineering and Science (IAES).