[postgis-users] Light WeightLight Weight Geometry (LWGEOM)Proposal

David Blasby dblasby at refractions.net
Mon Feb 23 13:53:22 PST 2004


Ralph Mason wrote:
> How does the decision to store a box or not to store one for a given 
> geometry get made?

Based on the size (total number of points) of the geometry.


> LW_GEOM - Uses double  Totally compliant
> LW_GEOMF4 - Uses floats (same internal structure as LW_GEOM but with 
> floats)
> LW_GEOMI4 - Uses int32 ( .. .. .. )
> etc ..
> etc ..
> etc ..
 > ...
 > For implementation these could perhaps be templated to that a single
 > source can generate them all.

This is the most logical choice, but the overhead involved in these will 
still be relatively high.

> I really could see the current geometry being fully redundant.

Yes - once all the functions have been transfered over to the new type 
the old one wouldnt be required anymore.

dave



More information about the postgis-users mailing list