AI Chat Paper
Note: Please note that the following content is generated by AMiner AI. SciOpen does not take any responsibility related to this content.
{{lang === 'zh_CN' ? '文章概述' : 'Summary'}}
{{lang === 'en_US' ? '中' : 'Eng'}}
Chat more with AI
Article Link
Collect
Show Outline
Outline
Show full outline
Hide outline
Outline
Show full outline
Hide outline
Article | Open Access

GEE-OPs: an operator knowledge base for geospatial code generation on the Google Earth Engine platform powered by large language models

Shuyang Houa Jianyuan LiangaAnqi ZhaoaHuayi Wua,b ( )
State Key Laboratory of Information Engineering in Surveying, Mapping and Remote Sensing, Wuhan University, Wuhan, China
Collaborative Innovation Center of Geospatial Technology, Wuhan University, Wuhan, China
Show Author Information

Abstract

As spatiotemporal data grows in complexity, utilizing geospatial modeling on the Google Earth Engine (GEE) platform poses challenges in improving coding efficiency for experts and enhancing the coding capabilities of interdisciplinary users. To address these challenges, we propose a framework for constructing a geospatial operator knowledge base tailored to the GEE JavaScript API. The framework includes an operator syntax knowledge table, an operator relationship frequency knowledge table, an operator frequent pattern knowledge table, and an operator relationship chain knowledge table. Leveraging Abstract Syntax Tree (AST) techniques and frequent itemset mining, we extract operator knowledge from 295,943 real GEE scripts and syntax documentation, forming a structured knowledge base. Experimental results demonstrate that the proposed framework achieves an accuracy ranging from 87% to 93% in operator relationship extraction tasks, measured by accuracy, recall, and F1 score metrics. In operator relationship chain extraction tasks, the framework achieves a performance range of 0.79 to 0.89 across LCS, Ngram, Siamese, and BERT-based evaluations. In geospatial code generation tasks, GEE-OPs improves the executability of mainstream Large Language Models (LLMs) by 38.0% to 44.9%, enhances correctness by 24.1% to 47.2%, and boosts readability by 4.7% to 7.6%. Ablation experiments further validate the essential role of each knowledge table in enhancing model performance. Additionally, key performance indicators – including response time, lines of code, token consumption, and memory usage – are documented to assist readers in replicating the experiments and gaining deeper insights into system performance. This work advances geospatial code modeling techniques and facilitates the application of LLMs in geoinformatics, contributing to the integration of generative AI into the field.

References

【1】
【1】
 
 
Geo-Spatial Information Science
Pages 429-450

{{item.num}}

Comments on this article

Go to comment

< Back to all reports

Review Status: {{reviewData.commendedNum}} Commended , {{reviewData.revisionRequiredNum}} Revision Required , {{reviewData.notCommendedNum}} Not Commended Under Peer Review

Review Comment

Close
Close
Cite this article:
Hou S, Liang J, Zhao A, et al. GEE-OPs: an operator knowledge base for geospatial code generation on the Google Earth Engine platform powered by large language models. Geo-Spatial Information Science, 2026, 29(1): 429-450. https://doi.org/10.1080/10095020.2025.2505556

4

Views

0

Crossref

0

Web of Science

0

Scopus

0

CSCD

Received: 17 December 2024
Accepted: 09 May 2025
Published: 29 May 2025
© 2025 Wuhan University.

This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. The terms on which this article has been published allow the posting of the Accepted Manuscript in a repository by the author(s) or with their consent.