[postgis-users] intersects(), touches(), overlaps() documentation issue

Amit Kulkarni amitkulz at yahoo.com
Tue Mar 7 08:38:13 PST 2006


I had a situation where a line overlapped another line for a very small
distance near its endpoints. touches() returned true but I was confused
why my stored proc was not executing as it should. After some
frustrated hours checking inside the loop, I thought to pull up the
offending segments in a Desktop GIS and lo! I saw the overlap

I was under the impression that touches() returns true and only true if
endpoints touched. Is that impression invalid? intersects() returns
true but overlap() doesn't return true?

I am attaching a jpeg. If needed I can attach a .shp

Thanks for your input

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: touches_overlaps.jpg
Type: image/jpeg
Size: 4989 bytes
Desc: 1156323196-touches_overlaps.jpg
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20060307/72f4d134/attachment.jpg>

More information about the postgis-users mailing list