read_shape | R Documentation |
read_shape
read_shape(shp_path, simplify = TRUE, keep = 0.1)
shp_path |
character vector location of shape file, extension .shp |
simplify |
a boolean to decide whether to simplify the shape file using rmapshaper, keeping all shapes. |
keep |
ratio of points to keep |
an sf data frame, with a column of non null geometries
# Example of how a shape file is read shape <- read_shape(shp_path = file.choose())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.