View source: R/get_global_mangrove_watch.R
get_global_mangrove_watch | R Documentation |
The function first downloads the zip file, unzip it, load the shapefile... ...convert the shapefile to geopackage and write the geopackage to file.
get_global_mangrove_watch(yyyy = NULL, file_path = NULL)
yyyy |
year (1996, 2007, 2008, 2009, 2010, 2015, 2016) |
file_path |
path location |
gmw gpkg
file_path <- ".." # path to the folder where you want to download the polygon # Download teow polygon get_global_mangrove_watch(yyyy = 2007, file_path=file_path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.