I have a question about 3D RTree spatial queries, like a cube, sphere, or something. Are there any examples of how that can be done? I know how to do it for 2D RTree. Do you recommend the regular RTREE or a is there another one to use, like an rstar, that would be better? Thanks, Rachel
On Thu, 2 Sept 2021 at 16:57, Glenn, Rachel M via Boost-users
I have a question about 3D RTree spatial queries, like a cube, sphere, or something. Are there any examples of how that can be done?
https://godbolt.org/z/sM814sbzz
I know how to do it for 2D RTree. Do you recommend the regular RTREE or a is there another one to use, like an rstar, that would be better?
Neither the subject [1] nor the question does not suggest you are asking anything Boost-specific. You may be better reaching spatial communities [2] [1] https://www.boost.org/community/policy.html#subject-line [2] https://lists.osgeo.org Best regards, -- Mateusz Loskot, http://mateusz.loskot.net
W dniu 01.09.2021 o 17:06, Glenn, Rachel M via Boost-users pisze:
I have a question about 3D RTree spatial queries, like a cube, sphere, or something. Are there any examples of how that can be done? I know how to do it for 2D RTree. Do you recommend the regular RTREE or a is there another one to use, like an rstar, that would be better?
Assuming you're asking about Boost.Geometry, you just have to use 3D point type, the rest is the same as for 2D: https://github.com/boostorg/geometry/blob/develop/index/example/3d_benchmark... Adam
participants (3)
-
Adam Wulkiewicz
-
Glenn, Rachel M
-
Mateusz Loskot