<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 10, 2020 at 7:40 AM Peder Axensten <<a href="mailto:Peder.Axensten@slu.se">Peder.Axensten@slu.se</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">Hej,<br>
<br>
I am rewriting my filtering tools into pdal filters. On the whole it works ok, but if I have files where all points are “removed” by the filter, the resulting [empty] file is corrupt. All other cases seem to work as expected. Is this a known issue? Do I need to handle empty files in a specific way in pdal?<br></blockquote><div><br></div><div>Without knowing the details of your pipeline/process, it's impossible to know the issue, but there is nothing structural that creates corrupt files when there are no points. Creating files with no points is a pretty common case, though there may be a bug in a specific writer.</div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div></div>