<div dir="ltr"><div class="gmail_default" style="font-size:small">Yess,</div><div class="gmail_default" style="font-size:small">thanks Andrew, I tried and specified the value of scale_z to 1 to preserve my heights.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Silvia</div><div class="gmail_default" style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, May 11, 2019 at 10:13 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">If you don't want the defaults, you need need to specify values. See the documentation for details about default values.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, May 11, 2019, 4:01 PM James Klassen <<a href="mailto:klassen.js@gmail.com" target="_blank">klassen.js@gmail.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 dir="auto">If you don't set Z, I believe it will use the defaults/automatically determined values for Z.<div dir="auto"><br></div><div dir="auto">Personally, if I like to set all 6 (x/y/z both offset and scale) if I set any of them. It probably doesn't make any difference, but it seems like less room for surprises later.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, May 11, 2019, 08:53 Silvia Franceschi <<a href="mailto:silvia.franceschi@gmail.com" rel="noreferrer" target="_blank">silvia.franceschi@gmail.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 dir="ltr"><div class="gmail_default" style="font-size:small">Ok, I was just trying to do this...</div><div class="gmail_default" style="font-size:small">just an additional question: do I have to specify also offset_z and scale_z even if I don't want to change z values?</div><div class="gmail_default" style="font-size:small">So I will put </div><div class="gmail_default" style="font-size:small">offset_z 0</div><div class="gmail_default" style="font-size:small">scale_z 1</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Thanks!</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Silvia</div><div class="gmail_default" style="font-size:small"> <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, May 11, 2019 at 3:47 PM James Klassen <<a href="mailto:klassen.js@gmail.com" rel="noreferrer noreferrer" target="_blank">klassen.js@gmail.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 dir="auto">You need to set scale_x, scale_y, and scale_z</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, May 11, 2019, 08:27 Silvia Franceschi <<a href="mailto:silvia.franceschi@gmail.com" rel="noreferrer noreferrer" target="_blank">silvia.franceschi@gmail.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 dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Howard,</div><div class="gmail_default" style="font-size:small">thanks for the useful information, I tried to follow your tutorial to assign a CRS and some real world coordinates to my point cloud using these parameters:</div><div class="gmail_default" style="font-size:small"><div class="gmail_default"> "type":"writers.las",</div><div class="gmail_default"> "a_srs": "EPSG:25832",</div><div class="gmail_default"><span style="white-space:pre-wrap"> </span> "offset_x": "676686.38353",</div><div class="gmail_default"><span style="white-space:pre-wrap"> </span> "offset_y": "5144012.94443",</div><div class="gmail_default"> "filename":"output.las"</div><div class="gmail_default"><br></div><div class="gmail_default">The program seems to work but if I then run an info, it seems that nothing has changed.</div><div class="gmail_default">Am I missing something?</div><div class="gmail_default"><br></div><div class="gmail_default">Any suggestion is welcome! :-D</div><div class="gmail_default"><br></div><div class="gmail_default">Silvia</div><div class="gmail_default"><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 9, 2019 at 2:41 PM Howard Butler <<a href="mailto:howard@hobu.co" rel="noreferrer noreferrer noreferrer" target="_blank">howard@hobu.co</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><br><div><br><blockquote type="cite"><div>On May 9, 2019, at 7:25 AM, thejus kambi <<a href="mailto:thejus.kambi@gmail.com" rel="noreferrer noreferrer noreferrer" target="_blank">thejus.kambi@gmail.com</a>> wrote:</div><br class="gmail-m_846803044769323128m_1370318165867956903m_-1387734531489738171gmail-m_-9049029007293337767m_-6911820477235450442gmail-m_-2422745601155371886Apple-interchange-newline"><div><div dir="ltr"><div>Hello,</div><div><br></div><div>Is there a way to modify the resolution of coordinates stored in the LAS/LAZ files. I find currently the file stores upto 2 decimal places. Is there a way to increase or decrease it?</div><div><br></div></div></div></blockquote><br></div><div>Thejus,</div><div><br></div><div>You control these with the writers.las.scale_{x|y|z} options of writers.las <a href="https://pdal.io/stages/writers.las.html" rel="noreferrer noreferrer noreferrer" target="_blank">https://pdal.io/stages/writers.las.html</a> Additionally, if you are working exclusively with LAS data, you might also issue the --writers.las.forward=all option to carry forward all metadata, including scale/offset from a single file transformation.</div><div><br></div><div><blockquote type="cite"><div>pdal translate in.las out.las --writers.las.scale_x=0.001 --writers.las.scale_y=0.001 --writers.las.scale_z=0.001 --writers.las.offset_x=auto --writers.las.offset_y=auto --writers.las.offset_z=auto</div></blockquote><div><div><br></div></div></div><div><blockquote type="cite">pdal translate in.las out.las --writers.las.forward=all</blockquote><br></div><div>There are a couple of reasons why we do not default these options to always being set:</div><div><br></div><div>* What are we to do if the translation includes multiple files at once?</div><div>* Ambiguities that result from changing the LAS version</div><div>* What are we to do in situations where multiple LAS files are being written?</div><div><br></div><div>It is a surprise, but users have to be explicit about their LAS metadata settings with PDAL. Once they are, they should be able to achieve most everything they need.</div><div><br></div><div>Additionally, I wrote a tutorial of these issues on the website at <a href="https://pdal.io/tutorial/las.html" rel="noreferrer noreferrer noreferrer" target="_blank">https://pdal.io/tutorial/las.html</a></div><div><br></div><div>Hope this helps,</div><div><br></div><div>Howard</div><div><br></div><br></div>_______________________________________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org" rel="noreferrer noreferrer noreferrer" target="_blank">pdal@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pdal" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/pdal</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_846803044769323128m_1370318165867956903m_-1387734531489738171gmail-m_-9049029007293337767m_-6911820477235450442gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="font-size:small">ing. Silvia Franceschi<br>Via Roma, 64</div><div style="font-size:small">38030 Castello di Fiemme (TN)<br><br>tel: 0039 -3384501332</div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org" rel="noreferrer noreferrer noreferrer" target="_blank">pdal@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pdal" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/pdal</a></blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_846803044769323128m_1370318165867956903m_-1387734531489738171gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="font-size:small">ing. Silvia Franceschi<br>Via Roma, 64</div><div style="font-size:small">38030 Castello di Fiemme (TN)<br><br>tel: 0039 -3384501332</div></div></div></div></div></div></div></div></div>
</blockquote></div>
_______________________________________________<br>
pdal mailing list<br>
<a href="mailto:pdal@lists.osgeo.org" rel="noreferrer" target="_blank">pdal@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pdal" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/pdal</a></blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="font-size:small">ing. Silvia Franceschi<br>Via Roma, 64</div><div style="font-size:small">38030 Castello di Fiemme (TN)<br><br>tel: 0039 -3384501332</div></div></div></div></div></div></div></div></div>