HOCHSCHULE
FRESENIUS UNIVERSITY OF APPLIED SCIENCES
Presentation

Geospatial
Visualization
In R

A visual introduction to geospatial visualization, spatial data types, R packages and an example workflow using Düsseldorf OSM data.

Düsseldorf Road Map

1. Geospatial Visualization and R

Geospatial visualization transforms location-based data into maps, patterns and visual stories. Different map types help explain spatial relationships in planning, accessibility analysis and decision-making.

1.1

Visual Examples

Heatmaps and choropleths are common examples of geospatial visualization.

Heatmap example
Heatmap
Choropleth example
Choropleth
1.2

Where It Is Used

Spatial visualization supports urban planning and location-based business analysis.

Urban planning example
Urban Planning
Retail location analysis example
Retail Location
1.3

Why R?

R combines spatial data handling, statistical analysis and visual storytelling in one reproducible workflow.

Feature R QGIS ArcGIS
Free Limited
Reproducible Limited Limited
Automation Limited
1.4

Data Sources

This workflow uses OpenStreetMap data provided through Geofabrik. The Düsseldorf extract includes roads, land use, water, buildings and other spatial layers.

Geofabrik Düsseldorf OSM dataset

2. Spatial and Geospatial Data

Spatial data describes position, size and form in any space. Geospatial data is a specific type of spatial data connected to real-world locations on Earth.

2.1

Spatial vs Geospatial

Spatial data can describe any coordinate-based environment. Geospatial data is earth-referenced and usually uses coordinates, maps and geographic layers.

Feature Spatial Geospatial
Real World Location Optional Required
Coordinates Optional Required
Examples CAD, games, 3D models GPS, OSM, satellite data
2.2

Vector and Raster Data

Vector data represents features such as roads, buildings and boundaries. Raster data represents space as grid cells or pixels. Geospatial analysis can combine both data types in the same workflow.

Spatial and geospatial layer example

3. Data Formats and Comparisons

3.1

Point

Single coordinate features such as POIs, bus stops or GPS points.

Point map example
3.2

Line

Linear features such as roads, railways, rivers and routes.

Line map example
3.3

Polygon

Closed shapes such as city boundaries, parks, land use and buildings.

Polygon choropleth map example
3.4

Raster

Pixel-based data such as satellite images, elevation and heatmaps.

Raster map example

4. Main R Packages

4.1

🗂 sf

Reading, cleaning and processing vector spatial data.

4.2

📊 ggplot2

Creating clean static maps and visualizations.

4.3

🌍 leaflet

Building interactive web maps.

4.4

🗺 tmap

Alternative thematic mapping workflow.

5. Example Workflow in R

5.1

📥 Import Spatial Data

Read shapefiles with st_read().

5.2

🧹 Clean Coordinates

Check geometries, missing values and spatial validity.

5.3

🌍 Transform CRS

Use a consistent coordinate reference system for all layers.

5.4

📊 Visualize

Build layered maps with ggplot2, leaflet or tmap.

6. Project Overview

This presentation website transforms a step-by-step R geospatial workflow into a visual data story. Each map adds one analytical layer to understand the urban structure of Düsseldorf.

6.1

Study Area

The analysis focuses on Düsseldorf as the spatial frame.

6.2

Data

Land use, water, roads and residential areas are used.

6.3

Tools

The maps are produced through a reproducible R workflow.

6.4

Output

The final result is a visual sequence of spatial layers.

7. Research Motivation

This example is connected to a future research proposal on the relationship between housing prices and accessibility to recreational areas in Düsseldorf. The maps shown here form the first technical foundation for that research idea.

7.1

Why This Example?

Green areas, residential zones and road networks can be transformed into spatial indicators. These indicators can later support research on urban quality, accessibility and housing prices.

7.2

Research Logic

The workflow starts with green areas and residential locations. Accessibility can then be measured through distance-based spatial analysis. In a later research project, this accessibility indicator can be compared with housing prices to explore whether proximity to recreational areas is related to property values in Düsseldorf.

8. Map-Based Storytelling

The maps are ordered as a visual build-up: first the boundary, then green areas, residential areas, water bodies, road network and accessibility to green spaces.

8.1

Study Area

The first map introduces Düsseldorf as the geographic boundary of the analysis.

Boundary
8.2

Green Areas

Parks, forests, grass areas and recreation grounds are added to the city boundary.

Landscape Layer
8.3

Residential Structure

Residential areas are added to compare built-up urban zones with green spaces.

Residential + Parks
8.4

Water Structure

The Rhein River and water bodies are included as major spatial elements of Düsseldorf.

Water + Landuse
8.5

Road Network

The road layer reveals the mobility skeleton and connects residential and green areas.

Roads + Base Layers
8.6

Green Accessibility

Residential points are compared by their distance to green areas.

Distance Analysis
8.7

Classified Distance

Distance values are grouped into categories to make accessibility patterns easier to read.

Grouped Distance

9. Key Findings

The visual sequence shows how different spatial layers gradually reveal the structure of the city.

9.1

Green Structure

Green areas are widely distributed, but their intensity changes across the city.

9.2

Urban Core

Residential areas and roads create a denser structure around central districts.

9.3

Accessibility

Distance to green areas can be visualized as a simple spatial accessibility indicator.

10. Interactive Map

The static maps explain the analytical process. The interactive Leaflet map can be used as an additional exploration layer.

Open Interactive Map

11. In-Class Activity

In the classroom activity, we will open RStudio together and reproduce a simple geospatial visualization step. The aim is to show how spatial data can be imported, visualized and interpreted directly in R.

12. References

12.1

Theoretical Foundations

GIS Theory
Longley et al. (2021)

Geocomputation with R
Lovelace et al. (2024)

Applied R Workflows
Huber (2025)

12.2

Data

OpenStreetMap contributors and Geofabrik Düsseldorf extract.

12.3

Packages

sf, ggplot2, leaflet and tmap documentation.

12.4

Images

External map examples from Alamy, ResearchGate, R Charts, MDPI, Springer Nature and Ordnance Survey.

13. Conclusion

Data Speaks
Through Maps

Geospatial data can be transformed into meaningful insights through reproducible R workflows and clear visual storytelling.