Command Line User Guide

pdal-parallelizer also have a command-line interface.

Processing pipelines with pdal-parallelizer CLI

To use pdal-parallelizer in the command line you just have to call the executable (pdal-parallelizer) and the function (process-pipelines) and then you can pass all the options needed for your treatment. You can check the options name above.

When you use pdal-parallelizer CLI, you have to specify the timeout like in the API version but it is a bit different. After you enter your command, you will see a message like this :

After how long of inactivity do you want to kill your worker (timeout) ?

Here, you just have to enter the desired timeout and press enter, the the treatment will begin.

pdal-parallelizer process-pipelines CONFIG INPUT_TYPE [OPTIONS]

Required arguments

-c, –config

Path of your config file.

-it, –input_type

This option indicates whether you are processing a single file or a list of files : single or dir. If single, please change the input filed of the config file to put the path of your file instead of the path of your input directory.

Options

-nw, –n_workers

Number of cores you want for processing (default=3)

-tpw, –threads_per_worker

Number of threads for each worker [default=1]

-dr, –dry_run

Number of files to execute the test [default=None]

-d, –diagnostic

Get a graph of the memory usage during the execution