[pdal] How to read a text file

Bradley Chambers brad.chambers at gmail.com
Fri Mar 24 12:45:19 PDT 2017


Michael,

You may find this useful.

https://github.com/PDAL/data/tree/master/isprs

Released with permission of the authors.

Brad

On Fri, Mar 24, 2017 at 3:35 PM Michael Rosen <michael.rosen at gmail.com>
wrote:

> Thanks guys.
>
>
> So, I'm looking at the Sithole-Vosselman "Filter Experiment" paper from
> 2004.  The data they provide is in text format and sadly, puts two points
> on a line (first and last return, though they don't give return number nor
> total number of returns).
>
> data: http://www.itc.nl/isprswgIII-3/filtertest/
>
> [X1 - First Return] - x coordinate (Easting)
> [Y1 - First Return] - y coordinate (Northing)
> [Z1 - First Return] - z coordinate (Height)
> [I1 - First Return] - Intensity of returned pulse
> [X2 - Last  Return] - x coordinate (Easting)
> [Y2 - Last  Return] - y coordinate (Northing)
> [Z2 - Last  Return] - z coordinate (Height)
> [I2 - Last  Return] - Intensity of returned pulse
>
>
> To move forward I can, of course, preprocess the file so that these read
> in as two separate, unrelated, points.  However, a robustness test for PDAL
> would be if I could make a pipeline that would read it in as presented.
> Could someone comment on how feasible that is.
>
> On Thu, Mar 23, 2017 at 7:15 PM, Howard Butler <howard at hobu.co> wrote:
>
>
> > On Mar 23, 2017, at 7:23 PM, Michael Rosen <michael.rosen at gmail.com>
> wrote:
> >
> > Suppose I wanted to pass a text file into PDAL:
> >
> > No header line, just a list of known fields.
>
> You need to add a header line at the moment. It would be straightforward
> to make a patch to add a header override option to the TextWriter.cpp code,
> but that hasn't been done so far.
>
> Howard
>
>
> _______________________________________________
> pdal mailing list
> pdal at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/pdal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20170324/824fbcdd/attachment.html>


More information about the pdal mailing list