Description Usage Arguments Details Examples
Raster Mask of the Trentino Region
1 2 3 4 5 | CreateMask(dsn = NULL, layer,
url = "http://dati.trentino.it/storage/f/2013-05-09T141315/788_Comuni_amministrativi___DB_Prior_10k__12_12_2011_4uWD8r.zip",
zip = FALSE, clean = FALSE, option = list(NOME_PROV = "TRENTO"),
rasterRes = 500, raster = NULL, field = "COM",
filename = "maskXYRES.grd", valuesFromRaster = TRUE, ...)
|
dsn |
see |
layer |
see |
url |
adress used for the download of data |
zip |
logical value. Default is |
clean |
logical value. Default is |
option |
list of object, e.g. fields and related values corresponded to the selected polygons. |
raster |
|
rasterRes |
Raster Resolution in x and y (meters or
degrees). It is used to create a |
field |
see |
filename |
filename where ... |
valuesFromRaster |
logical value. If it is
|
... |
futher arguments for |
In case of downloaded from an URL, the file is
automatically unzipped if a zip archive wth .zip
extenstion.
1 2 3 4 5 | library(stringr)
library(rgdal)
library(raster)
mask <- CreateMask() ## see default in Usage
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.