check_for_lax: Check for and create a lax index from a directory of LAS...

View source: R/clip_lidR_ctgs.R

check_for_laxR Documentation

Check for and create a lax index from a directory of LAS files

Description

Check for LAX index files and create them as necessary. Indexing greatly increases the processingAn earlier version of this function overwrote the original LAS resulting in possible corruption of the original file if the process was interrupted. This updated version uses temporary files to avoid this problem.

Usage

check_for_lax(dir, n_cores = 1, write_lax = TRUE)

Arguments

dir

path to a directory containing .LAS or .LAZ files to index

n_cores

number of cores to create doSNOW cluster

write_lax

indicates if .lax file should be written (TRUE), or only checked for (FALSE)

Examples

check_for_lax('E:/my/las/dir/', n_cores=4)

jbcannon/landecoutils documentation built on July 16, 2025, 10:17 p.m.