<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Bradley and Adam,</div><div class="gmail_default" style="font-size:small">I think I am messed up...</div><div class="gmail_default" style="font-size:small">What I would like to do using PDAL is to extract a good DTM from my LiDAR data.</div><div class="gmail_default" style="font-size:small">I have very high resolution LiDAR data on different test areas (with vegetation cover, ...) and would like to understand if there are tools that can extract a good the DTM. I already tried to use the pdal ground but the results can be improved so I thought that the PCL was a way to obtain better results. Isn't it?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Unfortunately I think that I didn't understand well how the pipelines work in pdal because if I try to use the pdal pcl command as follow:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default">pdal pcl -i /media/hydrologis/BRENTA/2019_didalos/pdal/test_data/mydata.las -o /media/hydrologis/BRENTA/2019_didalos/pdal/test_data/mydata_ground_pcl.las -p sor-pmf.json<br></div><div class="gmail_default"><br></div><div class="gmail_default">creating the sor-pmf.json file as follow:</div><div class="gmail_default"><br></div><div class="gmail_default"><div class="gmail_default">{</div><div class="gmail_default">  "pipeline": {</div><div class="gmail_default">    "name": "Progressive Morphological Filter with Outlier Removal",</div><div class="gmail_default">    "version": 1.0,</div><div class="gmail_default">    "filters": [{</div><div class="gmail_default">        "name": "StatisticalOutlierRemoval",</div><div class="gmail_default">        "setMeanK": 8,</div><div class="gmail_default">        "setStddevMulThresh": 3.0</div><div class="gmail_default">      }, {</div><div class="gmail_default">        "name": "ProgressiveMorphologicalFilter"</div><div class="gmail_default">    }]</div><div class="gmail_default">  }</div><div class="gmail_default">}</div><div class="gmail_default"><br></div><div class="gmail_default">I can not obtain any result... the output file is empty and in addition, if I try to add the -v4 to the command line I get this error:</div><div class="gmail_default"><br></div><div class="gmail_default">PDAL: kernels.pcl: Unexpected argument '-v'.<br></div><div class="gmail_default"><br></div><div class="gmail_default">Could you please help me understanding what I am doing wrong and what is better to use to extract a DTM from my data? </div><div class="gmail_default">I also saw that there are other filtering drivers like the SMRF, I didn't read the documentation until now, but is there an alternative to the PCL? I choose the PCL because it was the first one for which I found a scientific documentation...</div><div class="gmail_default"><br></div><div class="gmail_default">Hope you can help me.</div><div class="gmail_default"><br></div><div class="gmail_default">Regards</div><div class="gmail_default"><br></div><div class="gmail_default">Silvia</div><div class="gmail_default"><br></div><div class="gmail_default"><br></div><div class="gmail_default"><br></div><div class="gmail_default"><br></div></div><div class="gmail_default"><br></div><div class="gmail_default"><br></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 3, 2019 at 3:05 PM Bradley Chambers <<a href="mailto:brad.chambers@gmail.com">brad.chambers@gmail.com</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 dir="ltr"><div dir="ltr"><div>Silvia,<br></div><div><br></div><div>It has been a long time since I've worked with any of the PCL filters. If this isn't working as documented, we should take a closer look at both the code and the documentation. In the meantime, two things you could try.</div><div><br></div><div>1) Instead of passing in the filename of the PCL JSON pipeline, copy and paste the PCL pipeline you are trying to run into the PCL Block methods option. An example of this is shown at <a href="https://pdal.io/tutorial/pcl_spec.html?highlight=pcl#examples" target="_blank">https://pdal.io/tutorial/pcl_spec.html?highlight=pcl#examples</a>.</div><div><br></div><div>2) Don't use PCL if you don't have to. In modern PDAL, we can do almost all of the older PCL functions using built-in filters. For example, you can replace PCL's passthrough with PDAL's range filter. There are a few lingering PCL capabilities that are not replicated, but they should be few and far between.</div><div><br></div><div>Brad<br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 3, 2019 at 7:59 AM adam steer <<a href="mailto:adam.d.steer@gmail.com" target="_blank">adam.d.steer@gmail.com</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 dir="ltr"><div dir="ltr">Hi Silvia<div><br></div><div>to clarify - the ‘passthough.json’ file I’m referring to, which needs checking, is the one which is passed to ‘filters.pclblock’:</div><div><br></div><div><div class="gmail_default" style="color:rgb(80,0,80)"><span style="white-space:pre-wrap">       </span>{</div><div class="gmail_default" style="color:rgb(80,0,80)"><span style="white-space:pre-wrap">           </span>"type":"filters.pclblock",</div><div class="gmail_default" style="color:rgb(80,0,80)"><span style="white-space:pre-wrap">              </span>"filename":"passthrough.json"</div><div class="gmail_default" style="color:rgb(80,0,80)"><span style="white-space:pre-wrap">   </span>},</div></div><div><br></div><div>hope that helps</div><div><br></div><div>Adam</div><div><br></div></div></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>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="font-size:small">ing. Silvia Franceschi<br>Via Latemar, 22</div><div style="font-size:small">38030 Castello di Fiemme (TN)<br><br>tel: 0039 -3384501332</div></div></div></div></div></div></div>