|
Geometry : |
Subject: Re: [geometry] Indexable - Geometry intersection and spatial query predicates
From: Barend Gehrels (barend_at_[hidden])
Date: 2012-12-12 16:26:17
Hi Adam,
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.
OK, so the point should be trivial. I'll try to get it in.
>
> 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.
>
>
> Below you may find detailed info about all spatial query predicates.
> About algorithms which need to be implemented in order to have
> specific predicates working. Read only if you have too much free time ;)
Not really, but it is really interesting :-)
Regards, Barend
Geometry list run by mateusz at loskot.net