<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Sep 28, 2015 at 1:20 PM, Pete Gadomski <span dir="ltr"><<a href="mailto:pete.gadomski@gmail.com" target="_blank">pete.gadomski@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">All,<div><br></div><div>It looks like rply just uses fprintf with %g (<a href="https://github.com/PDAL/PDAL/blob/master/vendor/rply-1.1.3/rply.c#L1303" target="_blank">https://github.com/PDAL/PDAL/blob/master/vendor/rply-1.1.3/rply.c#L1303</a>) when doing ascii output. Looks like we'd have to patch the vendored rply code to change that.</div></div></blockquote><div><br></div><div>Yes, or we could submit some patch to make it more flexible.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>IMO ply's ascii output isn't very useful, as it's very space-inefficient. If folks need to print out point values as text they should probably use the text writer (which does provide a mechanism for specifying decimal precision, <a href="https://github.com/PDAL/PDAL/blob/master/io/text/TextWriter.cpp#L114" target="_blank">https://github.com/PDAL/PDAL/blob/master/io/text/TextWriter.cpp#L114</a>). <span style="line-height:1.5">Maybe we should remove the ascii option for the ply writer to avoid this problem in the future? Thoughts?</span></div></div></blockquote><div><br></div><div>I don't know why we'd remove it if we could modify things so that you can specify reasonable precision.</div><div><br></div></div>-- <br><div class="gmail_signature">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div>
</div></div>