[pgpointcloud] RLE and SIGBITS heuristics

Paul Ramsey pramsey at cleverelephant.ca
Thu Apr 9 05:08:26 PDT 2015


Randomly. No data was harmed.
P 


--  
http://postgis.net  
http://cleverelephant.ca


On April 9, 2015 at 3:41:36 AM, Sandro Santilli (strk at keybit.net) wrote:
> Reading the code I found that SIGBITS is used when it gains
> a compression ratio of 1.6:1 while RLE is required to get 4:1
> ratio (but the comment talk about a 4:1 for both).
>  
> How were the ratios decided ?
>  
> https://github.com/pgpointcloud/pointcloud/blob/v0.1.0/lib/pc_dimstats.c#L121-L137  
>  
> --strk;
>  



More information about the pgpointcloud mailing list