View source: R/GIS_SimplifyPolylines.R
SimplifybyLen | R Documentation |
SimplifybyLen
Simplify Polylines by length
SimplifybyLen
SimplifybyLen(sp, split_length = 20, plot.results = F)
sp |
a SpatialLines or SpatialPoygons object |
split_length |
the length of the segments to split the lines into, in units of the SpatialLine object |
plot.results |
TRUE/FALSE |
simplified SpatialLines
https://stackoverflow.com/questions/38700246/how-do-i-split-divide-polyline-shapefiles-into-equally-length-smaller-segments
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.