[pdal] pdal merge
Andrew Bell
andrew.bell.ia at gmail.com
Fri Apr 19 18:03:06 PDT 2019
Ah, I understand what you're getting at. The merge command does the same
thing as a simple pipeline. You should be able to extend the pipeline to
any length. Here is a pipeline that does the same thing as the commands
below:
[
"in1.las",
"in2.txt",
"in1.bpf",
"out.txt"
]
If this pipeline is called merge.json, you can get the same behavior with
pdal pipeline merge.json
Best,
On Fri, Apr 19, 2019 at 8:13 PM Nicolas Cadieux <
nicolas.cadieux at archeotec.ca> wrote:
> Good to know.
> I had problems with Gdal when I had too many files specified in the
> command line. I deduced the problem was with the max memory of characters
> of dos command prompt can handle. It would be nice to have a option with a
> txt file list. I imagine someone will have the same problem I had.
> Cheers
> Nicolas
>
> Le 19 avr. 2019 à 18:37, Andrew Bell <andrew.bell.ia at gmail.com> a écrit :
>
>
> The option has nothing to do with the file type. The file types are
> inferred from the extensions.
>
> Sorry the option is confusing.
>
> All pdal arguments can be specified using options, even if they also
> support positional behavior. In this case, the following are equivalent:
>
> pdal merge in1.las in2.txt in1.bpf out.txt
> pdal merge -f "in1.las in2.txt in1.bpf out.txt"
> pdal merge --files "in1.las in2.txt in1.bpf out.txt"
> pdal merge --files="in1.las in2.txt in1.bpf out.txt"
>
> Hope that helps,
>
>
> On Fri, Apr 19, 2019, 6:15 PM Nicolas Cadieux <
> nicolas.cadieux at archeotec.ca> wrote:
>
>> Hi,
>> If you do use -f, I imagine (educated guess) that the file format will be
>> a straight text file you can write with notepad, vim or notepad++.
>> Normally, these things have one file name on each line like:
>> C:\lidar\1.las
>> C:\lidar\2.las
>> ...
>>
>> If that does not work, try a front slash /. If that does not work, it
>> could be the line end character. They are different on windows or Unix
>> based systems.
>>
>> Using PDAL merge with a very long list may crash on a Windows prompt if
>> the list is too long.
>> Nicolas
>>
>
--
Andrew Bell
andrew.bell.ia at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20190419/16cce103/attachment.html>
More information about the pdal
mailing list