mlsanityData to 14 Oct 2026

Evaluation of Code LLMs on Geospatial Code Generation

arXiv 2410.04617 ↗First posted 6 Oct 2024cs.CL cs.SEcited by 8

Not on the map. Why?

Abstract (arXiv)

Software development support tools have been studied for a long time, with recent approaches using Large Language Models (LLMs) for code generation. These models can generate Python code for data science and machine learning applications. LLMs are helpful for software engineers because they increase productivity in daily work. An LLM can also serve as a "mentor" for inexperienced software developers, and be a viable learning support. High-quality code generation with LLMs can also be beneficial in geospatial data science. However, this domain poses different challenges, and code generation LLMs are typically not evaluated on geospatial tasks. Here, we show how we constructed an evaluation benchmark for code generation models, based on a selection of geospatial tasks. We categorised geospatial tasks based on their complexity and required tools. Then, we created a dataset with tasks that test model capabilities in spatial reasoning, spatial data processing, and geospatial tools usage. The dataset consists of specific coding problems that were manually created for high quality. For every problem, we proposed a set of test scenarios that make it possible to automatically check the generated code for correctness. In addition, we tested a selection of existing code generation LLMs for code generation in the geospatial domain. We share our dataset and reproducible evaluation code on a public GitHub repository, arguing that this can serve as an evaluation benchmark for new LLMs in the future. Our dataset will hopefully contribute to the development new models capable of solving geospatial coding tasks with high accuracy. These models will enable the creation of coding assistants tailored for geospatial applications.

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 16 of its 35 references that are in the map. First posted on arXiv 6 Oct 2024.

Builds on

16 of 35 references.

References · 16

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  2. 2021Program Synthesis with Large Language Modelscited by 3,637
  3. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  4. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
  5. 2024Gemma: Open Models Based on Gemini Research and Technologycited by 916
  6. 2021Measuring Coding Challenge Competence With APPScited by 902
  7. 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 452
  8. 2022The Stack: 3 TB of permissively licensed source codecited by 359
  9. 2024CodeGemma: Open Code Models Based on Gemmacited by 150
  10. 2022Large Language Models Meet NL2Code: A Surveycited by 138
  11. 2024Granite Code Models: A Family of Open Foundation Models for Code Intelligencecited by 117
  12. 2022CERT: Continual Pre-Training on Sketches for Library-Oriented Code Generationcited by 87
4 more
  1. 2023GPT4GEO: How a Language Model Sees the World's Geographycited by 68
  2. 2023Autonomous GIS: the next-generation AI-powered GIScited by 53
  3. 2023Are Large Language Models Geospatially Knowledgeable?cited by 30
  4. 2021Geographic Question Answering: Challenges, Uniqueness, Classification, and Future Directionscited by 24

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 5; 2026: 2.

8 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Can Large Language Models Generate Geospatial Code?
  2. 2024An LLM Agent for Automatic Geospatial Data Analysis
  3. 2025Holistic Evaluation of State-of-the-Art LLMs for Code Generation
  4. 2025GeoJSON Agents:A Multi-Agent LLM Architecture for Geospatial Analysis-Function Calling vs Code Generation
  5. 2024GEE-OPs: An Operator Knowledge Base for Geospatial Code Generation on the Google Earth Engine Platform Powered by Large Language Models
  6. 2025MRG-Bench: Evaluating and Exploring the Requirements of Context for Repository-Level Code Generation
  7. 2026CodeEval: A pedagogical approach for targeted evaluation of code-trained Large Language Models
  8. 2024Low-Cost Language Models: Survey and Performance Evaluation on Python Code Generation