Relative Content

Tag Archive for rrastertmap

Raster is drawn only partly in tmap

Some of my maps that contain rasters get drawn partly only. The southern part of the map is cut off. It looks like some memory limit, but I have no idea if it is so. Another option is something concerning reprojection and bbox… Nevertheless, other rasters of the same crs work well in this project.

Error saving map with R tmap_save function

I’m trying to run my R code to generate maps using the tmap package on a new laptop computer (the code worked on my other desktop computer) and I’m getting a strange new error when I try to output the map using the tmap_save function:

Removing empty white space around tmap_grobs

I’m trying to remove the white space around some maps that I am making in tmap. I use tmap_grob() to convert the map to then combine with many others using ggarrange() but this leaves a ton of white space around each map instead of plotting them next to each other nicely.