[pgpointcloud] [pdal] ply and laz

Andrew Bell andrew.bell.ia at gmail.com
Mon Sep 28 10:31:52 PDT 2015


On Mon, Sep 28, 2015 at 1:20 PM, Pete Gadomski <pete.gadomski at gmail.com>
wrote:

> All,
>
> It looks like rply just uses fprintf with %g (
> https://github.com/PDAL/PDAL/blob/master/vendor/rply-1.1.3/rply.c#L1303)
> when doing ascii output. Looks like we'd have to patch the vendored rply
> code to change that.
>

Yes, or we could submit some patch to make it more flexible.

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,
> https://github.com/PDAL/PDAL/blob/master/io/text/TextWriter.cpp#L114). Maybe
> we should remove the ascii option for the ply writer to avoid this problem
> in the future? Thoughts?
>

I don't know why we'd remove it if we could modify things so that you can
specify reasonable precision.

-- 
Andrew Bell
andrew.bell.ia at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pgpointcloud/attachments/20150928/ecae4a7d/attachment.html>


More information about the pgpointcloud mailing list