From: Jens Thiele (karme_at_[hidden])
Date: 2021-05-18 07:34:59


Hi,

I have lots of linestrings and want to find the k nearest linestrings to
some point.

Looking at the example
/libs/geometry/doc/index/src/examples/rtree/polygons_shared_ptr.cpp
I first thought this should be close to the solution and I just could
replace the polygons with linestrings. But now I think the nearest query
in that example only finds the nearest polygon bounding boxes and not
the nearest polygons. Am I correct?

If yes, how would one extend that example to find the nearest polygons?

Greetings
Jens