Description Usage Arguments Value Note Examples
View source: R/rangeFiles-methods.R
Returns the file path to all ‘.shp’ polygons in a directory.
1 |
dir |
character string specifying the directory containing .shp files. |
... |
currently ignored |
Either a data.frame
or a character vector is returned.
The function uses getinfo.shape
to only select
polygon files (aka type 5).
1 2 3 | f = system.file(package="rangeMapper", "extdata", "wrens", "vector")
res = selectShpFiles(f, ogr = TRUE, polygons.only = TRUE)
head(res)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.