Class import_export::RenderGroupAnalyzer

class RenderGroupAnalyzer

Public Functions

RenderGroupAnalyzer()
void seedFromExistingTableContents(const Catalog_Namespace::Catalog &cat, const std::string &tableName, const std::string &geoColumnBaseName)
int insertBoundsAndReturnRenderGroup(const std::vector<double> &bounds)

Private Types

using Point = boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian>
using BoundingBox = boost::geometry::model::box<Point>
using Node = std::pair<BoundingBox, int>
using RTree = boost::geometry::index::rtree<Node, boost::geometry::index::quadratic<16>>

Private Members

std::unique_ptr<RTree> _rtree
std::mutex _rtreeMutex
int _numRenderGroups