C++ spatialindex library: loading/storing main memory RTree from/to disk
问题 I have created a main memory R* index with the help of spatialindex library in the following way (DBStream implements the interface for bulkLoading) // creating a main memory RTree memStorage = StorageManager::createNewMemoryStorageManager(); size_t capacity = 1024; bool bWriteThrough = false; fileInMem = StorageManager ::createNewRandomEvictionsBuffer(*memStorage, capacity, bWriteThrough); DBStream dstream(streets); tree = RTree::createAndBulkLoadNewRTree(SpatialIndex::RTree::BLM_STR,