Learn R Programming

lidR (version 3.2.3)

filter_surfacepoints: Filter the surface points

Description

This function is superseded by the algorithm highest usable in decimate_points

Usage

filter_surfacepoints(las, res)

Arguments

las

An object of class LAS or LAScatalog.

res

numeric. The resolution of the grid used to filter the point cloud

Value

If the input is a LAS object, returns a LAS object. If the input is a LAScatalog, returns a LAScatalog.

Supported processing options

Supported processing options for a LAScatalog (in bold). For more details see the LAScatalog engine documentation:

  • chunk size: How much data is loaded at once.

  • chunk buffer: This function guarantee a strict wall-to-wall continuous output. The buffer option is not considered.

  • chunk alignment: Align the processed chunks.

  • progress: Displays a progression estimation.

  • output files*: Mandatory because the output is likely to be too big to be returned in R and needs to be written in las/laz files. Supported templates are {XLEFT}, {XRIGHT}, {YBOTTOM}, {YTOP}, {XCENTER}, {YCENTER} {ID} and, if chunk size is equal to 0 (processing by file), {ORIGINALFILENAME}.

  • select: The function will write files equivalent to the original ones. Thus select = "*" and cannot be changed.

  • filter: Read only points of interest.

See Also

Other filters: filter_duplicates(), filter_poi(), filters