Cast a line to subsegments in R

User-defined function using sf package

This post introduces a used-defined function used for casting sf objects of class LINESTRING or POLYGON into sub-strings. Required R packages library(sf) library(rnaturalearth) library(dplyr) The problem The sfpackage includes st_cast,... [more]
Tags: R sf function