28 #include <boost/geometry/index/rtree.hpp>
30 namespace Catalog_Namespace {
34 namespace import_export {
40 const std::string& tableName,
41 const std::string& geoColumnBaseName);
45 using Point = boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>;
47 using Node = std::pair<BoundingBox, int>;
49 boost::geometry::index::rtree<Node, boost::geometry::index::quadratic<16>>;
class for a per-database catalog. also includes metadata for the current database and the current use...
std::pair< BoundingBox, int > Node
boost::geometry::index::rtree< Node, boost::geometry::index::quadratic< 16 >> RTree
void seedFromExistingTableContents(const Catalog_Namespace::Catalog &cat, const std::string &tableName, const std::string &geoColumnBaseName)
boost::geometry::model::box< Point > BoundingBox
std::unique_ptr< RTree > _rtree
int insertBoundsAndReturnRenderGroup(const std::vector< double > &bounds)
boost::geometry::model::point< double, 2, boost::geometry::cs::cartesian > Point