tmap is an actively maintained open-source R-library for drawing thematic maps. The API is based on A Layered Grammar of Graphics and resembles the syntax of
ggplot2, a popular R-library for drawing charts.
See below the source code for these images.
For Linux and macOS users who are new to working with spatial data in R, this may fail since additional (non-R) libraries are required (which are automatically installed for Windows users).
Windows No additional installation required.
Linux (Ubuntu) See https://geocompr.github.io/post/2020/installing-r-spatial-ubuntu/. Please address installation issues in this issue.
The latest development version can be installed using
devtools. In order to use the development version of
tmap, it is recommended to use the development version of tmaptools as well:
Do you want to help with the development of the package? Please let us know! Any feedback, requests, tips, or bug reports are welcome!
Tennekes, M., Nowosad, J., Elegant and informative maps with tmap. Draft version, https://r-tmap.github.io/
This paper has been written for
tmap 1.11-2. See the reproducible code using
tmap 2.x and 3.x.
There are two main places to get help with