Geography

Geocomputation with R

Robin Lovelace; Jakub Nowosad; Jannes Muenchow

A free route from basic R skills to reproducible spatial operations, maps and geographic applications using vector and raster data.

Prerequisites

Know basic R objects, functions and data frames before running the examples. Familiarity with a GIS or geographic datasets helps; learn the language basics separately if you have never written a script.

Edition
2
Publication Year
2025
Difficulty Level
Intermediate
Academic Level
Undergraduate
geocomputationRreproducible GISspatial analysis

01 / Reading Guide

Reading Guide

Who this book is for

For geography students and practitioners who want to replace a sequence of manual GIS steps with a reproducible workflow. It suits readers who can handle ordinary data in R and now need to understand the additional choices that location, geometry, resolution and reference systems introduce into an analysis.

Prerequisites

Know basic R objects, functions and data frames before running the examples. Familiarity with a GIS or geographic datasets helps; learn the language basics separately if you have never written a script.

What it covers

Foundations cover geographic data structures and operations, followed by mapping, connections to GIS software, programming techniques and applications. The second edition updates raster work around terra and develops contemporary spatial tooling. Its distinctive role is assembling operations into a working analysis, rather than treating a map as the entire analytical result.

How to use it

Reproduce a small example and inspect the data structure after each operation. Record the coordinate reference system and units before measuring distance or area. Convert repeated steps into a function and rerun the script from a fresh session. For an application, keep both input data and a short explanation of the processing choices so another reader can reconstruct the result.

Edition and sources

This record identifies the 2025 second-edition paperback, ISBN 9781032248882. The authors provide a free online version with code and exercises. The current website can receive updates beyond the printed edition, so package versions and pagination should be checked against your course copy. The preface and opening material were inspected, not the entire book. Publisher or author record Official online resource

Open the official resource