Passer au contenu

Normalise les fichiers LiDAR HD de l'IGN presents dans un dossier (par exemple telecharges avec download_files) et les enregistre dans un autre repertoire. Les fichiers normalises deja presents ne sont pas re-calcules. La normalisation est effectuee avec la fonction normalize_height et l'algorithme tin. Les fichiers a normaliser peuvent etre selectionnes via une zone d'interet, il est conseille que les fichiers adjacents soient egalement telecharges pour eviter les effets de bord.

Utilisation

normalize_files(original, normalized, roi = NULL, prompt = TRUE, ncores = 2L)

Arguments

original

Text, path to the folder that contains the laz files downloaded from IGN. The folder should contain a "cata.rda" file with the saved LAScatalog-class object of files in the folder.

normalized

Text, path to the folder that contains or will contain the normalized laz files. If some files are already present, the folder should contain a "cata.rda" file with the saved LAScatalog-class object of files in the folder.

roi

sf object or character vector. Region of interest if sf object, "blocs" of interest if character vector.

prompt

Boolean. Should the user be prompted before plotting and normalizing ?

ncores

Integer, number of cores to use with future package.

Valeur de retour

The updated LAScatalog-class object of normalized files in the normalized folder.

Exemples

if (FALSE) normalize_files("./data/LAZ_classe/", "./data/LAZ_norm/", prompt = TRUE, ncores = 2L) # \dontrun{}