Skip to content
This repository has been archived by the owner on Nov 10, 2020. It is now read-only.

Moving to https:/github.com/uacic. Converts PLY point clouds to LAS (formerly extractors-3dscanner/ply2las in TERRAREF project)

License

Notifications You must be signed in to change notification settings

AgPipeline/transformer-ply2las

Transformer: PLY to LAS converter

This extractor converts PLY 3D point cloud files into LAS files.

Docker

The Dockerfile included in this directory can be used to launch this Transformer in a container.

Sample Docker Command Line

Below is a sample command line that shows how the .ply to .las file converter Docker image could be run. An explanation of the command line options used follows. Be sure to read up on the docker run command line for more information.

docker run --rm --mount "src=/home/test,target=/mnt,type=bind" agpipeline/ply2las:2.1 --working_space "/mnt" --metadata "/mnt/08f445ef-b8f9-421a-acf1-8b8c206c1bb8_metadata_cleaned.json" /mnt/3c807fe1-a5ba-4b4b-b618-1d2c9c981678__Top-heading-east_0.ply

This example command line assumes the source files are located in the /home/test folder of the local machine. The name of the image to run is agpipeline/ply2las:2.1.

We are using the same folder for the source files and the output files. By using multiple --mount options, the source and output files can be separated.

Docker commands
Everything between 'docker' and the name of the image are docker commands.

  • run indicates we want to run an image
  • --rm automatically delete the image instance after it's run
  • --mount "src=/home/test,target=/mnt,type=bind" mounts the /home/test folder to the /mnt folder of the running image

We mount the /home/test folder to the running image to make files available to the software in the image.

Image's commands
The command line parameters after the image name are passed to the software inside the image. Note that the paths provided are relative to the running image (see the --mount option specified above).

  • --working_space "/mnt" specifies the folder to use as a workspace
  • --metadata "/mnt/08f445ef-b8f9-421a-acf1-8b8c206c1bb8_metadata.cleaned.json" is the name of the source metadata to use
  • /mnt/3c807fe1-a5ba-4b4b-b618-1d2c9c981678__Top-heading-east_0.ply is the name of the ply file to convert

About

Moving to https:/github.com/uacic. Converts PLY point clouds to LAS (formerly extractors-3dscanner/ply2las in TERRAREF project)

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •