So boost provides nice spatial indexing capabilities in the form of R-trees. This is neat, however it doesn't seem possible yet to serialize the tree once it is built, am I wrong?
The usual "out_archive << rtree" syntax doesn't work because rtree doesn't have a serialize() member. In boost 1.57 there seems to be some experimental code for that, e.g. /boost/geometry/index/detail/serialization.hpp, but it actually doesn't seem to compile!
So first question : does someone know how to serialize an R-tree with boost?
If not, then my second question : how would you go about to permanently store your index on disk to avoid having to rebuild it every time? (I have a dataset of 145M entries and it takes several hours to build the index so I really don't want to have to build it more than once!)