[postgis-devel] BBOX caches: float or double ?
Sandro Santilli
strk at keybit.net
Wed Nov 9 10:43:21 PST 2011
On Wed, Nov 09, 2011 at 09:39:38AM -0800, Paul Ramsey wrote:
> Where in g_serialized.txt do you see the suggestion that the
> serialized boxes are doubles? That is not the intent, so I am happy to
> clarify: that doesn't happen. The serialization stores the boxes as
> floats.
Oh, I was wrong, sorry. <> is float, [] is double. Docs are ok.
> Now, when *deserialized* into LWGEOM->GBOX, they are held in doubles,
> but that shouldn't be a problem, IMO.
I agree that's not a problem. It is a problem computing it and _not_
rounding it to float though, if we'd have the values rounded to float
when found in the cache (which is the problem with #1273).
--strk;
() Free GIS & Flash consultant/developer
/\ http://strk.keybit.net/services.html
More information about the postgis-devel
mailing list