<div dir="ltr">The particular report is a bug in parsing the pipeline. However, handling a pipeline that forks is tricky. I think we take a hands-off approach, which means that unless you're careful, you may not get the behavior you expect. I'll fix the bug, test and report back.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 14, 2016 at 6:33 AM, Kristian Evers <span dir="ltr"><<a href="mailto:kreve@sdfe.dk" target="_blank">kreve@sdfe.dk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="DA" link="blue" vlink="purple">
<div class="m_-8007768938075055430WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">Hi.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">I have a few use cases where it would be beneficial to create a forked pipeline, i.e. one that generates<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">several outputs from the same input-file, but I am having some trouble achieving that.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">If I understand the documentation correctly it should be possible by using the tags and inputs keywords<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">in a pipeline. Something like this:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:65.2pt"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">{<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:65.2pt"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> "pipeline":[<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:65.2pt"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> {<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:65.2pt"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> "type": "readers.las",<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:65.2pt"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> "filename": "input.las",<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:65.2pt"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> "tag": "A"<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:65.2pt"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> },<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:65.2pt"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> {<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:65.2pt"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> "inputs": "A",<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:65.2pt"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> "type": "writers.gdal",<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:65.2pt"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> "resolution": 0.4,<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:65.2pt"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> "radius": 0.7,<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:65.2pt"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> "filename": "Z.tif",<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:65.2pt"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> "dimension": "Z",<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:65.2pt"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> "output_type": "mean<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:65.2pt"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> },<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:65.2pt"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> {<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:65.2pt"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> "inputs": "A",<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:65.2pt"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> "type": "writers.gdal",<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:65.2pt"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> "resolution": 0.4,<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:65.2pt"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> "radius": 0.7,<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:65.2pt"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> "filename": "intensity.tif",<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:65.2pt"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> "dimension": "Intensity",<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:65.2pt"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> "output_type": "mean"<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:65.2pt"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> ]<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:65.2pt"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">}<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">That is, use the new gdal writer (which is awesome, btw) to grid two or more dimensions of a las-file.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">When I run this particular pipeline I get the following error:<u></u><u></u></span></p>
<p class="MsoNormal" style="text-indent:65.2pt"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal" style="text-indent:65.2pt"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">“PDAL: writers.gdal: specified dimension 'Intensity' does not exist.”<u></u><u></u></span></p>
<p class="MsoNormal" style="text-indent:65.2pt"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">which suggests that the last writer (intensity.tif) is trying to grid a dimension from the first writer<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">(Z.tif) instead of input.las. This is a bit confusing since I specifically instruct PDAL to read<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">from tag A defined in the first stage of the pipeline. Is this a bug or just me trying to do something<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">I was never meant to do?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">I am working on a Windows 7 computer and PDAL was compiled with VS2015 from a fairly<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">new revision (<wbr>2f57c0cf1703af51498f9dae71c9a7<wbr>0128c4c93a).<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">Kristian<u></u><u></u></span></p>
</div>
</div>
<br>______________________________<wbr>_________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org">pdal@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pdal" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/pdal</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div>
</div>