powered by
Add to each line of a SpatialLinesDataFrame an additional vertex at its center with multicore support.
add_center_lines.mc(lines, show_progress = TRUE, chunk_size = 100)
The SpatialLinesDataframe to use
A Boolean indicating if a progress bar must be displayed
The size of a chunk used for multiprocessing. Default is 100.
An object of class SpatialLinesDataframe (package sp)
# NOT RUN { #This is an internal function, no example provided # }
Run the code above in your browser using DataLab