You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Get rid of Boost RTree in symbol annotation code #13232
using SymbolAnnotationTree = boost::geometry::index::rtree<std::shared_ptr<const SymbolAnnotationImpl>, boost::geometry::index::rstar<16, 4>>;
However, RTree is an overkill here — since we only index points (not rectangles), and search by tile coordinate (not generic bounding box), we could probably replace RTree with an ordinary std::map with max zoom tile quadkey used as a key. Since std::map is ordered, we could then query lower zoom tiles by using map.lower_bound and map.upper_bound with a zero-padded quadkey to iterate over all features in a tile efficiently.
This would be a good step towards eliminating Boost as a dependency in GL Native.
Activity
stale commentedon Aug 7, 2019
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.
stale commentedon Feb 3, 2020
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.
stale commentedon Aug 1, 2020
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.