Skip to contents

Polygons for delimit_m() with method = "regions", in which M is the set of biogeographic units that hold records (Barve et al. 2011):

Usage

download_regions(
  set = c("ecoregions", "biomes", "realms", "wgsrpd1", "wgsrpd2", "wgsrpd3", "wgsrpd4",
    "hydrobasins"),
  path = ".",
  extent = NULL,
  hydrobasins_region = NULL,
  hydrobasins_level = 6,
  overwrite = FALSE
)

Arguments

set

Which regions (see Details).

path

Folder for the downloaded files.

extent

Optional c(xmin, xmax, ymin, ymax) in longitude/latitude (the order of delimit_m()): the regions are cropped to it, which also makes dissolving biomes and realms much faster.

hydrobasins_region, hydrobasins_level

For "hydrobasins".

overwrite

Download again even if the file exists.

Value

An sf object of polygons in longitude/latitude (EPSG:4326) with the attributes of the source (e.g. ECO_NAME, BIOME_NAME, REALM; LEVEL3_NAM, LEVEL3_COD; HYBAS_ID).

Details

  • "ecoregions": the 846 terrestrial ecoregions of RESOLVE Ecoregions 2017 (Dinerstein et al. 2017), the update of the WWF terrestrial ecoregions (Olson et al. 2001); about 150 MB, downloaded once.

  • "biomes", "realms": the 14 biomes and 8 biogeographic realms, dissolved from the same ecoregions (realms are the usual large units for animals as well as plants).

  • "wgsrpd1" to "wgsrpd4": the World Geographical Scheme for Recording Plant Distributions (Brummitt 2001): continents, regions, "botanical countries" and basic recording units, used by floras and by Plants of the World Online; from the TDWG repository (simplified outlines).

  • "hydrobasins": river basins of HydroBASINS (Lehner & Grill 2013) for freshwater taxa, at Pfafstetter hydrobasins_level (1 = largest, 12 = smallest) for one hydrobasins_region ("af", "ar", "as", "au", "eu", "gr", "na", "sa", "si").

Not downloaded automatically, but usable as regions once saved: the zoogeographic regions and realms of Holt et al. (2013) for vertebrates (https://macroecology.ku.dk/resources/wallace), the freshwater ecoregions (Abell et al. 2008, https://www.feow.org) and the marine ecoregions (Spalding et al. 2007); the original WWF ecoregion file sits behind a browser check and cannot be fetched by a script.

Each download is logged in preENM_sources.csv in path. Cite the data set you use.

References

Barve, N., Barve, V., Jimenez-Valverde, A., et al. (2011) The crucial role of the accessible area in ecological niche modeling and species distribution modeling. Ecological Modelling 222, 1810-1819. doi:10.1016/j.ecolmodel.2011.02.011

Dinerstein, E., Olson, D., Joshi, A., et al. (2017) An ecoregion-based approach to protecting half the terrestrial realm. BioScience 67, 534-545. doi:10.1093/biosci/bix014

Olson, D.M., Dinerstein, E., Wikramanayake, E.D., et al. (2001) Terrestrial ecoregions of the world: a new map of life on Earth. BioScience 51, 933-938. doi:10.1641/0006-3568(2001)051[0933:TEOTWA]2.0.CO;2

Brummitt, R.K. (2001) World Geographical Scheme for Recording Plant Distributions, 2nd edn. Hunt Institute for Botanical Documentation, Pittsburgh (TDWG).

Lehner, B., Grill, G. (2013) Global river hydrography and network routing: baseline data and new approaches to study the world's large river systems. Hydrological Processes 27, 2171-2186. doi:10.1002/hyp.9740

Holt, B.G., Lessard, J.-P., Borregaard, M.K., et al. (2013) An update of Wallace's zoogeographic regions of the world. Science 339, 74-78. doi:10.1126/science.1228282

Abell, R., Thieme, M.L., Revenga, C., et al. (2008) Freshwater ecoregions of the world: a new map of biogeographic units for freshwater biodiversity conservation. BioScience 58, 403-414. doi:10.1641/B580507

Spalding, M.D., Fox, H.E., Allen, G.R., et al. (2007) Marine ecoregions of the world: a bioregionalization of coastal and shelf areas. BioScience 57, 573-583. doi:10.1641/B570707

Examples

# \donttest{
# botanical countries of the TDWG scheme (about 2 MB)
bc <- download_regions("wgsrpd3", path = tempdir(),
                       extent = c(10, 30, 45, 55))
#> Downloading https://raw.githubusercontent.com/tdwg/wgsrpd/master/geojson/level3.geojson
# M from the botanical countries that hold records
# m <- delimit_m(pres, method = "regions", regions = bc, region_min = 3)
# }