Boost logo

Geometry :

Subject: [ggl] rtree query interface
From: Mateusz Loskot (mateusz)
Date: 2011-10-04 06:30:07


On 28/09/11 12:16, Adam Wulkiewicz wrote:
> Another small improvement. User may now pass a value predicate and add
> values to the result only if they pass the test. It takes less time than
> e.g. searching for all values in some region and then testing them.
>
> bool user_pred(Value const& v) { /* some condition */ }
>
> std::vector<Value> result;
>
> t.query(
> std::make_pair(
> Box(...),
> bgi::value(user_pred)
> ),
> std::back_inserter(result)
> );
>
> This will return all values intersecting the Box and meeting user_pred.

Adam,

It looks you are continuously pushing the development forward.
Great effort!

Shame on my, I haven't monitored this subject closely, so here comes
basic question: where is the code and how can I start testing it?

Best regards,

-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org

Geometry list run by mateusz at loskot.net