Ouput an image for debugging
We are using your project in a non-graphical context and we are still in the developement phase. For the sake of debugging we would like to know the current state of the rtree.
Many libraries for Quadtree can ouput a PNG with all the points and regions.
There is a String method but it only returns "foo" instead of a string representation of the rtree.
Wow, the library has been around for five years, and it has a few hundred users, but nobody has ever caught this! I guess I just forgot to implement it. Sorry for the trouble! The missing implementation is here: https://github.com/dhconnelly/rtreego/blob/master/rtree.go#L65
I'm not actively developing this library, but I happily accept pull requests to help out future users. If you'd like to provide a String() implementation (or something else clever), send me a PR.
Yes, I looked at the implementation and saw that, it's alright.
We are heavily relying on rtreego for our game engine: ByteArena (website isn't up sorry). You can expect some contributions from our side, even though your lib is already great.
I'll try to implement a graphical representation of the structure and submit a PR any time soon.