This package allows various cartographic representations such as proportional symbols, chroropleth, typology, flows or discontinuities maps. It also offers several features enhancing the graphic presentation of maps: cartographic palettes, layout elements (scale, north arrow, title…), labels, legends or access to some cartographic APIs.
cartography uses R base graphics to map spatial information.
Up to version 1.4.2
cartography was mainly based on
rgeos for its spatial data management and geoprocessing operations. These dependencies have been as much as possible replaced by
sf functions since version 2.0.0.
Most functions are kept unchanged except for the addition of an
x argument used to take
sf objects as inputs.
See the NEWS file for the full list of changes and see sf README in case of installation problems with sf.
The vignette contains commented scripts on how to build various types of maps with