<div dir="ltr"><div dir="ltr">Hi Lars<div><br></div><div>I can’t comment on why your pipeline is slow, but reading the function name of your python script, and picking up on your comment about the python filter, you can achieve (maybe) same result (inverting the Z axis) using:</div><div><br></div><div><div style="line-height:18px"><div style="color:rgb(0,0,0);white-space:pre;font-size:12px;font-family:Menlo,Monaco,"Courier New",monospace">    {</div><div style="color:rgb(0,0,0);white-space:pre;font-size:12px;font-family:Menlo,Monaco,"Courier New",monospace">        <span style="color:rgb(4,81,165)">"type"</span>:<span style="color:rgb(163,21,21)">"filters.transformation"</span>,</div><div style="color:rgb(0,0,0);white-space:pre;font-size:12px;font-family:Menlo,Monaco,"Courier New",monospace">        <span style="color:rgb(4,81,165)">"matrix"</span>: <span style="color:rgb(163,21,21)">"1 0 0 0 0 1 0 0 0 0 -1 0 0 0 0 1"</span></div><div style="color:rgb(0,0,0);white-space:pre;font-size:12px;font-family:Menlo,Monaco,"Courier New",monospace">    },</div><div style="color:rgb(0,0,0);white-space:pre;font-size:12px;font-family:Menlo,Monaco,"Courier New",monospace"><br></div><div style="color:rgb(0,0,0);white-space:pre"><font face="arial, helvetica, sans-serif">…without going to Python. It’s pretty fast, I did a bunch of processing on the GA MH370 survey with it (4 billion points, very similar - read ASCII, reproject, clean, invert Z, assign all points to ground, write out as LAZ in my case, but could have been pgpointcloud).</font></div><div style="color:rgb(0,0,0);white-space:pre"><font face="arial, helvetica, sans-serif"><br></font></div><div style="color:rgb(0,0,0);white-space:pre"><font face="arial, helvetica, sans-serif">So - you could try that and avoid Python in this case.</font></div><div style="color:rgb(0,0,0);white-space:pre"><font face="arial, helvetica, sans-serif"><br></font></div><div style="color:rgb(0,0,0);white-space:pre"><span style="font-family:arial,helvetica,sans-serif">Also - Intuitively, I’d do the inversion of the Z coordinate before chipping.</span></div><div style="color:rgb(0,0,0);white-space:pre"><font face="arial, helvetica, sans-serif"><br></font></div><div style="color:rgb(0,0,0);white-space:pre"><font face="arial, helvetica, sans-serif">Finally, I wonder if there’s a way to test how fast things can be stuffed into your database  - to see whether the bottleneck is PDAL or writing to the DB.</font></div><div style="color:rgb(0,0,0);white-space:pre"><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif"><font color="#000000"><span style="white-space:pre">Hope that helps, sorry I haven’t directly answered your question, and I’d love to hear anyone else’s thoughts on PDAL processing speed and the python filter.</span></font></font></div><div style="color:rgb(0,0,0);white-space:pre"><font face="arial, helvetica, sans-serif"><br></font></div><div style="color:rgb(0,0,0);white-space:pre"><font face="arial, helvetica, sans-serif">Adam</font></div><div style="color:rgb(0,0,0);white-space:pre;font-size:12px;font-family:Menlo,Monaco,"Courier New",monospace"><br></div><div style="color:rgb(0,0,0);white-space:pre;font-size:12px;font-family:Menlo,Monaco,"Courier New",monospace"><br></div><div style="color:rgb(0,0,0);white-space:pre;font-size:12px;font-family:Menlo,Monaco,"Courier New",monospace"><br></div><div style="color:rgb(0,0,0);white-space:pre;font-size:12px;font-family:Menlo,Monaco,"Courier New",monospace"><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, 10 Sep 2018 at 17:47, Lars <<a href="mailto:laasunde@hotmail.com">laasunde@hotmail.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 style="color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif;font-size:12pt"><br></div>
<div style="color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif;font-size:12pt">
This appears to be related to the python filter.</div>
<div style="color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif;font-size:12pt">
<br>
</div>
<div style="color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif;font-size:12pt">
Why is the the attached pipeline so slow? Is this a software issue or poorly designed pipeline?</div>
<div style="color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif;font-size:12pt"><br></div></div></blockquote></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Adam Steer<br><a href="https://www.researchgate.net/profile/Adam_Steer" target="_blank">https://www.researchgate.net/profile/Adam_Steer</a><br><a href="http://au.linkedin.com/in/adamsteer" target="_blank">http://au.linkedin.com/in/adamsteer</a></div><div><a href="http://orcid.org/0000-0003-0046-7236" target="_blank">http://orcid.org/0000-0003-0046-7236</a><br>+61 427 091 712<br>skype: adam.d.steer</div><div>tweet: @adamdsteer</div></div></div></div>