Blog Archives

Map coloring: the color scale styles available in the tmap package

Map coloring: the color scale styles available in the tmap package

This vignette builds on the making maps chapter of the Geocomputation with R book. Its goal is to demonstrate all possible map styles available in the tmap package. Prerequisites The examples below assume the following packages are attached: library(spData) # example datasets library(tmap) # map creation library(sf) # spatial data reprojection The world object containing a world map data from...

Read more »

Grids and graticules in the tmap package

Grids and graticules in the tmap package

This vignette builds on the making maps chapter of the Geocomputation with R book. Its goal is to demonstrate how to set and modify grids and graticules in the tmap package. Prerequisites The examples below assume the following packages are attached: library(spData) # example datasets library(tmap) # map creation (__=2.3) library(sf) # spatial data classes Grids and graticules The tmap package...

Read more »

Geographic projections and transformations

Geographic projections and transformations

Introduction This workbook outlines key concepts and functions related to map projections — also referred to as coordinate reference systems (CRSs) — and transformation of geographic data from one projection to another. It is based on the open source book Geocomputation with R, and Chapter 6 in particular. It was developed for the ‘CASA Summer School’, or the Doctoral Summer School for...

Read more »

Search R-bloggers

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)