tmap icon indicating copy to clipboard operation
tmap copied to clipboard

R package for thematic maps

Results 175 tmap issues
Sort by recently updated
recently updated
newest added

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()`...

enhancement
tmap_v4

``` 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 ``` ![](https://i.imgur.com/x7kDN4R.png)

bug
tmap_v4

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...

enhancement
question
tmap_v4

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

enhancement
tmap_v4

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: ![image](https://user-images.githubusercontent.com/2444081/222477672-17fd79cd-ce3a-4359-b699-6a61e031b3ae.png) Note...

enhancement
question
help wanted

``` 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...

bug
tmap_v4

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...

tmap_v4

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,...

tmap_v4
for_developers

Trying to figure out a way to plot map of velocities. Is there a way for the tm_lines to plot arrow?

enhancement

``` 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") ``` ![](https://i.imgur.com/TkdxjAo.png)

bug
tmap_v4