<div dir="ltr">Hi Adam,<div><br></div><div>Yes, I exactly want to find the small bounding box and so all points inside this small box, amplify their variance to get better visualization.</div><div>I don't have time now to test the idea, but it's great to be able to override the visitor. </div><div><br></div><div>Thank you very much for the help.</div><div><br></div><div>Kind regards,</div><div>Chi Thanh,</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><br></div><div>Kind regards, </div><div><br></div>Chi Thanh NGUYEN<br>+44 77 43 86 96 42<br><a href="mailto:chithanhnguyen.math@gmail.com" target="_blank">chithanhnguyen.math@gmail.com</a><br><a href="http://nguyenchithanh.free.fr" target="_blank">http://nguyenchithanh.free.fr</a><div><br><br></div></div></div></div></div></div></div></div> <br><div class="gmail_quote">On 15 March 2016 at 02:39, Adam Wulkiewicz <span dir="ltr"><<a href="mailto:adam.wulkiewicz@gmail.com" target="_blank">adam.wulkiewicz@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<span class=""><br> <br> Chi Thanh Nguyen wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Hi,<br> <br> My first time I join the community, thanks all contributors for this library, part of boost.<br> <br> </blockquote> <br></span> Welcome!<span class=""><br> <br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Hope that I can get some helps.<br> <br> I'm working on a data issue where I will have a lot of points (says a few millions), many of them overlaps. Can I use the rtree, push all my points(2D) inside, and get the group of rectangles where the size is small enough (I will define how is small enough in my query). Then I iterate from those small rectangles, get points from them, and to my analyze on those.<br> <br> So my question is : Is it possible to query the rtree by size of rectangle, instead of certain concrete geometry form?<br> </blockquote> <br></span> AFAIU instead of querying for the values stored in leaf nodes of the rtree you'd like to get the bounding boxes of nodes if they are small enough. Is that correct?<br> If this is what you'd like to do then unfortunately this is not supported.<br> However if you don't mind using non-publicly released parts of the implementation which could change in the future you could write your own tree visitor.<br> This is e.g. how a visitor printing the contents of the rtree looks like:<br> <br> <a href="https://github.com/boostorg/geometry/blob/develop/include/boost/geometry/index/detail/rtree/utilities/print.hpp#L133" rel="noreferrer" target="_blank">https://github.com/boostorg/geometry/blob/develop/include/boost/geometry/index/detail/rtree/utilities/print.hpp#L133</a><br> <br> And this is how it's used:<br> <br> <a href="https://github.com/boostorg/geometry/blob/develop/include/boost/geometry/index/detail/rtree/utilities/print.hpp#L200" rel="noreferrer" target="_blank">https://github.com/boostorg/geometry/blob/develop/include/boost/geometry/index/detail/rtree/utilities/print.hpp#L200</a><br> <br> Regards,<br> Adam<br> _______________________________________________<br> Geometry mailing list<br> <a href="mailto:Geometry@lists.boost.org" target="_blank">Geometry@lists.boost.org</a><br> <a href="http://lists.boost.org/mailman/listinfo.cgi/geometry" rel="noreferrer" target="_blank">http://lists.boost.org/mailman/listinfo.cgi/geometry</a><br> </blockquote></div><br></div>