[postgis-devel] More Alignment

Paul Ramsey pramsey at opengeo.org
Tue Jan 20 15:58:11 PST 2009


I've started writing up some thoughts about aligning the on-disk  
format. There are lots of different trade-offs, so I figure having  
some basic information down before we get together will help focus  
the discussion.

I think my general favored approach now is to scrunch type/srid into  
a single 32-bit space, make srid mandatory, and expand all "length"  
fields (npoints, nrings, ngeoms) to longlong. This keeps the very- 
small features (2d points, 2-vertex lines) still very close to their  
current sizes, and the penalty for larger things is not very large,  
percentage wise.


Paul
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: alignment_rfc.txt
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20090120/6a120763/attachment.txt>


More information about the postgis-devel mailing list