Passer au contenu

Verifie les dalles qui intersectent une region d'interet Propose de les telecharger si elles ne sont pas deja dans un repertoire indique par l'utilisateur

Utilisation

download_files_ch(
  ta,
  roi = NULL,
  las2las_path = "~/LAStools/bin/las2las",
  year = NULL,
  folder = NULL,
  buffer = TRUE
)

Arguments

ta

sf object. Tiles available from swisstopo

roi

sf object. Region of interest

las2las_path

text. path to the las2las bash program from LAStools

year

numeric. Year of data

folder

text. Local folder for laz files. Already downloaded files should not have their names changed

buffer

boolean. Should tiles adjacent to tiles intersecting the roi be downloaded to avoid edge artefacts in further processing ?

Valeur de retour

The input object with an additional attribute containing "out_of_roi", "in_todo", "in_done". This information is not updated in case the user asks for "in_todo" tiles to be downloaded