New release of cartography
A new version of cartography
has been released on CRAN this week. cartography
is a thematic mapping package for R that has entered in maintenance mode on March 2021.
This release has been triggered by the upcoming retirement (archiving) of rgdal
, rgeos
and maptools
(see R-spatial evolution: retirement of rgdal, rgeos and maptools and Progress on R-spatial evolution, Dec 2022).
So, this release does not import any of these packages anymore and this is done at the cost of losing one function: getTiles()
. The purpose of getTiles()
was to download and compose raster tiles from a large number of providers.
Fortunately, the maptiles
package can be used to replace this function. It has the same features and is more robust.
For the same kind of reasons, smoothLayer()
function has been deprecated. This function is using the SpatialPosition
package to compute potentials. Potentials computations are now offered by the potential
package.
cartography
users
- Consider switching from
cartography
tomapsf
.mapsf
is the successor ofcartography
, it offers the same core features, it is friendlier, lighter and more robust.
- Use
maptiles
instead ofgetTiles()
. It offers the same features using a modern packages. - Use
potential
instead ofsmoothLayer()
. It offers more features using modern packages.
See the NEWS file for the complete list of changes.