[postgis-devel] Re: geometry stats

strk strk at keybit.net
Mon Mar 1 08:07:55 PST 2004


m.cave-ayland wrote:
> Hi strk,
> 
(cuts)

> 
> > > The one thing that was apparent from the above was that we 
> > currently 
> > > need to increase the number of boxesPerSide when the 
> > statistic target 
> > > is increased, since the implication is that users would 
> > increase this 
> > > number if greater accuracy were required. Since the default 
> > values of 
> > > 40bps with a target of 10 worked quite well, it may be worth using 
> > > this ratio as the basis of the boxesPerSide calculation, e.g.
> > > 
> > > 		boxesPerSide = sqrt(150 * statistics target);
> > > 
> > > This gives values 38 for the default value of 10, and a 
> > value of 388 
> > > if someone is concerned enough to use the maximum.

I've committed the change. It uses 40 to 400 boxesPerSide.
(just to keep current 40x40 default).

--strk;



More information about the postgis-devel mailing list