Thematic Map Tools

Set of tools for reading and processing spatial data. The aim is to supply the workflow to create thematic maps. This package also facilitates 'tmap', the package for visualizing thematic maps.


version 2.0-1

  • fixed bug in poly_to_raster

version 2.0

  • tmaptools migrated from sp to sf, all functions support sf, but some still rely on sp
  • bb now returns a vector instead of a matrix, similar to sf::st_bbox
  • palette_explorer expanded with viridis palettes
  • read_osm doens't support vector OSM data anymore, since the osmdata package is a better alternative

version 1.2-2

  • improved smooth_map

version 1.2-1

  • added threshold argument to smooth_map
  • fixed bug in approx_areas (all warnings now ignored when show.warnings=FALSE)
  • fixed bug in simplify_shape (ms_simplify is not case sensitive)

version 1.2

  • added palette_explorer

version 1.0

  • first CRAN release after package split of tmap
  • non-plotting functions of tmap 1.6-1 are contained in tmaptools
  • added aggregate_map
  • added simplify_shape
  • added approx_distances, improved approx_areas, added projection_units
  • added get_brewer_pal, to get and modify brewer palettes
  • added bb_sp, to convert a bounding box to a SpatialPolygons object
  • sf (simple features) objects supported

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


3.1-1 by Martijn Tennekes, a year ago

Report a bug at

Browse source code at

Authors: Martijn Tennekes [aut, cre]

Documentation:   PDF Manual  

GPL-3 license

Imports sf, lwgeom, stars, units, grid, magrittr, RColorBrewer, viridisLite, stats, dichromat, XML

Depends on methods

Suggests tmap, rmapshaper, osmdata, OpenStreetMap, raster, png, shiny, shinyjs

Imported by bdl, mapping, tmap.

Suggested by geonetwork, waterquality, zonebuilder.

See at CRAN