Learn R Programming

⚠️There's a newer version (3.3-4) of this package.Take me there.

tmap (version 1.6)

Thematic Maps

Description

Thematic maps are geographical maps in which spatial data distributions are visualized. This package offers a flexible, layer-based, and easy to use approach to create thematic maps, such as choropleths and bubble maps.

Copy Link

Version

Install

install.packages('tmap')

Monthly Downloads

23,265

Version

1.6

License

GPL-3

Issues

Pull Requests

Stars

Forks

Last Published

October 21st, 2016

Functions in tmap (1.6)

animation_tmap

Create animation
append_data

Append data to a shape object
offset_line

Create a double line or offset line
cartogram

Cartogram
crop_shape

Crop shape object
geocode_OSM

Geocodes a location using OpenStreetMap Nominatim
tm_xlab

Axis labels
approx_areas

Approximate area sizes of the shapes
bb

Bounding box generator
calc_densities

Calculate densities
metro

Spatial data of metropolitan areas
get_proj4

Get a PROJ.4 character string
+.tmap

Stacking of tmap elements
get_asp_ratio

Get aspect ratio
last_map

Retrieve the last map to be modified or created
get_IDs

Get ID's of the shape items
points_to_raster

Bin spatial points to a raster
map_coloring

Map coloring
poly_to_raster

Convert spatial polygons to a raster
land

Spatial data of global land cover
read_shape

Read shape file
read_osm

Read Open Street Map data
rev_geocode_OSM

Reverse geocodes a location using OpenStreetMap Nominatim
save_tmap

Save tmap
print.tmap

Draw thematic map
sbind

Combine shape objects
sample_dots

Sample dots from spatial polygons
rivers

Spatial data of rivers
read_GPX

Read GPX file
qtm

Quick thematic map plot
tm_compass

Map compass
smooth_raster_cover

Get a smoothed cover of a raster object
World

World, Europe, and Netherlands map
theme_ps

ggplot2 theme for proportional symbols
set_projection

Set and get the map projection
split.SpatialPolygons

Divide into multiple shape objects
style_catalogue

Create a style catalogue
tm_credits

Credits text
tm_facets

Small multiples
tm_add_legend

Add manual legend
tm_grid

Coordinate grid lines
tmap_style

Set the default tmap style
tmap-element

tmap element
tm_iso

Draw iso (contour) lines with labels
tmap_leaflet

Create a leaflet widget from a tmap object
tm_logo

Logo
tmap_mode

Set tmap mode to static plotting or interactive viewing
tmap_icons

Specify icons
tm_view

Options for the interactive tmap viewer
tm_scale_bar

Scale bar
tmap-package

Thematic Maps
write_shape

Write shape file