<div dir="ltr"><div><div>There was definitely an indexing issue in PMF that was fixed about a year ago (<a href="https://github.com/PDAL/PDAL/commit/f9f5e8f3bc25388667cc8684c2d7892e6ab86046#diff-4e6a684c3701f0406ca632bb86c5cbed">https://github.com/PDAL/PDAL/commit/f9f5e8f3bc25388667cc8684c2d7892e6ab86046#diff-4e6a684c3701f0406ca632bb86c5cbed</a>).<br><br></div>If you are building from source, why not go ahead and upgrade to our latest release? <a href="http://download.osgeo.org/pdal/PDAL-1.7.1-src.tar.gz">http://download.osgeo.org/pdal/PDAL-1.7.1-src.tar.gz</a><br><br></div><div>Refer to the PMF docs for some updates to the parameters. <a href="https://www.pdal.io/stages/filters.pmf.html">https://www.pdal.io/stages/filters.pmf.html</a> Namely, approximate is no longer needed. Nor are extract or classify. The points will be classified regardless, and if you want to extract only ground points, you'll need to add a range filter (there is an example at the link).<br></div><div><br></div>Brad<br></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Apr 19, 2018 at 10:13 AM Shane Carey <<a href="mailto:careyshan@gmail.com">careyshan@gmail.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><div><div>Hi,<br><br></div>Thanks for your reply.<br><br></div>1) it works fine for some grids<br></div>2) pdal pipeline -i dtm.json and that file is as follows<br><div><br>{<br>    "pipeline":[<br>        "LDR120201_125342_1.LAS",<br>    {<br>        "type":"filters.pmf",<br>        "approximate":true,<br>        "max_window_size":17,<br>        "slope":1.0,<br>        "max_distance":2.5,<br>        "initial_distance":0.15,<br>        "cell_size":1,<br>        "extract":true,<br>        "classify":true<br>    },<br>    {<br>        "type":"writers.gdal",<br>        "filename":"LDR120201_125342_1.tif",<br>        "output_type":"mean",<br>        "resolution":1.0,<br>        "radius":1.0<br>    }<br>    ]<br>}<br><br></div><div>3) Linux - Ubuntu 16.04<br><br></div><div>4) Installed from source: <a href="http://download.osgeo.org/pdal/PDAL-1.4.0-src.tar.gz" target="_blank">http://download.osgeo.org/pdal/PDAL-1.4.0-src.tar.gz</a><br><br></div><div>Thanks<br></div></div><div class="gmail_extra"></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 19, 2018 at 12:23 PM, Andrew Bell <span dir="ltr"><<a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div dir="auto">Sorry, but I can't help with the information provided. To help us help you, you should:</div><div dir="auto"><br></div>1) try a newer version of PDAL. Version 1.4 is old.<div dir="auto"><br></div><div dir="auto">2) show the command and pipeline that leads to this problem.</div><div dir="auto"><br></div><div dir="auto">3) indicate your OS and version.</div><div dir="auto"><br></div><div dir="auto">4) say how you acquired/built your version of PDAL.</div></div><br><div class="gmail_quote"><div><div class="m_-2661859901819547866h5"><div dir="ltr">On Thu, Apr 19, 2018, 7:06 AM Shane Carey <<a href="mailto:careyshan@gmail.com" target="_blank">careyshan@gmail.com</a>> wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-2661859901819547866h5"><div dir="ltr"><div><div><div>Hi,<br><br></div>I am trying to grid up some data with PDAL nad for some of my outputs I get the following error:<br><br><i>pdal: /home/user/software/PDAL-1.4.0-src/vendor/eigen/Eigen/src/Core/DenseCoeffsBase.h:337: Eigen::DenseCoeffsBase<Derived, 1>::Scalar& Eigen::DenseCoeffsBase<Derived, 1>::operator()(Eigen::DenseCoeffsBase<Derived, 1>::Index, Eigen::DenseCoeffsBase<Derived, 1>::Index) [with Derived = Eigen::Matrix<double, -1, -1>; Eigen::DenseCoeffsBase<Derived, 1>::Scalar = double; Eigen::DenseCoeffsBase<Derived, 1>::Index = long int]: Assertion `row >= 0 && row < rows() && col >= 0 && col < cols()' failed.<br><br></i></div>Any ideas of why this is and how to get around it?<br><br></div>Thanks<br><div><i></i><div><br>
</div></div></div></div></div>
_______________________________________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org" rel="noreferrer" target="_blank">pdal@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pdal" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/pdal</a></blockquote></div>
</blockquote></div><br><br clear="all"><br></div><div class="gmail_extra">-- <br><div class="m_-2661859901819547866gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Le gach dea ghui,<br></div><div><span style="color:rgb(61,133,198)"><b><span style="background-color:rgb(255,255,255)"><i>Shane Carey</i></span></b></span></div><div><span style="color:rgb(61,133,198)"><b><span style="background-color:rgb(255,255,255)"><i>GIS and Data Solutions Consultant</i></span></b></span><br></div></div></div></div></div></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>