On 29/07/2014 11:46 AM, "Adam Wulkiewicz"
2014-07-29 3:07 GMT+02:00 Jeremy Murphy
: Veering slightly off topic but still related to Geometry development, I've hit some hurdles with the rtree index. I could create an index of points easily but then couldn't query for the nearest neighbour of a segment. (I assume this is simply not supported at present; is it forthcoming?) So I created a ring or polygon from the segment and tried to query for the points that it covers/intersects, which is a feature listed in the documentation, but I've hit this compilation error:
Which version of Boost are you using?
1.55. Ahh, I had an almost identical test program except for one line. I had: typedef boost::geometry::model::d2::point_xy<double> Point; Is that type meant to have different behaviour to the general point model? Thanks for your help, cheers. Jeremy