Replies: 1 comment 2 replies
-
The elements of internal nodes are pairs of bounding box and pointer to child node. So Indexables (points, boxes or segments) can be extracted from elements of leaf nodes (aka values of the rtree) like this: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
for an application I need to know the hierarchy of my rtree. In particular, given a
Node
, I'd like to know its children.I've seen that in this SO question there's al ink to the following line:
geometry/include/boost/geometry/index/detail/rtree/utilities/print.hpp
Line 160 in f92671b
where
n
is anInternalNode
. From my understanding,it->first
is the bounding box, whileit->second
is the indexable. However, I don't see how one can query the children of a specific node. Is there any way to find them?Any help is highly appreciated, as I am completely stuck so far.
Best,
Lukas
Beta Was this translation helpful? Give feedback.
All reactions