GEE-OPs: An Operator Knowledge Base for Geospatial Code Generation on the Google Earth Engine Platform Powered by Large Language Models
Not on the map. Why?
Abstract (arXiv)
As the scale and complexity of spatiotemporal data continue to grow rapidly, the use of geospatial modeling on the Google Earth Engine (GEE) platform presents dual challenges: improving the coding efficiency of domain experts and enhancing the coding capabilities of interdisciplinary users. To address these challenges and improve the performance of large language models (LLMs) in geospatial code generation tasks, we propose a framework for building a geospatial operator knowledge base tailored to the GEE JavaScript API. This framework consists of an operator syntax knowledge table, an operator relationship frequency table, an operator frequent pattern knowledge table, and an operator relationship chain knowledge table. By leveraging Abstract Syntax Tree (AST) techniques and frequent itemset mining, we systematically extract operator knowledge from 185,236 real GEE scripts and syntax documentation, forming a structured knowledge base. Experimental results demonstrate that the framework achieves over 90% accuracy, recall, and F1 score in operator knowledge extraction. When integrated with the Retrieval-Augmented Generation (RAG) strategy for LLM-based geospatial code generation tasks, the knowledge base improves performance by 20-30%. Ablation studies further quantify the necessity of each knowledge table in the knowledge base construction. This work provides robust support for the advancement and application of geospatial code modeling techniques, offering an innovative approach to constructing domain-specific knowledge bases that enhance the code generation capabilities of LLMs, and fostering the deeper integration of generative AI technologies within the field of geoinformatics.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 9 of its 41 references that are in the map. First posted on arXiv 7 Dec 2024.
Builds on
9 of 41 references.
References · 9
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
- 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 886
- 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 688
- 2023Beyond Chain-of-Thought, Effective Graph-of-Thought Reasoning in Language Modelscited by 52
- 2023On the Effectiveness of Large Language Models in Domain-Specific Code Generationcited by 44
- 2024LawGPT: A Chinese Legal Knowledge-Enhanced Large Language Modelcited by 34
- 2024GeoCode-GPT: A Large Language Model for Geospatial Code Generation Taskscited by 11
- 2024Chain-of-Programming (CoP) : Empowering Large Language Models for Geospatial Code Generationcited by 3
Built on by
Citing papers per year: 2025: 2; 2026: 1.
3 papers.
- 2025GeoAnalystBench: A GeoAI benchmark for assessing large language models for spatial analysis workflow and code generationcited by 10
- 2025AutoGEEval: A Multimodal and Automated Framework for Geospatial Code Generation on GEE with Large Language Modelscited by 0
- 2026Risk-Aware LLM Agents for Geospatial Data Retrieval: Design and Preliminary Adversarial Evaluationcited by 0
- 2026Risk-Aware LLM Agents for Geospatial Data Retrieval: Design and Preliminary Adversarial Evaluation13 Jun 2026
- 2025GeoAnalystBench: A GeoAI benchmark for assessing large language models for spatial analysis workflow and code generation7 Sep 2025
- 2025AutoGEEval: A Multimodal and Automated Framework for Geospatial Code Generation on GEE with Large Language Models19 May 2025
Similar, not cited
Close in wording, no citation either way
- 2024Geo-FuB: A Method for Constructing an Operator-Function Knowledge Base for Geospatial Code Generation Tasks Using Large Language Models
- 2024Can Large Language Models Generate Geospatial Code?
- 2025GeoJSON Agents:A Multi-Agent LLM Architecture for Geospatial Analysis-Function Calling vs Code Generation
- 2024Evaluation of Code LLMs on Geospatial Code Generation
- 2024An LLM Agent for Automatic Geospatial Data Analysis
- 2025GeoBenchX: Benchmarking LLMs in Agent Solving Multistep Geospatial Tasks
- 2025GeoEvolve: Automating Geospatial Model Discovery via Multi-Agent Large Language Models
- 2025Coordinates from Context: Using LLMs to Ground Complex Location References