Skip to content

Simple example of how to process lidar data in the lidR package using multiple CPU cores. This is particularly useful in situations where you need to apply functions to small disconnected las/laz files (i.e., not a full tile).

Notifications You must be signed in to change notification settings

IRSS-UBC/parallelized_lidR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Parallelized lidR

Disclaimer: This code is presented as an alternative method to the built in parallelization offered in the lidR package. There are several methods in the LAS catalog processing engine that support parallelization that are described in the following links:

https://tgoodbody.github.io/lidRtutorial/08_engine2.html

Specifically for working with clipped plot point clouds: https://tgoodbody.github.io/lidRtutorial/07_engine.html#independent-files-e.g.-plots-as-catalogs

parallel_vs_serial

Simple example of how to perform a function in parallel with the lidR package. This is particularly useful in situations where you need to apply functions to small disconnected las/laz files (i.e., not a full tile processed as a las catalog).

clean_las.R is the function you want to parallelize

parallelize_lidR.R is the script which runs the function in parallel

While there are several options for parallelization in R, this approach uses the parallel package.

About

Simple example of how to process lidar data in the lidR package using multiple CPU cores. This is particularly useful in situations where you need to apply functions to small disconnected las/laz files (i.e., not a full tile).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages