
Package index
Political and administrative boundary datasets
These functions return sf objects representing political and administrative boundaries.
-
esp_get_capimun() - City where the municipal public authorities are based from SIANE
-
esp_get_ccaa_siane() - Autonomous Communities and Cities of Spain from SIANE
-
esp_get_countries_siane() - Countries of the world from SIANE
-
esp_get_munic_siane() - Municipalities of Spain from SIANE
-
esp_get_prov_siane() - Provinces of Spain from SIANE
-
esp_get_spain_siane() - Boundaries of Spain from SIANE
-
esp_siane_bulk_download() - SIANE bulk download
-
esp_get_ccaa() - Autonomous Communities and Cities of Spain from GISCO
-
esp_get_munic() - Municipalities of Spain from GISCO
-
esp_get_nuts() - Territorial Spanish units for statistics (NUTS) dataset
-
esp_get_prov() - Provinces of Spain from GISCO
-
esp_get_spain() - Boundaries of Spain from GISCO
-
esp_get_can_box()esp_get_can_provinces() - Canary Islands inset box and outline
-
esp_move_can() - Displace a
sfobject located in the Canary Islands -
esp_get_comarca() - Comarcas of Spain
-
esp_get_hex_prov()esp_get_hex_ccaa()esp_get_grid_prov()esp_get_grid_ccaa() - Get a
sfhexbin or squaredPOLYGONof Spain -
esp_get_simpl_prov()esp_get_simpl_ccaa() - Simplified map of provinces and Autonomous Communities and Cities of Spain
Static map tiles and imagery
Functions that return static map tiles or add Spanish public administration basemaps to interactive leaflet maps.
-
addProviderEspTiles() - Add a tile layer from Spanish public administrations to a leaflet map
-
esp_get_tiles()esp_get_attributions() - Get static map tiles from public administrations of Spain
-
esp_make_provider() - Create a custom tile provider
-
plotRGB(<SpatRaster>) - Red-Green-Blue plot of a multi-layered SpatRaster (from terra)
-
addProviderTiles()providerTileOptions() - Add a tile layer from a known map provider (from leaflet)
-
geom_spatraster_rgb() - Visualise
SpatRasterobjects as images (from tidyterra)
-
esp_get_hydrobasin() - River basin districts of Spain from SIANE
-
esp_get_hypsobath() - Hypsometry and bathymetry of Spain from SIANE
-
esp_get_rivers()esp_get_wetlands() - Rivers and wetlands of Spain from SIANE
-
esp_get_railway()esp_get_stations() - Railways of Spain from SIANE
-
esp_get_roads() - Roads of Spain from SIANE
-
esp_clear_cache() - Clear your mapSpain cache directory
-
esp_set_cache_dir()esp_detect_cache_dir() - Set your mapSpain cache directory
Dictionary and translation helpers
Translate Spanish subdivision names across languages and coding standards.
-
esp_dict_region_code()esp_dict_translate() - Convert and translate Spanish subdivision names and codes
-
esp_codelist - Spanish subdivision codes and names
-
esp_nuts_2024 - NUTS 2024 for Spain
sfobject -
esp_tiles_providers - Public WMS and WMTS providers for Spain
-
pobmun25 - Population of Spain by municipality (2025)
Geographical grid datasets
Geographical grids are agreed, defined and harmonized grid networks with standardized locations and grid cell sizes.
-
esp_get_grid_BDN()esp_get_grid_BDN_ccaa() - National geographic grids from BDN (Nature Data Bank)
-
esp_get_grid_ESDAC() - National geographic grids from the European Soil Data Centre (ESDAC)
-
esp_get_grid_MTN() - National geographic grids from IGN MTN (Mapa Topografico Nacional)
-
mapSpainmapSpain-package - mapSpain: Administrative Boundaries and Static Map Tiles for Spain