<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top: 0px; margin-bottom: 0px;">The following data works:</p>
<p style="margin-top: 0px; margin-bottom: 0px;">X,Y,Z</p>
<p style="margin-top: 0px; margin-bottom: 0px;">1.1,2.2,3.3</p>
<p style="margin-top: 0px; margin-bottom: 0px;">4.4,5.5,6.6</p>
<p style="margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;">The following data does not work.</p>
<p style="margin-top: 0px; margin-bottom: 0px;">X Y Z</p>
<p style="margin-top: 0px; margin-bottom: 0px;"></p>
<p style="margin-top: 0px; margin-bottom: 0px;">1.1 2.2 3.3</p>
<p style="margin-top: 0px; margin-bottom: 0px;">4.4 5.5 6.6</p>
<p></p>
<p><br>
</p>
<p>The following error messages are displayed;</p>
<p>(pdal pipeline readers.text Error) Can't convert field '' to numeric value on line 2 in 'C:\bla\bla\file.txt'. Setting to 0.</p>
<p><span><span>(pdal pipeline readers.text Error)</span> Can't convert field '' to numeric value on line 3 in 'C:\bla\bla\file.txt'. Setting to 0.</span></p>
<p><br>
Appreciate any help.</p>
<p><br>
</p>
<p>kind regards, Lars<br>
</p>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="width: 98%; display: inline-block;">
<div id="divRplyFwdMsg" dir="ltr"><font color="#000000" face="Calibri, sans-serif" style="font-size: 11pt;"><b>Fra:</b> Andrew Bell <andrew.bell.ia@gmail.com><br>
<b>Sendt:</b> 17. april 2018 12:04<br>
<b>Til:</b> Lars<br>
<b>Kopi:</b> pdal@lists.osgeo.org<br>
<b>Emne:</b> Re: [pdal] Reader text and separator</font>
<div> </div>
</div>
<div>
<div dir="auto">Please provide the first few lines of a file that you believe isn't being handled as described in the documentation.
<div dir="auto"><br>
</div>
<div dir="auto">Thanks</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr">On Tue, Apr 17, 2018, 5:06 AM Lars <<a id="LPlnk851814" href="mailto:laasunde@hotmail.com" previewremoved="true">laasunde@hotmail.com</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;">
<div dir="ltr">
<div id="x_m_-1768810290713001372divtagdefaultwrapper" style="color: rgb(0, 0, 0); font-family: Calibri,Helvetica,sans-serif; font-size: 12pt;" dir="ltr">
<p style="margin-top: 0px; margin-bottom: 0px;">Hello again,</p>
<p style="margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;">The documentation for readers.text says "<span>Any single non-alphanumeric character can be used as a separator." - does this include space? [which is an
<span>non-alphanumeric character]</span></span></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><span><br>
</span></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><span>Ran PDAL 1.5 with pipeline using
<span>readers.text;</span></span></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><span><span>- </span>using semi-colan as separator in header and data and it works.
</span></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><span>- using space as <span>separator in header and data and it does not works.
</span></span></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><span><br>
</span></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><span>Viewing the PDAL source code, specifically TextReader::initalize, I see the comment "Scan string for some character not a number, space or letter.".</span></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;">If space is not supported as separator, please consider updating documentation.</p>
<p style="margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;">kind regards, Lars<br>
</p>
</div>
</div>
_______________________________________________<br>
pdal mailing list<br>
<a id="LPlnk795578" href="mailto:pdal@lists.osgeo.org" target="_blank" rel="noreferrer" previewremoved="true">pdal@lists.osgeo.org</a><br>
<a id="LPlnk792090" href="https://lists.osgeo.org/mailman/listinfo/pdal" target="_blank" rel="noreferrer noreferrer" previewremoved="true">https://lists.osgeo.org/mailman/listinfo/pdal</a></blockquote>
</div>
</div>
</div>
</div>
</body>
</html>