GeoJSON agents: a multi-agent LLM architecture for geospatial analysis—function calling vs. code generation

作者
Qianqian Luo,Qingming Lin,Liuchang Xu,Sensen Wu,Ruichen Mao,Chao Wang,Hailin Feng,Bo Huang,Zhenhong Du
出处
期刊: [Figshare (United Kingdom)]
标识
DOI:10.6084/m9.figshare.31120496
摘要

Large Language Models (LLMs) have demonstrated substantial progress in task automation and natural language understanding. However, without domain expertise in geographic information science (GIS), they continue to encounter limitations including reduced accuracy and unstable performance when processing complex spatial tasks. To address these challenges, we propose GeoJSON agents—a novel multi-agent LLM architecture specifically designed for geospatial analysis. This framework transforms natural language instructions into structured GeoJSON operations through two widely adopted LLM enhancement techniques: function calling and code generation. The architecture integrates three core components: task parsing, agent collaboration, and result integration. The planner agent systematically decomposes user-defined tasks into executable subtasks, while specialized worker agents perform spatial data processing and analysis either by invoking predefined function APIs or by dynamically generating and executing Python-based analytical code. The system produces reusable, standards-compliant GeoJSON outputs through iterative refinement. To systematically evaluate both approaches, we constructed a hierarchical benchmark comprising 70 tasks spanning basic, intermediate, and advanced complexity levels, conducting experiments with OpenAI’s GPT-4o as the core model. Results indicate that the code generation–based agent achieved 97.14% accuracy, while the function calling–based agent attained 85.71%—both significantly outperforming the best-performing general-purpose model (48.57%). Comparative analysis reveals that code generation offers superior flexibility for complex, open-ended tasks, whereas function calling provides enhanced execution stability for structured operations. This study represents the first systematic integration of GeoJSON data with a multi-agent LLM framework and provides empirical evidence comparing two mainstream enhancement methodologies in geospatial contexts, offering new perspectives for improving GeoAI system performance and reducing barriers to GIS application.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
2秒前
风雨兼程发布了新的文献求助10
2秒前
一个O完成签到,获得积分10
2秒前
xxy发布了新的文献求助10
2秒前
kukuda发布了新的文献求助10
4秒前
英姑的应助被小北采纳,获得10
5秒前
5秒前
5秒前
大牛顿发布了新的文献求助10
5秒前
初景发布了新的文献求助20
6秒前
Poimi完成签到,获得积分10
6秒前
6秒前
爆米花的应助被林钰凯采纳,获得10
6秒前
sheoxixi完成签到,获得积分10
6秒前
柔柔柔柔子完成签到,获得积分10
6秒前
坦率的红花完成签到,获得积分10
7秒前
蓝天的应助被丰富的不惜采纳,获得10
8秒前
看文献了发布了新的文献求助10
8秒前
9秒前
开心的渊思完成签到,获得积分10
10秒前
10秒前
子凡发布了新的文献求助10
11秒前
Ava的应助被badbenzene采纳,获得10
11秒前
lulujiang发布了新的文献求助10
11秒前
songkoro发布了新的文献求助10
12秒前
12秒前
幻想毕业中完成签到,获得积分10
13秒前
13秒前
13秒前
星辰大海的应助被好学采纳,获得10
13秒前
14秒前
李晓丽完成签到 ,获得积分10
15秒前
15秒前
AtoPos完成签到,获得积分10
15秒前
David完成签到,获得积分10
16秒前
xixi的应助被Dai采纳,获得30
16秒前
HNO3发布了新的文献求助10
16秒前
小王完成签到,获得积分10
16秒前
广东荔枝发布了新的文献求助10
16秒前
17秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
IRTSD: Open-Source Data and Toolset for Electromagnetic Transient Analysis of Disturbances and IBR Control Malfunctions in Transmission Systems 1000
Spec 401: Standards for Jet Fuel Facility and Equipment Commissioning and Flushing at Airports, 2026.1 (Original Issue) 1000
Spec 103: Standard for Jet Fuel Quality Control at Airports, Revision 2026.1 1000
A Consideration on Use of Material Grades for Hull Structural Members Based on Fracture Toughness(Second Report) 500
AI Disclosure in Annual Reports: Evolution, Determinants, and Capital Market Participants’ Perceptions 500
5th World Conference on Detergents: Reinventing the Industry : Opportunities and Challenges 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8106826
求助须知:如何正确求助?哪些是违规求助? 9515215
关于积分的说明 21496610
捐赠科研通 7683052
什么是DOI,文献DOI怎么找? 3410167
关于科研通互助平台的介绍 2537618
邀请新用户注册赠送积分活动 2450068