#' Terrestrial Ecoregions of the World (TEOW) Polygon
#'
#' This resource is part of the publication by Olson et al. (2004)
#' "Terrestrial Ecosystems of the World (TEOW) from WWF-US (Olson)". It
#' depicts 867 terrestrial ecoregions around the world classified into 14
#' different terrestrial biomes such as forests, grasslands, or deserts.
#' The polygons represent the ecoregions, defined as relatively large units of
#' land or inland water sharing a large majority of biodiversity. The datasets
#' is made available from World Wildlife Fund (WWF) for the year 2001.
#'
#' @name teow
#' @keywords resource
#' @returns A function that returns an `sf` footprint object.
#' @references Olson, D. M., Dinerstein, E., Wikramanayake, E. D., Burgess, N. D.,
#' Powell, G. V. N., Underwood, E. C., D’Amico, J. A., Itoua, I., Strand, H. E.,
#' Morrison, J. C., Loucks, C. J., Allnutt, T. F., Ricketts, T. H., Kura, Y., Lamoreux,
#' J. F., Wettengel, W. W., Hedao, P., Kassem, K. R. 2001. Terrestrial ecoregions of
#' the world: a new map of life on Earth. Bioscience 51(11):933-938.
#' \doi{https://doi.org/10.1641/0006-3568(2001)051[0933:TEOTWA]2.0.CO;2}
#' @importFrom utils unzip
#' @include register.R
#' @export
get_teow <- function() {
function(x,
name = "teow",
type = "vector",
outdir = mapme_options()[["outdir"]],
verbose = mapme_options()[["verbose"]]) {
url <- paste(
"/vsizip//vsicurl/",
"https://files.worldwildlife.org/wwfcmsprod/files/",
"Publication/file/6kcchn7e3u_official_teow.zip/",
"official/wwf_terr_ecos.shp",
sep = ""
)
bbox <- c(xmin = -180.0, ymin = -90.0, xmax = 180.0, ymax = 84.0)
tile <- st_as_sf(st_as_sfc(st_bbox(bbox, crs = "EPSG:4326")))
tile[["source"]] <- url
make_footprints(tile, filenames = "wwf_terr_ecos.gpkg", what = "vector")
}
}
register_resource(
name = "teow",
description = "Terrestrial Ecosystems of the World (TEOW) from WWF-US",
licence = "unknown",
source = "https://www.worldwildlife.org/publications/terrestrial-ecoregions-of-the-world",
type = "vector"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.