spatialEco (version 2.0-1)

explode: Explodes multipart features

Description

Explodes multipart features into single part

Usage

explode(...)

Arguments

...

Parameters to be passed to st_cast

Author

Jeffrey S. Evans <jeffrey_evans@tnc.org>

Examples

Run this code
# \donttest{
library(sf)
  nc <- st_read(system.file("shape/nc.shp", package="sf"))
  nc <- suppressWarnings(st_cast(nc, "POLYGON"))
# }

Run the code above in your browser using DataLab