<div dir="ltr">Regarding the Classification assignment, I think you've got the filter specification backwards. To "reclassify points under code 17 to 10", you would want "assignment":"Classification[17:17]=10".</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 12, 2020 at 3:48 PM Rose Phillips <<a href="mailto:RPhillips@linz.govt.nz" target="_blank">RPhillips@linz.govt.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-NZ">
<div>
<p class="MsoNormal">Hi guys,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Hope you’re all having a good week. <u></u><u></u></p>
<p class="MsoNormal">When reclassifying points in LAS files where there are also flags (withheld, synthetic, keypoint or overlap), I’ve noticed a discrepancy between pdal info + lasinfo reports with my output LAS files, and an assortment of classification codes
(for pdal info) that I’m not familiar with. <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I used pdal pipeline to reclassify points under code 17 to 10 :-<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)">{<u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> </span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(156,220,254)">"pipeline"</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> : [<u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> {<u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> </span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(156,220,254)">"type"</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> : </span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(206,145,120)">"readers.las"</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)">,<u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> </span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(156,220,254)">"filename"</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> : </span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(206,145,120)">"input.las"</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"><u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> },<u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> {<u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> </span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(156,220,254)">"type"</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)">:</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(206,145,120)">"filters.assign"</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)">,<u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> </span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(156,220,254)">"assignment"</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)">:</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(206,145,120)">"Classification[10:10]=17"</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"><u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> },<u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> {<u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> </span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(156,220,254)">"type"</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> : </span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(206,145,120)">"writers.las"</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)">,<u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> </span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(156,220,254)">"minor_version"</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> : </span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(181,206,168)">4,</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"><u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> </span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(156,220,254)">"dataformat_id"</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)">: </span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(181,206,168)">1</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)">,<u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> </span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(156,220,254)">"a_srs"</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> : </span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(206,145,120)">"EPSG:2193+7839"</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)">,<u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> </span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(156,220,254)">"forward"</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> : </span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(206,145,120)">"all"</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)">,<u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> </span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(156,220,254)">"filename"</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> : </span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(206,145,120)">"output.las"</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"><u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> }<u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"> ]<u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)">}<u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:14.25pt;background:rgb(30,30,30)"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(212,212,212)"><u></u> <u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Looking at lasinfo reports, for an input and output file, it looks like there are still points assigned as 17? But the pdal info reports show something else, and points with different counts e.g.
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><i>Input file (pdal info)<u></u><u></u></i></p>
<p class="MsoNormal"><i> "filename": "D:\\ BM34_2018_1000_1637.las",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "pdal_version": "2.0.1 (git-version: Release)",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "stats":<u></u><u></u></i></p>
<p class="MsoNormal"><i> {<u></u><u></u></i></p>
<p class="MsoNormal"><i> "statistic":<u></u><u></u></i></p>
<p class="MsoNormal"><i> [<u></u><u></u></i></p>
<p class="MsoNormal"><i> {<u></u><u></u></i></p>
<p class="MsoNormal"><i> "average": 38.90448897,<u></u><u></u></i></p>
<p class="MsoNormal"><i> "count": 4048726,<u></u><u></u></i></p>
<p class="MsoNormal"><i> "counts":<u></u><u></u></i></p>
<p class="MsoNormal"><i> [<u></u><u></u></i></p>
<p class="MsoNormal"><i> "1.000000/1",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "2.000000/2590331",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "3.000000/146834",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "4.000000/16873",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "5.000000/106701",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "6.000000/13937",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "7.000000/51",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "9.000000/14124",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "10.000000/218",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "130.000000/993308",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "131.000000/102834",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "132.000000/6622",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "133.000000/40561",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "134.000000/9820",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "135.000000/5",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "137.000000/6215",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "138.000000/291"<u></u><u></u></i></p>
<p class="MsoNormal"><i> ],<u></u><u></u></i></p>
<p class="MsoNormal"><i> "maximum": 138,<u></u><u></u></i></p>
<p class="MsoNormal"><i> "minimum": 1,<u></u><u></u></i></p>
<p class="MsoNormal"><i> "name": "Classification",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "position": 0,<u></u><u></u></i></p>
<p class="MsoNormal"><i> "stddev": 57.89674269,<u></u><u></u></i></p>
<p class="MsoNormal"><i> "variance": 3352.032814<u></u><u></u></i></p>
<p class="MsoNormal"><i> }<u></u><u></u></i></p>
<p class="MsoNormal"><i> ]<u></u><u></u></i></p>
<p class="MsoNormal"><i> }<u></u><u></u></i></p>
<p class="MsoNormal"><i>}<u></u><u></u></i></p>
<p class="MsoNormal"><i><u></u> <u></u></i></p>
<p class="MsoNormal"><i>Output File (pdal info)<u></u><u></u></i></p>
<p class="MsoNormal"><i>{<u></u><u></u></i></p>
<p class="MsoNormal"><i> "filename": "D:\\palmerston_north_cc\\pdal_reclassification_issue\\reclassified\\CL2_BM34_2018_1000_1637.laz",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "pdal_version": "2.0.1 (git-version: Release)",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "stats":<u></u><u></u></i></p>
<p class="MsoNormal"><i> {<u></u><u></u></i></p>
<p class="MsoNormal"><i> "statistic":<u></u><u></u></i></p>
<p class="MsoNormal"><i> [<u></u><u></u></i></p>
<p class="MsoNormal"><i> {<u></u><u></u></i></p>
<p class="MsoNormal"><i> "average": 38.90486588,<u></u><u></u></i></p>
<p class="MsoNormal"><i> "count": 4048726,<u></u><u></u></i></p>
<p class="MsoNormal"><i> "counts":<u></u><u></u></i></p>
<p class="MsoNormal"><i> [<u></u><u></u></i></p>
<p class="MsoNormal"><i> "1.000000/1",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "2.000000/2590331",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "3.000000/146834",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "4.000000/16873",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "5.000000/106701",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "6.000000/13937",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "7.000000/51",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "9.000000/14124",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "17.000000/218",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "130.000000/993308",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "131.000000/102834",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "132.000000/6622",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "133.000000/40561",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "134.000000/9820",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "135.000000/5",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "137.000000/6215",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "138.000000/291"<u></u><u></u></i></p>
<p class="MsoNormal"><i> ],<u></u><u></u></i></p>
<p class="MsoNormal"><i> "maximum": 138,<u></u><u></u></i></p>
<p class="MsoNormal"><i> "minimum": 1,<u></u><u></u></i></p>
<p class="MsoNormal"><i> "name": "Classification",<u></u><u></u></i></p>
<p class="MsoNormal"><i> "position": 0,<u></u><u></u></i></p>
<p class="MsoNormal"><i> "stddev": 57.8965773,<u></u><u></u></i></p>
<p class="MsoNormal"><i> "variance": 3352.013663<u></u><u></u></i></p>
<p class="MsoNormal"><i> }<u></u><u></u></i></p>
<p class="MsoNormal"><i> ]<u></u><u></u></i></p>
<p class="MsoNormal"><i> }<u></u><u></u></i></p>
<p class="MsoNormal"><i>}<u></u><u></u></i></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><i>Input file (lasinfo)<u></u><u></u></i></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">histogram of classification of points:<u></u><u></u></p>
<p class="MsoNormal"> 1 unclassified (1)<u></u><u></u></p>
<p class="MsoNormal"> 3583639 ground (2)<u></u><u></u></p>
<p class="MsoNormal"> 249668 low vegetation (3)<u></u><u></u></p>
<p class="MsoNormal"> 23495 medium vegetation (4)<u></u><u></u></p>
<p class="MsoNormal"> 147262 high vegetation (5)<u></u><u></u></p>
<p class="MsoNormal"> 23757 building (6)<u></u><u></u></p>
<p class="MsoNormal"> 56 noise (7)<u></u><u></u></p>
<p class="MsoNormal"> 20339 water (9)<u></u><u></u></p>
<p class="MsoNormal"> 509 rail (10)<u></u><u></u></p>
<p class="MsoNormal">+-> flagged as withheld: 1159656<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><i>Output file (lasinfo)<u></u><u></u></i></p>
<p class="MsoNormal"><i><u></u> <u></u></i></p>
<p class="MsoNormal">histogram of classification of points:<u></u><u></u></p>
<p class="MsoNormal"> 1 unclassified (1)<u></u><u></u></p>
<p class="MsoNormal"> 3583639 ground (2)<u></u><u></u></p>
<p class="MsoNormal"> 249668 low vegetation (3)<u></u><u></u></p>
<p class="MsoNormal"> 23495 medium vegetation (4)<u></u><u></u></p>
<p class="MsoNormal"> 147262 high vegetation (5)<u></u><u></u></p>
<p class="MsoNormal"> 23757 building (6)<u></u><u></u></p>
<p class="MsoNormal"> 56 noise (7)<u></u><u></u></p>
<p class="MsoNormal"> 20339 water (9)<u></u><u></u></p>
<p class="MsoNormal"> 291 rail (10)<u></u><u></u></p>
<p class="MsoNormal"> 218 bridge deck (17)<u></u><u></u></p>
<p class="MsoNormal">+-> flagged as withheld: 1159656<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’m guessing pdal info is the most accurate output as arcgis pro + global mapper outputs are the same as pdal info and lasinfo is the odd one out.<u></u><u></u></p>
<p class="MsoNormal">I wrote a las2las and pdal pipeline workaround to make sure that both lasinfo + pdal info outputs were the same.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I was wondering if you guys knew why the flags were written as numbers and why they are split up in codes, that change for each file?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Many thanks and kind regards,<u></u><u></u></p>
<p class="MsoNormal">Rose Phillips<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Location Data Analyst<u></u><u></u></p>
<p class="MsoNormal">Land Information New Zealand<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<br>
<hr>
<font face="Verdana" color="Black" size="2"><br>
This message contains information, which may be in confidence and may be subject to legal privilege. If you are not the intended recipient, you must not peruse, use, disseminate, distribute or copy this message. If you have received this message in error, please
notify us immediately (Phone 0800 665 463 or <a href="mailto:info@linz.govt.nz" target="_blank">info@linz.govt.nz</a>) and destroy the original message. LINZ accepts no responsibility for changes to this email, or for any attachments, after its transmission from LINZ. Thank You.<br>
</font>
</div>
_______________________________________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org" target="_blank">pdal@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pdal" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/pdal</a></blockquote></div>