st_filter_valid | R Documentation |
Discard invalid geometries
st_filter_valid(geodata, min_dimension = 1, view = FALSE, verbose = TRUE)
geodata |
object of type |
min_dimension |
drop geometries with dimension lower than this |
view |
logical; show results in Rstudio viewer? |
verbose |
logical |
for 2D polygons, set min_dimension
equal to 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.