R for Geospatial Predictive Mapping: Takeaways from the Talk

A summary of key points from my talk at the Rome R Users Group on practical workflows for reliable spatial predictions using R (2025-11-27).
spatial
spatial-patterns
spatial-machine-learning
rstats
rspatial
talk
Author
Published

December 1, 2025

Title slide

Slides: https://jakubnowosad.com/rome2025

Video recording: https://youtu.be/uZe7thh80MI

Reproducible code: https://jakubnowosad.com/rome2025/index.R

Geospatial predictive mapping is a common task across many domains, aiming to produce continuous surfaces from point observations and spatial predictors. There are many algorithms available to perform this task, ranging from simple interpolation methods to complex machine learning models, and a variety of R packages implement these methods. Thus, producing a map from points is easy, but understanding how reliable that map is is much harder.

In my talk at the Rome R Users Group (Nov 27, 2025), I presented practical R workflows for generating and evaluating spatial predictions. Using plant species richness data across South America, I compared methods such as Inverse Distance Weighting, ordinary and universal Kriging, and Random Forests. These approaches often produce visually appealing maps, but they can be misleading. Common issues include unrealistic predictions outside the observed value ranges, predictions for environments not represented in the training data, and overly optimistic accuracy metrics when training and test points are spatially clustered.

To address these problems, I focused on two complementary tools:

Together, kNNDM and AoA shift the focus from model-centric accuracy to understanding the prediction domain: where the model can be trusted and how well its errors are quantified within that domain.

Citation

BibTeX citation:
@online{nowosad2025,
  author = {Nowosad, Jakub},
  title = {R for {Geospatial} {Predictive} {Mapping:} {Takeaways} from
    the {Talk}},
  date = {2025-12-01},
  url = {https://jakubnowosad.com/posts/2025-12-01-rome-talk/},
  langid = {en}
}
For attribution, please cite this work as:
Nowosad, Jakub. 2025. “R for Geospatial Predictive Mapping: Takeaways from the Talk.” December 1, 2025. https://jakubnowosad.com/posts/2025-12-01-rome-talk/.
You can support my work with a coffee: ko-fi