Closed harveybia closed 5 months ago
Is there some reason that you can't correct your file?
Is there some reason that you can't correct your file?
One technically could, through: https://gist.github.com/wburt/f0c5a91cc5c30a1c8719adde7ba951d0
But for us providing a way to make the conversion pipeline robust to bad WKT without modifying user uploaded files is very helpful.
Closing this as this is now merged: https://github.com/hobuinc/untwine/pull/164 Also according to hobu, PDAL will relax broken las global encoding WKT flag to a warning for version 2.7.2+
Some las files have incorrectly specified global wkt encoding bit, an example file can be found here (credit to https://github.com/qgis/QGIS/issues/51862#issuecomment-1876924497): https://drive.google.com/file/d/17VvGIpInvSQk1sSlA6kOBzQ5ppHUJQyW/view
This can be worked around by specifying
--nosrs
to PDAL's reader.las pipeline (see: https://github.com/PDAL/PDAL/pull/3818). Currently in untwine there is no way to do that. This PR allows us to passnosrs
to the reader: https://github.com/hobuinc/untwine/pull/164