Skip to main content

ETHNOS_APP

Home • Search • Journals • List 0

Is ChatGPT a Good Geospatial Data Analyst? Exploring the Integration of Natural Language into Structured Query Language within a Spatial Database

Bibliographic Data

ID22033332
AuthorsYongyao Jiang (0000-0002-4591-483X, George Mason University), Chaowei Yang (0000-0001-7768-4066, George Mason University, corresponding author)
Year2024
Volume13
Issue1
Pages26
Publication date2024-01-10
Open AccessYes
TypeARTICLE
VenueISPRS International Journal of Geo-Information (JOURNAL)
Journal identifiersISSN: 2220-9964 • E-ISSN: 2220-9964
PublisherMDPI AG (PUBLISHER • IT)
DOI10.3390/ijgi13010026
OpenAlexW4390705060
LanguageEN
Citations received8
References cited11

With recent advancements, large language models (LLMs) such as ChatGPT and Bard have shown the potential to disrupt many industries, from customer service to healthcare. Traditionally, humans interact with geospatial data through software (e.g., ArcGIS 10.3) and programming languages (e.g., Python). As a pioneer study, we explore the possibility of using an LLM as an interface to interact with geospatial datasets through natural language. To achieve this, we also propose a framework to (1) train an LLM to understand the datasets, (2) generate geospatial SQL queries based on a natural language question, (3) send the SQL query to the backend database, (4) parse the database response back to human language. As a proof of concept, a case study was conducted on real-world data to evaluate its performance on various queries. The results show that LLMs can be accurate in generating SQL code for most cases, including spatial joins, although there is still room for improvement. As all geospatial data can be stored in a spatial database, we hope that this framework can serve as a proxy to improve the efficiency of spatial data analyses and unlock the possibility of automated geospatial analytics

Data definition language · Database · Geography · Geospatial analysis · Information retrieval · Programming language · Spatial analysis · Spatial database · SQL · Computer Science · Data Quality and Management · Data-Driven Disease Surveillance · Privacy-Preserving Technologies in Data

  • A Natural Language-Based Automatic Identification System Trajectory Query Approach Using Large Language Models

    Open Access•Xuan Guo, Shutong Yu et al.•ISPRS International Journal of…•2025

  • GeoIR-Compiler

    Open Access•C L Zhang, Chaolin Zhang et al.•ISPRS International Journal of…•2026

  • Generative AI for Geospatial Analysis

    Open Access•Zachary Sherman, Sandesh Sharma Dulal et al.•ISPRS International Journal of…•2025

  • Grasp

    Open Access•Xiangjun Cheng, Hongmei Zhang et al.•ISPRS International Journal of…•2026

  • ChatGeoAI

    Open Access•Ali Mansourian, Rachid Oucheikh•ISPRS International Journal of…•2024

  • GPT-Based Text-to-SQL for Spatial Databases

    Open Access•Hui Wang, Li Guo et al.•ISPRS International Journal of…•2025

  • Comparing the Spatial Querying Capacity of Large Language Models

    Andrea Renshaw, Ismini Lourentzou et al.•The Professional Geographer•2025

  • How would AI define neighborhood boundaries? A comparison with human-crowdsourced data

    Open Access•Yue Lin, Crystal J Bae et al.•Environment and Planning B Urban…•2025

  • ChatGPT Utility in Healthcare Education, Research, and Practice

    Open Access•Malik Sallam•Healthcare•2023

  • Chatting about ChatGPT

    Open Access•Brian Lund, Brady D Lund et al.•Library Hi Tech News•2023

  • ChatGPT for good? On opportunities and challenges of large language models for education

    Open Access•Enkelejda Kasneci, Kathrin Sessler et al.•Learning and Individual Differences•2023

  • Mapping with ChatGPT

    Open Access•Ruiyang Tao, Jinwen Xu•ISPRS International Journal of…•2023

Citations per year4
Citation span2024 - 2026 (3)
Highly citedNo

Tools

Open DOIOpen Access
Ethnos_APP • Open Source Project • MIT License • Frontend v2.0.0 • Privacy and Cookies • API Documentation: api.ethnos.app/docs • API Source Code: GitHub • DOI: 10.5281/zenodo.17049435 • Frontend Source Code: GitHub • DOI: 10.5281/zenodo.17050053 • cruz.rio.br • Expectantes Misericordiae