How can I serialize/deserialize a Boost.Geometry rtree reliably and efficiently ?
I tried the experimental rtree serialization support built-in (-DBOOST_GEOMETRY_INDEX_DETAIL_EXPERIMENTAL=1), I found that the implementation was unstable and failed to deserialize sometimes. I don't even know whether it corrupted any of the tree nodes.
I also implemented a slow hack: save all tree nodes during serialization and rebuild the rtree during deserialization. I want something faster. Serialization time isn't important to me, I just need a faster deserialization (as fast as the experimental implementation)