When using which-polygon to determine what country a tile belongs to, I found some edge cases where I need access to the rbush tree to handle cases where a single point test is insufficient. Rather than build a second copy of the rbush tree, it seems easier and more logical to just expose the tree used internally in which-polygon.
When using
which-polygon
to determine what country a tile belongs to, I found some edge cases where I need access to the rbush tree to handle cases where a single point test is insufficient. Rather than build a second copy of the rbush tree, it seems easier and more logical to just expose the tree used internally inwhich-polygon
.