[pgpointcloud] PDAL writers.pgpointcloud schema is fixed?

Howard Butler howard at hobu.co
Fri Nov 20 11:07:29 PST 2015


> On Nov 18, 2015, at 12:07 AM, Zhiyong Weng <zhiyong.weng at gmail.com> wrote:
> 
>    1) Can I change the dim type of Intensity?
>    2) if can not how can keep the precision of Intensity?
> 

The issue is this line:

>     table.layout()->registerDim(Dimension::Id::Intensity); 

You need to call registerDim with both a type Id *and* a type, or it will use the default type (2, in this case)

>     table.layout()->registerDim(Dimension::Id::Intensity, Dimension::Type::Double); 

Hope this helps,

Howard


More information about the pgpointcloud mailing list