powered by
sfx_explode splits line by vertex
sfx_explode
sfx_explode(x)
spatial lines
sf LINESTRING.
{ data(emisco) dim(emisco) dfco <- sfx_explode(emisco) dim(dfco) }
Run the code above in your browser using DataLab