<html>Hi Connor,<br /><br />Since you are mentionning the conda env, I did a try with its pdal version :<br />C:\>pdal translate --writer "las" --writers.las.compression="laszip" --writers.las.minor_version=4 --writers.las.a_srs="EPSG:2154" --input "680000_7058000.las" --output "680000_7058000_test.laz"<br />PDAL: writers.las: legacy flags and extended flags are not identical<br /><br />The pdal 1.8.0 runtime provided by osgeo4w works fine on this file, without printing this error.<br /><br /><br />Le Lundi, Février 18, 2019 21:13 CET, Connor Manning <connor@hobu.co> a écrit:<br /> <blockquote type="cite" cite="CAO=FyjKfn3hdypWd4sPL6ds6wJOP2CZG4VYsUBHc4wA0FWZ=Aw@mail.gmail.com"><div dir="ltr">This looks specific to the Windows/Conda environment, since both the LAS/LAZ file you posted work fine for me. It looks like Entwine isn't properly able to open your files at all for some reason, considering the error message stating that the LASF file signature is incorrect. I think the error messages stem from a bad interpretation of the file data rather than the data itself, though I'm not sure why this would be the case. Perhaps there is a permissions issue of some sort, or a newly introduced bug in Entwine's file handling on Windows.</div> <div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 18, 2019 at 12:37 PM Connor Manning <<a href="mailto:connor@hobu.co">connor@hobu.co</a>> wrote:</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">Oh I missed that you added links to the files in your original message. I'll see if I can discover anything from them. If your data is working fine in PDAL but not Entwine though, you may still prefer to submit this as an issue on Entwine.</div> <div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 18, 2019 at 12:23 PM Connor Manning <<a target="_blank" href="mailto:connor@hobu.co">connor@hobu.co</a>> wrote:</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">If you submit this as an issue on Entwine (<a target="_blank" href="https://github.com/connormanning/entwine/issues">https://github.com/connormanning/entwine/issues</a>) and upload samples of the problematic files, or email them to me, I will take a look.</div><div dir="ltr"> </div><div>- Connor</div></div> <div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 18, 2019 at 12:20 PM Jean-Roc Morreale (ml) <<a target="_blank" href="mailto:jrmorreale_ml@enoreth.net">jrmorreale_ml@enoreth.net</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Andrew, thank you for your reply.<br /><br />Unfortunatly, our Windows system configuration prevents me to setup a<br />msvc build toolchain so I will wait for the next release on this point.<br /><br />About the LAS missing signature, for now entwine build seems to be the<br />only tool blocked by it as I have been using many pdal tools an others<br />(lastools, cloudcompare, fme, potreeconverter) in the last past weeks.<br />My first reaction was to convert the las files to laz using pdal<br />stating minor_version=4 in the hope it would automagically solves it.<br /><br />regards,<br />jean-roc<br /><br /><br />Le lundi 18 février 2019 à 10:04 -0500, Andrew Bell a écrit :<br />> The first error (about legacy flags) is due to an issue in the LASzip<br />> API code. You can see this issue<br />> <a rel="noreferrer" target="_blank" href="https://github.com/PDAL/PDAL/issues/2320">https://github.com/PDAL/PDAL/issues/2320</a> for details. You can build<br />> the 1.8-maintenance branch of PDAL to eliminate the error.<br />><br />> The file signature error is what it says. LAS files have a signature<br />> at the beginning of the file. If the signature isn't found, your LAS<br />> file is corrupt.<br />><br />> I'm not sure why you'd get a "too many files" open error. I think<br />> this is an issue in entwine.<br />><br />> On Mon, Feb 18, 2019 at 9:49 AM <a target="_blank" href="mailto:jrmorreale_ml@enoreth.net">jrmorreale_ml@enoreth.net</a> <<br />> <a target="_blank" href="mailto:jrmorreale_ml@enoreth.net">jrmorreale_ml@enoreth.net</a>> wrote:<br />> > Hi,<br />> ><br />> > I am trying to build an EPT with entwine 2.0 (conda) on a<br />> > classified lidar cloud (1220 tiles, 22billion points) but I did not<br />> > succeed in getting a usable result.<br />> ><br />> > The command used is :<br />> > entwine build --srs "EPSG:2154" --threads "4" --dataType "laszip"<br />> > -i input_dir -o output_dir<br />> ><br />> > The errors are<br />> > * Exception in pool task: writers.las: legacy flags and extended<br />> > flags are not identical<br />> > * During input_xx.laz: readers.las: File signature is not 'LASF',<br />> > is this an LAS/LAZ file?<br />> > * Unable to open stream for 'input_xx.laz' with error 'Too many<br />> > open files'<br />> ><br />> > The last error is only shown when trying to work on the 1220 files<br />> > at once. The attempts have been made on the original terrascan<br />> > tiles and on pdal translated laz tiles, the generated ept-data<br />> > output is empty laz files.<br />> ><br />> > pdal info --all of 1 laz tiles<br />> > <a rel="noreferrer" target="_blank" href="https://gist.github.com/Jean-Roc/bb045bd1e01edbadf7f49e97df0d2568">https://gist.github.com/Jean-Roc/bb045bd1e01edbadf7f49e97df0d2568</a><br />> ><br />> > pdal info all on the same tile but on the original las file from<br />> > terrascan<br />> > <a rel="noreferrer" target="_blank" href="https://gist.github.com/Jean-Roc/50145b3b7a0b2b432f0b2956807eb181">https://gist.github.com/Jean-Roc/50145b3b7a0b2b432f0b2956807eb181</a><br />> ><br />> > las sample<br />> > <a rel="noreferrer" target="_blank" href="https://dl.lillemetropole.fr/file.php?h=Rc3bb7eeace8c2923b565e2b7ba7f2370">https://dl.lillemetropole.fr/file.php?h=Rc3bb7eeace8c2923b565e2b7ba7f2370</a><br />> ><br />> > laz sample<br />> > <a rel="noreferrer" target="_blank" href="https://dl.lillemetropole.fr/file.php?h=R9e3f147ea2f928b9f4437697faad3e51">https://dl.lillemetropole.fr/file.php?h=R9e3f147ea2f928b9f4437697faad3e51</a><br />> ><br />> > log of entwine build on 5 tiles (run 5)<br />> > <a rel="noreferrer" target="_blank" href="https://gist.github.com/Jean-Roc/ce231d6770fdaafa5bba307d79c0e992">https://gist.github.com/Jean-Roc/ce231d6770fdaafa5bba307d79c0e992</a><br />> ><br />> > log of entwine build with on 1220 tiles<br />> > <a rel="noreferrer" target="_blank" href="https://gist.github.com/Jean-Roc/29fcffa60886168e73d0e7146e897801">https://gist.github.com/Jean-Roc/29fcffa60886168e73d0e7146e897801</a><br />> ><br />> > Could you point to the mistake(s) I've made ? My aim is to publish<br />> > our data online, the latest usgs example is a great incentive.<br />> ><br />> > Regards,<br />> > Jean-Roc Morreale _______________________________________________<br />> > pdal mailing list<br />> > <a target="_blank" href="mailto:pdal@lists.osgeo.org">pdal@lists.osgeo.org</a><br />> > <a rel="noreferrer" target="_blank" href="https://lists.osgeo.org/mailman/listinfo/pdal">https://lists.osgeo.org/mailman/listinfo/pdal</a><br />><br />><br /><br />_______________________________________________<br />pdal mailing list<br /><a target="_blank" href="mailto:pdal@lists.osgeo.org">pdal@lists.osgeo.org</a><br /><a rel="noreferrer" target="_blank" href="https://lists.osgeo.org/mailman/listinfo/pdal">https://lists.osgeo.org/mailman/listinfo/pdal</a></blockquote></div></blockquote></div></blockquote></div></blockquote><br /><br /><br /> </html>