Subject: Re: [geometry] Indexable - Geometry intersection and spatial query predicates
From: Barend Gehrels (barend_at_[hidden])
Date: 2012-12-16 11:19:12
On 12-12-2012 1:02, Adam Wulkiewicz wrote:
> Barend Gehrels wrote:
>> Yesterday I checked intersection but not intersects. I did check it this
>> morning - both algorithms are implemented for polygon/box and
>> polygon/ring. So you must have another problem here, do you know which?
>> What is the message exactly?
> Yes, you're right. I have tests for Points and Boxes, probably seen
> that they don't compile and thought that intersects() is not
> implemented for both (like in the case of other operations). Sorry for
> confusion. It's just not implemented for Points.
> For now all predicates work for Box Geometries (except for touches()).
> intersects(), which is probably the most important, works for Polygons
> and Rings already and this is nice functionality (for Box Indexables).
> I'd say that for now all we need is intersects() for Points.
Did announce it earlier, but yesterday I committed the fix checking
point/ring, point/polygon and point/multi_polygon for disjoint and
intersects. It was merged to the release branch today.
Geometry list run by mateusz at loskot.net