line_segment function

Divide an sf object with LINESTRING geometry into regular segments