[postgis-devel] About BOXES
Sandro Santilli
strk at keybit.net
Fri Nov 25 12:33:18 PST 2011
On Fri, Nov 25, 2011 at 11:18:18AM -0800, Paul Ramsey wrote:
> geometry::bbox -> 'BOX()' ? not
> geometry::bbox -> 'BBOX()' ?
>
> I mean, I guess it works OK, it's just another quirk in a long list of quirks.
It was an attempt at not breaking existing parsing code, wasn't it ?
I guess we're mostly talking about the return from ST_Extent, right ?
BOX(4 6,57 40)
> > Another big question is: will it be float or double ?
>
> Double.
>
> > I don't care, as long as it's the same that you find in a geometry cache :)
> > Rationale is the cast from Geometry to BBox (or Envelope?) must be _fast_.
>
> An argument in favour of accepting the double-box branch.
I'm on it, testing the build. Not sure I can be of any help testing
for speed as I don't have all that big datasets.
--strk;
() Free GIS & Flash consultant/developer
/\ http://strk.keybit.net/services.html
More information about the postgis-devel
mailing list