
National geographic grids from BDN (Nature Data Bank)
Source:R/esp-get-grid-BDN.R
esp_get_grid_BDN.RdLoads a sf POLYGON object with the geographic grids of
Spain as provided by the Banco de Datos de la Naturaleza (Nature Data Bank),
under the Ministry of Environment (MITECO).
This dataset provides:
esp_get_grid_BDN()extracts country-wide regular grids with resolutions of 5x5 or 10x10 kilometers (mainland Spain or Canary Islands).esp_get_grid_BDN_ccaa()extracts 1x1 kilometer resolution grids for individual autonomous communities.
These grids are useful for biodiversity analysis, environmental monitoring, and spatial statistical applications.
esp_get_grid_BDN_ccaa() provides higher-resolution 1x1 kilometer grids
for specific autonomous communities, useful for regional analysis with
finer spatial detail.
Source
Data sourced from the Banco de Datos de la Naturaleza (BDN). See the repository structure: https://github.com/rOpenSpain/mapSpain/tree/sianedata/MITECO/dist
For more information about BDN grids and other resources, visit: https://www.miteco.gob.es/es/biodiversidad/servicios/banco-datos-naturaleza/informacion-disponible/bdn-cart-aux-descargas-ccaa.html.
Arguments
- resolution
numeric. Resolution of the grid in kilometers. Must be one of:
5: 5x5 kilometer cells10: 10x10 kilometer cells (default)
- type
character. The geographic scope of the grid:
"main": Mainland Spain (default)"canary": Canary Islands
- update_cache
logical. Should the cached file be refreshed? Default is
FALSE. When set toTRUE, it will force a new download.- cache_dir
character string. A path to a cache directory. See Caching strategies section in
esp_set_cache_dir().- verbose
logical. If
TRUEdisplays informational messages.- ccaa
character string. A vector of names and/or codes for Autonomous Communities. See Details on
esp_get_ccaa()for accepted formats.
Value
A sf object.
Details
The BDN provides standardized geographic grids for Spain that follow the
Nature Data Bank's specifications. The data is downloaded from the
sianedata/MITECO/dist data branch and is regularly updated.
See also
Other geographical grids:
esp_get_grid_ESDAC(),
esp_get_grid_MTN()
