esp_get_grid_BDN: Get sf polygons of the national geographic grids provided by BDN
Description
Loads a sf polygon with the geographic grids of Spain as provided on
the Banco de Datos de la Naturaleza (Nature Data Bank), by the
Ministry of Environment (MITECO):
esp_get_grid_BDN() extracts country-wide grids with resolutions
5x5 or 10x10 kms.
Sometimes cached files may be corrupt. On that case, try re-downloading
the data setting update_cache = TRUE.
If you experience any problem on download, try to download the
corresponding .geojson file by any other method and save it on your
cache_dir. Use the option verbose = TRUE for debugging the API query.