sdm_area | R Documentation |
A study area (SDm_area
) represents a geographic location delimited by primitive shapes (lines and polygons) and
associated attribute information about characteristics of that location.
sdm_area( an_area = NULL, var_names = NULL, sdm_area_name = NULL, dir_path = NULL, epsg_code = NULL, resolution = NULL )
an_area |
An object of package |
epsg_code |
A valid EPSG code, for example EPSG:4326. |
resolution |
A vector containing the resolution of the study area. The format is two numeric values
(width and height) according to |
name |
A name do describe the study area. |
The attribute information of the study area are constant in time. In contrast, the SDM_area
object
has an array attribute storing multiple scenarios, representing attribute information about characteristics of the
location that change in time.
An object representing a study area containing a sp
object.
Occasional topological errors on polygons of the object are corrected. As a side effect holes inside polygons are removed.
If the epsg_code
of the study area is different from the epsg_code passed to the function, the study
area is reproject.
## Not run: SPDF <- readOGR( system.file("brasil_uf.gpkg", package="sdmTools"), layer = "brasil_uf", verbose = FALSE ) new_sdm_area <- SPDF %>% sdm_area("Brasil", "EPSG:6933", c(50000, 50000))) class(new_sdm_area) plot(new_sdm_area) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.