Skip to contents

Write a point cloud to file

Usage

px_write(cloud, path, compress = NULL)

Arguments

cloud

A px_cloud object.

path

Character string — output file path. Format inferred from extension.

compress

Logical or NULL. For LAS output, whether to compress to LAZ. If NULL, inferred from extension.

Value

Invisibly returns the output path.

Examples

if (FALSE) { # \dontrun{
px_write(cloud, "output.laz")
} # }