<div dir="auto">Robert,<div dir="auto"><br><div dir="auto">Does the input have return information (number, etc.)? If it does, but there are no last or only returns for some reason, then smrf would have nothing to work with. There is a workaround if that's the case.</div><div dir="auto"><br></div><div dir="auto">Are you running with '--verbose 5'? I think that should give you some information as to how many points are making it to smrf from earlier stages. I didn't see anything that would cause them to be dropped on their way, but who knows.</div><div dir="auto"><br></div><div dir="auto">Brad</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, Jan 19, 2019, 11:16 AM Robert Dzur <<a href="mailto:rdzur@bhinc.com" target="_blank" rel="noreferrer">rdzur@bhinc.com</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div id="m_-4995116841008816910m_2128493233466055575divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p style="margin-top:0;margin-bottom:0"><span>Hi List,</span></p>
<p style="margin-top:0;margin-bottom:0"><span><br>
</span></p>
<p style="margin-top:0;margin-bottom:0"><span>I've be running into some trouble getting filters.smrf to run on a LAS file on pdal 1.8.0 (<span>OS X</span> brew install).</span></p>
<p style="margin-top:0;margin-bottom:0"><span><br>
</span></p>
<p style="margin-top:0;margin-bottom:0"><span>Running the following command:</span></p>
<p style="margin-top:0;margin-bottom:0"><span><br>
</span></p>
<p style="margin-top:0;margin-bottom:0"><span><span>pdal pipeline denoise_classify_sample9_1ft.json \</span></span></p>
<p style="margin-top:0;margin-bottom:0"><span><span>--readers.las.filename=Day_5/TrackZ_S_20181014_183948_Profiler.zfs_7.las \</span></span></p>
<p style="margin-top:0;margin-bottom:0"><span><span>--writers.las.filename=ALL_LAS/Day_5/TrackZ_S_20181014_183948_Profiler.zfs_7_smrf_9.las</span><br>
</span></p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"><span>fails to write a point cloud and reports the following:</span></p>
<p style="margin-top:0;margin-bottom:0"><span><br>
</span></p>
<p style="margin-top:0;margin-bottom:0"><span>PDAL: filters.smrf: No returns to process.</span></p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">I have run this same command on another machine that has pdal 1.7.2
<span>(<span>OS X</span> brew install)</span> which successfully completes and writes the resulting point cloud as expected.<br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">I'm wondering if anyone may have any pointers regarding how I might get filters.smrf to run in 1.8.0. on these data. Incidentally, I have been able to successfully apply the same json file to airborne las data in 1.8.0.
I'm somewhat confused about what might be the issue with the point cloud file in 1.8 where it fails versus 1.7.2 where the file processes correctly.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Contents of the json file follow:</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"></p>
<div style="color:#d4d4d4;background-color:#1e1e1e;font-family:Menlo,Monaco,'Courier New',monospace;font-weight:normal;font-size:12px;line-height:18px;white-space:pre-wrap">
<div><span style="color:#d4d4d4">{</span></div>
<div><span style="color:#d4d4d4"></span><span style="color:#9cdcfe">"pipeline"</span><span style="color:#d4d4d4">: [</span></div>
<div><span style="color:#d4d4d4">{</span></div>
<div><span style="color:#d4d4d4"></span><span style="color:#9cdcfe">"type"</span><span style="color:#d4d4d4"> :
</span><span style="color:#ce9178">"readers.las"</span><span style="color:#d4d4d4">,</span></div>
<div><span style="color:#d4d4d4"></span><span style="color:#9cdcfe">"filename"</span><span style="color:#d4d4d4"> :
</span><span style="color:#ce9178">"file.las"</span></div>
<div><span style="color:#d4d4d4">},</span></div>
<div><span style="color:#d4d4d4">{</span></div>
<div><span style="color:#d4d4d4"></span><span style="color:#9cdcfe">"type"</span><span style="color:#d4d4d4">:</span><span style="color:#ce9178">"filters.assign"</span><span style="color:#d4d4d4">,</span></div>
<div><span style="color:#d4d4d4"></span><span style="color:#9cdcfe">"assignment"</span><span style="color:#d4d4d4"> :
</span><span style="color:#ce9178">"Classification[0:20]=0"</span></div>
<div><span style="color:#d4d4d4">},</span></div>
<div><span style="color:#d4d4d4">{</span></div>
<div><span style="color:#d4d4d4"></span><span style="color:#9cdcfe">"type"</span><span style="color:#d4d4d4">:
</span><span style="color:#ce9178">"filters.outlier"</span><span style="color:#d4d4d4">,</span></div>
<div><span style="color:#d4d4d4"></span><span style="color:#9cdcfe">"method"</span><span style="color:#d4d4d4">:
</span><span style="color:#ce9178">"statistical"</span><span style="color:#d4d4d4">,</span></div>
<div><span style="color:#d4d4d4"></span><span style="color:#9cdcfe">"multiplier"</span><span style="color:#d4d4d4">:</span><span style="color:#b5cea8">4</span><span style="color:#d4d4d4">,</span></div>
<div><span style="color:#d4d4d4"></span><span style="color:#9cdcfe">"mean_k"</span><span style="color:#d4d4d4">:
</span><span style="color:#b5cea8">12</span></div>
<div><span style="color:#d4d4d4">},</span></div>
<div><span style="color:#d4d4d4">{</span></div>
<div><span style="color:#d4d4d4"></span><span style="color:#9cdcfe">"type"</span><span style="color:#d4d4d4">:</span><span style="color:#ce9178">"filters.smrf"</span><span style="color:#d4d4d4">,</span></div>
<div><span style="color:#d4d4d4"></span><span style="color:#9cdcfe">"cell"</span><span style="color:#d4d4d4">:</span><span style="color:#b5cea8">1.00</span><span style="color:#d4d4d4">,</span></div>
<div><span style="color:#d4d4d4"></span><span style="color:#9cdcfe">"scalar"</span><span style="color:#d4d4d4">:</span><span style="color:#b5cea8">0.0</span><span style="color:#d4d4d4">,</span></div>
<div><span style="color:#d4d4d4"></span><span style="color:#9cdcfe">"slope"</span><span style="color:#d4d4d4">:</span><span style="color:#b5cea8">0.06</span><span style="color:#d4d4d4">,</span></div>
<div><span style="color:#d4d4d4"></span><span style="color:#9cdcfe">"threshold"</span><span style="color:#d4d4d4">:</span><span style="color:#b5cea8">1.05</span><span style="color:#d4d4d4">,</span></div>
<div><span style="color:#d4d4d4"></span><span style="color:#9cdcfe">"window"</span><span style="color:#d4d4d4">:</span><span style="color:#b5cea8">49.0</span><span style="color:#d4d4d4">,</span></div>
<div><span style="color:#d4d4d4"></span><span style="color:#9cdcfe">"cut"</span><span style="color:#d4d4d4">:</span><span style="color:#b5cea8">0.0</span></div>
<div><span style="color:#d4d4d4">}, </span></div>
<div><span style="color:#d4d4d4">{</span></div>
<div><span style="color:#d4d4d4"></span><span style="color:#9cdcfe">"type"</span><span style="color:#d4d4d4">:
</span><span style="color:#ce9178">"writers.las"</span><span style="color:#d4d4d4">,</span></div>
<div><span style="color:#d4d4d4"></span><span style="color:#9cdcfe">"compression"</span><span style="color:#d4d4d4">:
</span><span style="color:#ce9178">"false"</span><span style="color:#d4d4d4">,</span></div>
<div><span style="color:#d4d4d4"></span><span style="color:#9cdcfe">"a_srs"</span><span style="color:#d4d4d4">:
</span><span style="color:#ce9178">"EPSG:6531+6360"</span><span style="color:#d4d4d4">,</span></div>
<div><span style="color:#d4d4d4"></span><span style="color:#9cdcfe">"minor_version"</span><span style="color:#d4d4d4">:
</span><span style="color:#ce9178">"2"</span><span style="color:#d4d4d4">,</span></div>
<div><span style="color:#d4d4d4"></span><span style="color:#9cdcfe">"forward"</span><span style="color:#d4d4d4">:
</span><span style="color:#ce9178">"all"</span><span style="color:#d4d4d4">,</span></div>
<div><span style="color:#d4d4d4"></span><span style="color:#9cdcfe">"filename"</span><span style="color:#d4d4d4">:</span><span style="color:#ce9178">"outfile.las"</span></div>
<div><span style="color:#d4d4d4">}</span></div>
<div><span style="color:#d4d4d4">]</span></div>
<div><span style="color:#d4d4d4">}</span></div>
</div>
<br>
<p></p>
<p style="margin-top:0;margin-bottom:0">Thanks for any assistance in this matter.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Best</p>
<p style="margin-top:0;margin-bottom:0">--</p>
<p style="margin-top:0;margin-bottom:0">Rob Dzur</p>
<p style="margin-top:0;margin-bottom:0"><a href="mailto:rdzur@bhinc.com" rel="noreferrer noreferrer" target="_blank">rdzur@bhinc.com</a></p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
</div>
</div>
_______________________________________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org" rel="noreferrer noreferrer" target="_blank">pdal@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pdal" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/pdal</a></blockquote></div>