<div dir="auto"><div dir="auto">It took me a little bit of digging when I first tried something similar to understand the schema was explicit in pdal (unlike in json) and that filters.ferry was used to change it. Now that I know, it isn't a problem, and I do like the typo safety aspect of the current behavior.<br></div><div dir="auto"><br></div><div dir="auto">Maybe the solution is as simple as adding a note to the filters.assign docs that says "If you intend to assign to a new dimension, that dimension needs to be created first with filters.ferry."</div><div dir="auto"><br></div><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Tue, Apr 30, 2019, 07:13 Andrew Bell <<a href="mailto:andrew.bell.ia@gmail.com">andrew.bell.ia@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>Silvia,</div><div><br></div>There's been discussion about changing the assignment filter to automatically create dimensions. I believe that my reasoning when I decided against that was that it might create hard-to-find errors due to misspellings. In retrospect, it may have been the wrong decision.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 30, 2019 at 5:23 AM Silvia Franceschi <<a href="mailto:silvia.franceschi@gmail.com" target="_blank" rel="noreferrer">silvia.franceschi@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 class="gmail_default" style="font-size:small">Thanks a lot Luigi! <br></div><div class="gmail_default" style="font-size:small">I added this to the pipeline:</div><div class="gmail_default" style="font-size:small"><div class="gmail_default">{</div><div class="gmail_default"> "type": "filters.ferry",</div><div class="gmail_default"> "dimensions": "=>Classification"</div><div class="gmail_default"> },</div><div class="gmail_default">and now it seems to proceed!</div><div class="gmail_default"><br></div><div class="gmail_default">Thanks again for the big help!</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></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 30, 2019 at 11:10 AM Luigi Pirelli <<a href="mailto:luipir@gmail.com" target="_blank" rel="noreferrer">luipir@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">use filters.ferry for that<div><br clear="all"><div><div dir="ltr" class="m_7426026477793883860gmail-m_-769911643774040928gmail-m_-6761044939870118680gmail_signature"><div dir="ltr"><div><a href="https://pdal.io/stages/filters.ferry.html" target="_blank" rel="noreferrer">https://pdal.io/stages/filters.ferry.html</a><br></div><div><br></div><div>Luigi Pirelli<br><br>**************************************************************************************************<br>* LinkedIn: <a href="https://www.linkedin.com/in/luigipirelli" target="_blank" rel="noreferrer">https://www.linkedin.com/in/luigipirelli</a><br>* Stackexchange: <a href="http://gis.stackexchange.com/users/19667/luigi-pirelli" target="_blank" rel="noreferrer">http://gis.stackexchange.com/users/19667/luigi-pirelli</a><br>* GitHub: <a href="https://github.com/luipir" target="_blank" rel="noreferrer">https://github.com/luipir</a><br>* Mastering QGIS 2nd Edition:<br>* <a href="https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition" target="_blank" rel="noreferrer">https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition</a><br>* Hire me: <a href="http://goo.gl/BYRQKg" target="_blank" rel="noreferrer">http://goo.gl/BYRQKg</a><br>**************************************************************************************************</div></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 30 Apr 2019 at 10:54, Silvia Franceschi <<a href="mailto:silvia.franceschi@gmail.com" target="_blank" rel="noreferrer">silvia.franceschi@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 dir="ltr"><div class="gmail_default" style="font-size:small">Thanks Luigi,</div><div class="gmail_default" style="font-size:small">you are perfectly right... this is a print of the details of first point:</div><div class="gmail_default" style="font-size:small"><div class="gmail_default"><div class="gmail_default">"point":<br></div><div class="gmail_default"> {</div><div class="gmail_default"> "Blue": 155,</div><div class="gmail_default"> "Green": 153,</div><div class="gmail_default"> "Intensity": 2497,</div><div class="gmail_default"> "PointId": 0,</div><div class="gmail_default"> "Red": 159,</div><div class="gmail_default"> "X": 63.45360184,</div><div class="gmail_default"> "Y": 0.0307,</div><div class="gmail_default"> "Z": 0</div><div class="gmail_default"> }</div><div class="gmail_default"><br></div></div><div class="gmail_default">So now I should create the field for the classification, any idea?</div><div class="gmail_default"><br></div><div class="gmail_default">Thanks again!</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></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 30, 2019 at 10:44 AM Luigi Pirelli <<a href="mailto:luipir@gmail.com" target="_blank" rel="noreferrer">luipir@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">can you check if Classification dimension is present? strange but seems it doesn't<br clear="all"><div><div dir="ltr" class="m_7426026477793883860gmail-m_-769911643774040928gmail-m_-6761044939870118680gmail-m_6190192533562738415gmail-m_5253014646305391843gmail-m_-943938629523866035gmail_signature"><div dir="ltr"><div><br></div><div>Luigi Pirelli<br><br>**************************************************************************************************<br>* LinkedIn: <a href="https://www.linkedin.com/in/luigipirelli" target="_blank" rel="noreferrer">https://www.linkedin.com/in/luigipirelli</a><br>* Stackexchange: <a href="http://gis.stackexchange.com/users/19667/luigi-pirelli" target="_blank" rel="noreferrer">http://gis.stackexchange.com/users/19667/luigi-pirelli</a><br>* GitHub: <a href="https://github.com/luipir" target="_blank" rel="noreferrer">https://github.com/luipir</a><br>* Mastering QGIS 2nd Edition:<br>* <a href="https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition" target="_blank" rel="noreferrer">https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition</a><br>* Hire me: <a href="http://goo.gl/BYRQKg" target="_blank" rel="noreferrer">http://goo.gl/BYRQKg</a><br>**************************************************************************************************</div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 30 Apr 2019 at 09:40, Silvia Franceschi <<a href="mailto:silvia.franceschi@gmail.com" target="_blank" rel="noreferrer">silvia.franceschi@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 dir="ltr"><div class="gmail_default" style="font-size:small">Dear all,</div><div class="gmail_default" style="font-size:small">I am trying to extract the DTM from a point cloud of a terrestrial LiDAR. Points of the survey are all of one single return and do no have a classification.</div><div class="gmail_default" style="font-size:small">To go on with the elaborations I guess that I have to assign a classification of the points otherwise the tools (filter.smrf) do not work, is this true?</div><div class="gmail_default" style="font-size:small">I tried to use the command filters.assign with the following statement in a pipeline (json file). </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><div class="gmail_default">{</div><div class="gmail_default"> <span style="white-space:pre-wrap"> </span> "type":"filters.assign",</div><div class="gmail_default"><span style="white-space:pre-wrap"> </span> "assignment":"Classification[:]=0"</div><div class="gmail_default"> },</div><div style="font-size:small"><br></div><div style="font-size:small">But got this error:</div><div style="font-size:small"><div>PDAL: filters.assign: Invalid dimension name in 'assignment' option: 'Classification'.</div><div><br></div><div>Do some of you understand which is the problem?</div><div><br></div><div>Thanks in advance for your help.</div><div><br></div><div>Silvia</div><div><br></div></div></div><div><br></div>-- <br><div dir="ltr" class="m_7426026477793883860gmail-m_-769911643774040928gmail-m_-6761044939870118680gmail-m_6190192533562738415gmail-m_5253014646305391843gmail-m_-943938629523866035gmail-m_-9028234106589427605gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="font-size:small">ing. Silvia Franceschi<br>Via Roma, 64</div><div style="font-size:small">38030 Castello di Fiemme (TN)<br><br>tel: 0039 -3384501332</div></div></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org" target="_blank" rel="noreferrer">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 clear="all"><div><br></div>-- <br><div dir="ltr" class="m_7426026477793883860gmail-m_-769911643774040928gmail-m_-6761044939870118680gmail-m_6190192533562738415gmail-m_5253014646305391843gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="font-size:small">ing. Silvia Franceschi<br>Via Roma, 64</div><div style="font-size:small">38030 Castello di Fiemme (TN)<br><br>tel: 0039 -3384501332</div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org" target="_blank" rel="noreferrer">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 clear="all"><div><br></div>-- <br><div dir="ltr" class="m_7426026477793883860gmail-m_-769911643774040928gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="font-size:small">ing. Silvia Franceschi<br>Via Roma, 64</div><div style="font-size:small">38030 Castello di Fiemme (TN)<br><br>tel: 0039 -3384501332</div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org" target="_blank" rel="noreferrer">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><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_7426026477793883860gmail_signature">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank" rel="noreferrer">andrew.bell.ia@gmail.com</a></div>
_______________________________________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org" target="_blank" rel="noreferrer">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<br></a></blockquote></div></div>