tmap
tmap copied to clipboard
R package for thematic maps
Hi @mtennekes, would do you think about: 1. [x] Renaming some of the "step" files by adding `"helper"` in the filename, e.g., `step1_xx.R` -> `step1_helper_xx.R`? 2. [x] Moving the `tm_cartogram()`...
``` r library(sf) library(tmap) library(spData) world_map = tm_shape(spData::world) + tm_polygons() + tm_title(text = "Big Title World Map", bg.color = "red") world_map ``` 
Mapping large polygon datasets in "view" mode sometimes results in broken polygons when zoomed. I think this is due to the default polygon smoothing parameter in Leaflet, which is set...
Hello, does anyone know how to plot a logo outside the frame, for example in the lower left corner? I have tried tmap_arrange as below: ``` library(tmap) data(World) w1
Symbols in view mode are working (see below) thanks to @tomroh , but we need to standardize the symbols between plotting modes: Currently, tmap uses the `pch` numbering:  Note...
``` r library(tmap) library(terra) multi_raster_file = system.file("raster/landsat.tif", package = "spDataLarge") multi_rast = rast(multi_raster_file) tm_shape(multi_rast) + tm_rgb() #> Error: [subset] no (valid) layer selected tm_shape(multi_rast[[3:1]]) + tm_rgb() #> Error: [subset] no...
How should users be able to set the specs, like crs, bbox, zoom level, etc. for shapeless maps, by which I mean maps without using 'shape' objects (sf,stars,terra )? So...
So far, tmap v4 can handle `sf` objects, `stars` and `SpatRaster` objects natively. At the moment `SpatVector` are cast to `sf` objects (can be improved later). A difference with tmap3,...
Trying to figure out a way to plot map of velocities. Is there a way for the tm_lines to plot arrow?
``` r library(tmap) tmap_mode("plot") #> tmap mode set to 'plot' data(NLD_prov) tm_shape(NLD_prov) + tm_fill("name") + tm_scalebar(bg.color = "black") ``` 