<div dir="ltr">I can't recreate with version 1.6. For my input file, the output files are identical.<div><br></div><div>The SRS in your translate example needs quotes around it, though that may just be an issue with the posting of the note.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 13, 2018 at 5:12 PM, Farwell, Michael <span dir="ltr"><<a href="mailto:MFARWE01@harris.com" target="_blank">MFARWE01@harris.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div class="m_9048200844390236937WordSection1">
<p class="MsoNormal">Hey All,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Trying to understand the difference between two PDAL commands. The first is a translate command. The second is a streaming pipeline command with the pipeline parameters passed in over standard in.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Using PDAL 1.5.0.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><b>Translate command:<u></u><u></u></b></p>
<p class="MsoNormal">/usr/local/pdal/bin/pdal <u></u><u></u></p>
<p class="MsoNormal"> translate <u></u><u></u></p>
<p class="MsoNormal"> -i /tmp/b.las <u></u><u></u></p>
<p class="MsoNormal"> -o /tmp/b_trans.las <u></u><u></u></p>
<p class="MsoNormal"> --writer=las <u></u><u></u></p>
<p class="MsoNormal"> -f filters.reprojection <u></u><u></u></p>
<p class="MsoNormal"> --filters.reprojection.out_<wbr>srs=+proj=utm +zone=13 +north +ellps=WGS84 +datum=WGS84 +units=m +no_defs
<u></u><u></u></p>
<p class="MsoNormal"> --writers.las.scale_x=0.01 <u></u><u></u></p>
<p class="MsoNormal"> --writers.las.scale_y=0.01 <u></u><u></u></p>
<p class="MsoNormal"> --writers.las.scale_z=0.01 <u></u><u></u></p>
<p class="MsoNormal"> --writers.las.offset_x=auto<u></u><u></u></p>
<p class="MsoNormal"> --writers.las.offset_y=auto<u></u><u></u></p>
<p class="MsoNormal"> --writers.las.offset_z=auto <u></u><u></u></p>
<p class="MsoNormal"> --writers.las.forward=header <u></u><u></u></p>
<p class="MsoNormal"> --writers.las.minor_version=<wbr>2<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><b>Streaming pipeline command:<u></u><u></u></b></p>
<p class="MsoNormal">/usr/local/pdal/bin/pdal <u></u><u></u></p>
<p class="MsoNormal"> pipeline <u></u><u></u></p>
<p class="MsoNormal"> --stdin <u></u><u></u></p>
<p class="MsoNormal"> --stream <u></u><u></u></p>
<p class="MsoNormal"> --readers.las.filename=/tmp/<wbr>b.las <u></u><u></u></p>
<p class="MsoNormal"> --writers.las.filename=/tmp/<wbr>b_pipeline.las <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><b>Pipeline sent in over stdin:<u></u><u></u></b></p>
<p class="MsoNormal">{<u></u><u></u></p>
<p class="MsoNormal"> "pipeline":[<u></u><u></u></p>
<p class="MsoNormal"> { <u></u><u></u></p>
<p class="MsoNormal"> "type":"readers.las"<u></u><u></u></p>
<p class="MsoNormal"> },<u></u><u></u></p>
<p class="MsoNormal"> {<u></u><u></u></p>
<p class="MsoNormal"> "type":"filters.reprojection"<wbr>, <u></u><u></u></p>
<p class="MsoNormal"> "out_srs":"+proj=utm +zone=13 +north +ellps=WGS84 +datum=WGS84 +units=m +no_defs"<u></u><u></u></p>
<p class="MsoNormal"> },<u></u><u></u></p>
<p class="MsoNormal"> {<u></u><u></u></p>
<p class="MsoNormal"> "type":"writers.las", <u></u><u></u></p>
<p class="MsoNormal"> "scale_x":"0.01", <u></u><u></u></p>
<p class="MsoNormal"> "scale_y":"0.01", <u></u><u></u></p>
<p class="MsoNormal"> "scale_z":"0.01", <u></u><u></u></p>
<p class="MsoNormal"> "offset_x":"auto", <u></u><u></u></p>
<p class="MsoNormal"> "offset_y":"auto", <u></u><u></u></p>
<p class="MsoNormal"> "offset_z":"auto", <u></u><u></u></p>
<p class="MsoNormal"> "forward":"header", <u></u><u></u></p>
<p class="MsoNormal"> "minor_version":"2"<u></u><u></u></p>
<p class="MsoNormal"> }<u></u><u></u></p>
<p class="MsoNormal">]<u></u><u></u></p>
<p class="MsoNormal">}<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Can someone help me understand the differences between the commands because the two commands are producing different outputs? There’s a difference in the projection info and the offsets are minimums in the translate command and 0 in the
pipeline command.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks, <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Mike<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">------------------------------<wbr>---------------<u></u><u></u></p>
<p class="MsoNormal">Michael D. Farwell<u></u><u></u></p>
<p class="MsoNormal">Harris Corporation<u></u><u></u></p>
<p class="MsoNormal">Software Engineer<u></u><u></u></p>
<p class="MsoNormal"><a href="tel:(585)%20269-6156" value="+15852696156" target="_blank">(585) 269-6156</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<br>______________________________<wbr>_________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org">pdal@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pdal" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/pdal</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div 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>
</div>