View source: R/utils_spatial_misc.R
repair_spatial_data | R Documentation |
Repair geometry in a spatial dataset.
repair_spatial_data(x)
x |
|
sf::st_sf()
object.
path <- system.file("shape/nc.shp", package = "sf")
g <- sf::read_sf(path)
repair_spatial_data(g)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.