[pdal] How to read a text file

Michael Rosen michael.rosen at gmail.com
Thu Mar 23 17:23:38 PDT 2017


Suppose I wanted to pass a text file into PDAL:

512333.29   5403400.03  316.88   100   512333.30   5403400.04  316.82   100

512333.30   5403400.23  316.89   94    512333.30   5403400.22  316.91   94

512333.31   5403400.32  316.93   48    512333.31   5403400.33  316.90   48

512333.32   5403400.52  316.93   48    512333.33   5403400.53  316.90   48

512333.34   5403400.63  316.90   50    512333.34   5403400.63  316.91   50

512333.35   5403400.73  316.90   68    512333.35   5403400.74  316.84   68

512333.35   5403400.83  316.92   43    512333.36   5403400.84  316.85   43

512333.09   5403399.97  323.35   6     512333.36   5403400.94  316.90   43

512333.10   5403400.08  323.33   23    512333.38   5403401.05  316.86   46

512333.38   5403401.04  316.92   47    512333.38   5403401.04  316.90   47

512333.39   5403401.15  316.91   42    512333.39   5403401.15  316.87   42

512333.40   5403401.15  316.92   39    512333.40   5403401.16  316.85   39

512333.40   5403401.16  316.90   50    512333.41   5403401.17  316.84   50

512333.42   5403401.17  316.89   51    512333.42   5403401.18  316.83   51

...

No header line, just a list of known fields.  Suppose I wanted to translate
it to LAS.  How could I do that?

Here's what doesn't work:

pdal translate myfile.txt myfile.las

pdal translate --readers.text.separator=" " myfile.txt myfile.las

thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20170323/ba6fda71/attachment.html>


More information about the pdal mailing list