<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 27, 2021 at 5:51 AM Peter Lim <<a href="mailto:peter.lim@gpslands.com">peter.lim@gpslands.com</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"><div lang="EN-SG"><div class="gmail-m_-1541767751009715080WordSection1"><p class="MsoNormal"><span style="color:rgb(54,95,145)">Hi,<u></u><u></u></span></p><p class="MsoNormal"><span style="color:rgb(54,95,145)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:rgb(54,95,145)">I’m trying to crop a LAS file using filters.crop but I get this error:<u></u><u></u></span></p><p class="MsoNormal"><span style="color:rgb(54,95,145)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:rgb(54,95,145)">(pdal pipeline Error) GDAL failure (6) Cannot find coordinate operations from `EPSG:32648' to `ENGCRS["unnamed",EDATUM[""],CS[Cartesian,2],AXIS["(E)",east,ORDER[1],LENGTHUNIT["metre",1,ID["EPSG",9001]]],AXIS["(N)",north,ORDER[2],LENGTHUNIT["metre",1,ID["EPSG",9001]]]]'<u></u><u></u></span></p><p class="MsoNormal"><span style="color:rgb(54,95,145)">PDAL: filters.crop: Unable to reproject bounds.</span></p></div></div></blockquote><div><br></div><div>Your data seems to be in a custom engineering CRS. PDAL can't convert your crop boundary from EPSG:32648 to your custom CRS because no transformation exists in PROJ, the library used for this purpose. You might ask on the PROJ list or perhaps someone else on this list will know how to deal with this.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-SG"><div class="gmail-m_-1541767751009715080WordSection1"><p class="MsoNormal"><span style="color:rgb(54,95,145)"><u></u><u></u></span></p><p class="MsoNormal"><span style="color:rgb(54,95,145)"><u></u> </span><span style="color:rgb(54,95,145)">I’m using the following pipeline:</span></p><p class="MsoNormal"><span style="color:rgb(54,95,145)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="color:rgb(54,95,145)">[<u></u><u></u></span></p><p class="MsoNormal"><span style="color:rgb(54,95,145)"> {<u></u><u></u></span></p><p class="MsoNormal"><span style="color:rgb(54,95,145)"> "type":"readers.las",<u></u><u></u></span></p><p class="MsoNormal"><span style="color:rgb(54,95,145)"> "filename":"*.las",<u></u><u></u></span></p><p class="MsoNormal"><span style="color:rgb(54,95,145)"> "default_srs":"EPSG:32648" <u></u><u></u></span></p><p class="MsoNormal"><span style="color:rgb(54,95,145)"> },<u></u><u></u></span></p><p class="MsoNormal"><span style="color:rgb(54,95,145)"> {<u></u><u></u></span></p><p class="MsoNormal"><span style="color:rgb(54,95,145)"> "type": "filters.merge"<u></u><u></u></span></p><p class="MsoNormal"><span style="color:rgb(54,95,145)"> }, <u></u><u></u></span></p><p class="MsoNormal"><span style="color:rgb(54,95,145)"> {<u></u><u></u></span></p><p class="MsoNormal"><span style="color:rgb(54,95,145)"> "type":"filters.crop",<u></u><u></u></span></p><p class="MsoNormal"><span style="color:rgb(54,95,145)"> "bounds":"([364035,364085],[142446,142486],[-1000, 1000])",<u></u><u></u></span></p><p class="MsoNormal"><span style="color:rgb(54,95,145)"> "a_srs":"EPSG:32648"<u></u><u></u></span></p><p class="MsoNormal"><span style="color:rgb(54,95,145)"> },<u></u><u></u></span></p><p class="MsoNormal"><span style="color:rgb(54,95,145)"> {<u></u><u></u></span></p><p class="MsoNormal"><span style="color:rgb(54,95,145)"> "type":"writers.las",<u></u><u></u></span></p><p class="MsoNormal"><span style="color:rgb(54,95,145)"> "filename":"output.las",<u></u><u></u></span></p><p class="MsoNormal"><span style="color:rgb(54,95,145)"> "a_srs":"EPSG:32648"<u></u><u></u></span></p><p class="MsoNormal"><span style="color:rgb(54,95,145)"> }<u></u><u></u></span></p><p class="MsoNormal"><span style="color:rgb(54,95,145)">]</span></p></div></div>
</blockquote></div><br clear="all"><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>