[pdal] Generic read/write based on file suffix?
Peder Axensten
Peder.Axensten at slu.se
Tue Oct 13 06:13:07 PDT 2020
Excellent! Thank you Andrew!
Best regards,
Peder Axensten
Research engineer
Remote Sensing
Department of Forest Resource Management
Swedish University of Agricultural Sciences
SE-901 83 Umeå
Visiting address: Skogsmarksgränd
Phone: +46 90 786 85 00
peder.axensten at slu.se, www.slu.se/srh
The Department of Forest Resource Management is environmentally certified in accordance with ISO 14001.
> On 13 Oct 2020, at 14:39, Andrew Bell <andrew.bell.ia at gmail.com> wrote:
>
>
>
> On Tue, Oct 13, 2020 at 8:23 AM Peder Axensten <Peder.Axensten at slu.se> wrote:
> Hi!
>
> Is there a way to write pipes without specifying the reader/writer?
> That is, can I write mypipe.json in such a way so that something like the following would work?
> pdal pipeline mypipe.json —input=in/file.laz --output=out/file.laz
> The idea is that the suffix .laz of in/file.laz would determine the reader to be readers.las. And similar with the output. That way
> pdal pipeline mypipe.json —input=in/file.pcd --output=out/file.text
> would work without modifying mypipe.json.
>
> Sure. Just use `pdal translate` with the `--json` option.
>
> -- Andrew Bell
> andrew.bell.ia at gmail.com
---
När du skickar e-post till SLU så innebär detta att SLU behandlar dina personuppgifter. För att läsa mer om hur detta går till, klicka här <https://www.slu.se/om-slu/kontakta-slu/personuppgifter/>
E-mailing SLU will result in SLU processing your personal data. For more information on how this is done, click here <https://www.slu.se/en/about-slu/contact-slu/personal-data/>
More information about the pdal
mailing list