Subdivide a linestring into segments of a specified length
subdivide_linestring.Rd
Subdivide a linestring into segments of a specified length
Arguments
- line
A linestring or simple feature collection thereof
- max_length
The maximum length of each segment. Segments longer than this value will be subdivided; those that are below this threshold will be returned as-is.
- crs
The coordinate reference system to which the linestring should be transformed. Default is 5070.