This basic command line interface combines several open source point cloud processing packages into 1 unified interface. It supports the following formats:
.las
(and compressed.laz
) reading & writing using laspy.ply
(both text and binary) reading & writing using plyfile.e57
reading & writing using pye57.pts
reading & writing (Warning: ASCII mode only).pcd
reading & writing using pypcd4potree
writing only using potreeconverter (executable included in build)
Execute using the command line with the following arguments:
- A file path to an origin point cloud file. Must be an absolute full path. (Required positional argument)
-destination
(aliasses-dest
and-d
) : A destination file or folder path using followed by the desired path. If not provided, the destination directory will be assumed to be the same directory as the origin. The filename will also be the same (except for the extension of course).-extension
(aliasses-ext
ande
) : A destination extension using . Ignored if destination path is already a valid destination point cloud file path. Defaults to.las
if not provided.-unsafe
(alias-u
) : to allow the application to overwrite folders and files. By default, the program does not overwrite files or directories.-verbose
(alias-v
) : Specify a verbosity level, default is2
.0
= No information is logged to the console.1
= Only basic information is printed to the console (e.g "Reading file complete.")2
= Prints nicely formatted messages and progress bars (while writing only).3
= Prints progress as a percentage to the console. Useful if you want to use the executable as is and read the progress from the standard output stream.
-
Providing only an origin. Extension defaults to
.las
.
C:\Users\Someone\pointcloudconverter.exe C:\Users\Someone\pointcloud-dummy.e57
Converted file will be atC:\Users\Someone\pointcloud-dummy.las
-
Providing a destination file. Convert the
pointcloud-dummy.e57
file to a .las file.
C:\Users\Someone\pointcloudconverter.exe C:\Users\Someone\pointcloud-dummy.e57 -destination C:\Users\Someone\targetpointcloud.las
Converted file will be atC:\Users\Someone\targetpointcloud.las
-
Providing a destination directory. Extension defaults to
.las
C:\Users\Someone\pointcloudconverter.exe C:\Users\Someone\pointcloud-dummy.e57 -dest C:\Users\Someone\Downloads
Converted file will be atC:\Users\Someone\Downloads\pointcloud-dummy.las
-
Providing an extension. Destination directory defaults to origin parent directory.
C:\Users\Someone\pointcloudconverter.exe C:\Users\Someone\pointcloud-dummy.e57 -ext .pcd
Converted file will be atC:\Users\Someone\pointcloud-dummy.pcd
-
Providing both extension and destination directory.
C:\Users\Someone\pointcloudconverter.exe C:\Users\Someone\pointcloud-dummy.e57 -dest C:\Users\Someone\Downloads -ext .pts
Converted file will be atC:\Users\Someone\Downloads\pointcloud-dummy.pts