[pdal] Reader text and separator

Lars laasunde at hotmail.com
Wed Apr 18 00:02:02 PDT 2018


This test is executed on Windows7 SP1 and the following commands are issued in cmd shell;


c:\PDAL_1.5\bin>pdal.exe --version
--------------------------------------------------------------------------------

pdal 1.5.0 (git-version: Release)
--------------------------------------------------------------------------------

c:\PDAL_1.5\bin>pdal pipeline --input c:\Temp\textpipe.json
(pdal pipeline readers.text Error) Can't convert field '' to numeric value on line 2 in 'C:\Temp\inputdata1.csv'.  Setting to 0.
(pdal pipeline readers.text Error) Can't convert field '' to numeric value on line 3 in 'C:\Temp\inputdata1.csv'.  Setting to 0.

c:\PDAL_1.5\bin>pdal pipeline --input c:\Temp\textpipe.json


Note: Before calling pdal pipeline the second time I updated the .json file to use inputdata2.csv and outputdata2.csv.


I have attached pipeline file, two input files and two output files. The only difference I can spot between the two input files is one uses space and the other semi-colan. The output files are not equal.


kind regards, Lars

________________________________
Fra: pdal <pdal-bounces at lists.osgeo.org> på vegne av Andrew Bell <andrew.bell.ia at gmail.com>
Sendt: 17. april 2018 15:34
Til: Howard Butler
Kopi: pdal at lists.osgeo.org
Emne: Re: [pdal] Reader text and separator

I can't recreate this on version 1.5 or the current codebase.  If you could attach the first few lines of the actual file you are using, I could take a look again.

On Tue, Apr 17, 2018 at 8:26 AM, Howard Butler <howard at hobu.co<mailto:howard at hobu.co>> wrote:


On 4/17/18 4:06 AM, Lars wrote:
> Ran PDAL 1.5 with pipeline using readers.text;
Could you try the same pipeline using PDAL 1.7.1? There were a number of
improvements in readers.text for 1.6 and 1.7. Maybe these improvements
have fixed up your issue.

Howard


_______________________________________________
pdal mailing list
pdal at lists.osgeo.org<mailto:pdal at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/pdal



--
Andrew Bell
andrew.bell.ia at gmail.com<mailto:andrew.bell.ia at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20180418/5d218c44/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inputdata1.csv
Type: application/vnd.ms-excel
Size: 33 bytes
Desc: inputdata1.csv
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20180418/5d218c44/attachment.xlb>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inputdata2.csv
Type: application/vnd.ms-excel
Size: 33 bytes
Desc: inputdata2.csv
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20180418/5d218c44/attachment-0001.xlb>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: outputdata1.csv
Type: application/vnd.ms-excel
Size: 35 bytes
Desc: outputdata1.csv
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20180418/5d218c44/attachment-0002.xlb>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: outputdata2.csv
Type: application/vnd.ms-excel
Size: 48 bytes
Desc: outputdata2.csv
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20180418/5d218c44/attachment-0003.xlb>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: textpipe.json
Type: application/json
Size: 210 bytes
Desc: textpipe.json
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20180418/5d218c44/attachment.json>


More information about the pdal mailing list