[geos-devel] Binary predicate shortcuts

Sean Gillies sgillies at frii.com
Mon Apr 28 13:00:35 EDT 2008


Thanks, Martin. I wanted to check that I wasn't duplicating.

Martin Davis wrote:
> Neither GEOS nor JTS checks for identical geometries as input to the
> predicates.
> 
> What's your use case for this?  At first glance it doesn't seem like it
> would be a major source of performance loss.
> 
> You could always check for this in your wrapper..  8^)
> 
> Sean Gillies wrote:
>> Could GEOS not return known results immediately when evaluating binary
>> predicates where both geometries are the same (same address in memory)?
>> If this is already done, it's buried deeper in the code than I've
>> looked, or I've completely missed it.
>>
>> Sean


More information about the geos-devel mailing list