Feb 28, 2025
spatial
, sgeostat
, splancs
, akima
, geoR
, spatstat
, spdep
, maptools
.rgdal
(Bivand et al., 2023), interface between R and GDAL and PROJ4sp
(Pebesma, 2018), classes and methods for spatial objects, quickly adopted.sp
support in ggplot2
rgeos
(Bivand and Rundel, 2023), interface between R & GEOS.raster
(Hijmans, 2023a), support for raster datasf
(Pebesma, 2018), replace sp
, rgdal
& rgeos
terra
(Hijmans, 2023b), replace raster
An image located in space.
Geographic information is stored in pixels.
Each pixel, defined by a resolution, has value(s) that can be processed and mapped.
Geometric objects such as points, lines or polygons.
These vector objects do not pixelate.
Each object has a unique identifier.
Widely used geographic libraries:
These are external dependencies
Consider containerization (Nüst and Pebesma, 2021).
sf
packagePublished in 2016 by Edzer Pebesma.
Main features
|>
or %>%
)tidyverse
operators.terra
packageThe terra
package lets you manage vector data and, above all, raster.
Main features
Numerous palettes are available directly in R-base, and almost 70 (!) packages offer palettes.
hcl.colors()
paletteer
(Hvitfeldt, 2021), 2587 palettes (!!!)cols4all
(Tennekes, 2023), shiny appcols4all::c4a_gui()
spatstat
: Point pattern analysisgstat
: Variograms and Krigeagergeoda
: Geoda with RGWmodel
, spgwr
: Geographically Weighted ModelsAdmin :
rnaturalearth
giscoR
tigris
, mapSpain
, geobr
…
Climat :
geodata
Elevations :
elevatr
Eco / Socio / Demo datasets :
wbstats
(World Bank)
eurostat
rdhs
(health)
…
Satellite imagery :
sen2r
(Sentinel-2)
MODIStsp
(MODIS)
rgee
(Google Earth Engine)
nasapower
(meteo, climato)