<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Matt,<div><br></div><div>Perhaps I didn't understand what you were trying to do. If you're trying to translate coordinates, you can use</div><div><br></div><div><a href="https://pdal.io/stages/filters.transformation.html">https://pdal.io/stages/filters.transformation.html</a><br></div><div><br></div><div>Here's a wiki reference that might also help: <a href="https://en.wikipedia.org/wiki/Translation_(geometry)">https://en.wikipedia.org/wiki/Translation_(geometry)</a></div><div><br></div><div><br></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Sep 24, 2018 at 2:31 PM Andrew Bell <<a href="mailto:andrew.bell.ia@gmail.com">andrew.bell.ia@gmail.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 dir="ltr"><div class="gmail_quote"><div dir="ltr">On Mon, Sep 24, 2018 at 2:25 PM Matt Beckley <<a href="mailto:beckley@unavco.org" target="_blank">beckley@unavco.org</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 dir="ltr">Hello,<div><br></div><div>I have a las file that I am trying to work with using PDAL. I am able to georeference the file using lastools with the "reoffset" and "translate_xyz" parameters:</div><div><br></div>las2las.exe -i input.laz -reoffset 357200 4742000 2150 -translate_xyz 357200 4742000 2150 -o output.laz <div><br></div><div>However, when I try to do this with PDAL, it doesn't seem to work. I've tried variants on a pipeline of:</div><div><br></div>{<br> "type" : "writers.las",<br> "offset_x":"357200",<br> "offset_y":"4742000",<br> "offset_z":"2150",<br> "scale_x":"0.001",<br> "scale_y":"0.001",<br> "scale_z":"0.001"<br>}<div><br></div><div>But the coordinates are never properly translated. I've tried playing with the scale, but nothing works. There doesn't seem to be a way to add a fixed offset to the coordinates? </div><div><br></div><div>The file is in UTM 33N coordinates, so a valid coordinate would be 357200,4742000 - for example. I tried a scale of 1, but that also didn't work.</div></div></blockquote><div><br></div><div>Hi Matt,</div><div><br></div><div>You need to read the PDAL documentation. PDAL isn't lastools.</div><div><br></div><div>You'll need to put a reprojection filter in between the reader and the LAS writer order to facilitate reprojection. See:</div><div><br></div><div><a href="https://pdal.io/stages/filters.reprojection.html" target="_blank">https://pdal.io/stages/filters.reprojection.html</a></div></div><div><br></div>-- <br><div dir="ltr" class="m_-5754052849746576007gmail_signature">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div>