The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

mapSpain: Administrative Boundaries and Static Map Tiles for Spain

Administrative boundaries of Spain at several levels (Autonomous Communities and Cities, provinces, municipalities and 'NUTS'), based on 'GISCO' from 'Eurostat' <https://ec.europa.eu/eurostat/web/gisco> and 'CartoBase ANE' from 'Instituto Geográfico Nacional' <https://www.ign.es/>. Includes tools to download and process static map tiles and a 'leaflet' plugin for Spanish public administration tile providers.

Version: 1.2.0
Depends: R (≥ 4.1.0)
Imports: cli (≥ 3.6.0), countrycode (≥ 1.2.0), giscoR (≥ 1.0.0), httr2 (≥ 1.2.0), jsonlite, leaflet (≥ 2.0.0), lifecycle, rappdirs (≥ 0.3.0), sf (≥ 1.0.0), terra (≥ 1.1-4), tibble, tools, utils
Suggests: dplyr, ggplot2 (≥ 3.5.0), knitr, quarto, testthat (≥ 3.0.0), tidyterra, withr
Published: 2026-06-17
DOI: 10.32614/CRAN.package.mapSpain
Author: Diego Hernangómez ORCID iD [aut, cre, cph], Eurostat ROR ID [cph], Instituto Geográfico Nacional ROR ID [cph], Francisco J. Goerlich ORCID iD [ctb]
Maintainer: Diego Hernangómez <diego.hernangomezherrero at gmail.com>
BugReports: https://github.com/rOpenSpain/mapSpain/issues
License: GPL-3
Copyright: © EuroGeographics for the administrative boundaries. Atlas Nacional de España (ANE) CC-BY 4.0 <http://www.ign.es>. INE <https://www.ine.es/en/index.htm>
mapSpain copyright details
URL: https://ropenspain.github.io/mapSpain/, https://github.com/rOpenSpain/mapSpain
NeedsCompilation: no
Citation: mapSpain citation info
Materials: README, NEWS
In views: Spatial
CRAN checks: mapSpain results

Documentation:

Reference manual: mapSpain.html , mapSpain.pdf
Vignettes: Static map tiles with mapSpain (source)
Get started (source)

Downloads:

Package source: mapSpain_1.2.0.tar.gz
Windows binaries: r-devel: mapSpain_1.2.0.zip, r-release: mapSpain_1.2.0.zip, r-oldrel: mapSpain_1.2.0.zip
macOS binaries: r-release (arm64): mapSpain_1.2.0.tgz, r-oldrel (arm64): mapSpain_1.2.0.tgz, r-release (x86_64): mapSpain_1.2.0.tgz, r-oldrel (x86_64): mapSpain_1.2.0.tgz
Old sources: mapSpain archive

Reverse dependencies:

Reverse imports: CatastRo
Reverse suggests: climaemet, ineAtlas, infoelectoral, spanishoddata

Linking:

Please use the canonical form https://CRAN.R-project.org/package=mapSpain to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.