[geos-devel] C API Question

Anne-Leslie Dean anneldean at yahoo.com
Fri Jan 12 08:39:56 EST 2007


--- strk at refractions.net wrote:
> This is what to expect:
> 
> =# select intersects(a, b), crosses(a, b),
> overlaps(a,b) from
> 	( select 'LINESTRING(-10 0, 10 0)'::geometry as a,
> 	  'LINESTRING(0 10, 0 -10)'::geometry as b ) as
> foo;
>  intersects | crosses | overlaps
> ------------+---------+----------
>  t          | t       | f
> 

Well, that was silly of me.  I found a bug in my test
data....  OF COURSE those two line-segments don't
cross!   I now get the same results that your example
is giving.

Out of curiousity, what constitutes an "overlap"?

Thanks,
A-L








 
____________________________________________________________________________________
TV dinner still cooling? 
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/



More information about the geos-devel mailing list