<div dir="ltr"><div><div><div>Hi,<br><br></div>When I try to build from source, I get the following errors:<br><br>[ 46%] Building CXX object plugins/pcl/CMakeFiles/pdal_plugin_filter_voxelgrid.dir/filters/VoxelGridFilter.cpp.o<br><command-line>:0:15: error: ISO C++11 requires whitespace after the macro name [-Werror]<br>cc1plus: all warnings being treated as errors<br>plugins/pcl/CMakeFiles/pdal_plugin_filter_voxelgrid.dir/build.make:62: recipe for target 'plugins/pcl/CMakeFiles/pdal_plugin_filter_voxelgrid.dir/filters/VoxelGridFilter.cpp.o' failed<br>make[2]: *** [plugins/pcl/CMakeFiles/pdal_plugin_filter_voxelgrid.dir/filters/VoxelGridFilter.cpp.o] Error 1<br>CMakeFiles/Makefile2:377: recipe for target 'plugins/pcl/CMakeFiles/pdal_plugin_filter_voxelgrid.dir/all' failed<br>make[1]: *** [plugins/pcl/CMakeFiles/pdal_plugin_filter_voxelgrid.dir/all] Error 2<br>Makefile:160: recipe for target 'all' failed<br>make: *** [all] Error 2<br><br><br></div>Any ideas how to overcome this?<br><br></div>Thanks<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 20, 2018 at 10:11 AM, Shane Carey <span dir="ltr"><<a href="mailto:careyshan@gmail.com" target="_blank">careyshan@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="ltr"><div>Ok cool - I re-build and let you know if that fixes the issues!!<br><br></div>Thanks<br></div><div class="gmail_extra"><span class=""><br clear="all"><div><div class="m_-674459654558870535gmail_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></span><div><div class="h5"><div class="gmail_quote">On Thu, Apr 19, 2018 at 3:23 PM, Bradley Chambers <span dir="ltr"><<a href="mailto:brad.chambers@gmail.com" target="_blank">brad.chambers@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="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" target="_blank">https://github.com/PDAL/PDAL/<wbr>commit/f9f5e8f3bc25388667cc868<wbr>4c2d7892e6ab86046#diff-4e6a684<wbr>c3701f0406ca632bb86c5cbed</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" target="_blank">http://download.osgeo.org/pdal<wbr>/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" target="_blank">https://www.pdal.io/stages/fil<wbr>ters.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><div class="m_-674459654558870535HOEnZb"><div class="m_-674459654558870535h5"><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" target="_blank">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<wbr>.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<wbr>/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_-674459654558870535m_-4539045701934884378m_-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_-674459654558870535m_-4539045701934884378m_-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<wbr>-src/vendor/eigen/Eigen/src/Co<wbr>re/DenseCoeffsBase.h:337: Eigen::DenseCoeffsBase<Derived<wbr>, 1>::Scalar& Eigen::DenseCoeffsBase<Derived<wbr>, 1>::operator()(Eigen::DenseCoe<wbr>ffsBase<Derived, 1>::Index, Eigen::DenseCoeffsBase<Derived<wbr>, 1>::Index) [with Derived = Eigen::Matrix<double, -1, -1>; Eigen::DenseCoeffsBase<Derived<wbr>, 1>::Scalar = double; Eigen::DenseCoeffsBase<Derived<wbr>, 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>
______________________________<wbr>_________________<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/mailma<wbr>n/listinfo/pdal</a></blockquote></div>
</blockquote></div><br><br clear="all"><br></div><div class="gmail_extra">-- <br><div class="m_-674459654558870535m_-4539045701934884378m_-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>
______________________________<wbr>_________________<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/mailma<wbr>n/listinfo/pdal</a></blockquote></div>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_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>