ST_Intersects vs. ST_Touches

From: <cyw(at)dls(dot)net>
To: <pgsql-general(at)postgresql(dot)org>
Subject: ST_Intersects vs. ST_Touches
Date: 2008-10-04 03:08:17
Message-ID: F5E38CEB0B394B898FC2FCE99FF5D2D9@nc05072019
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

What are the differes between ST_Intersects and ST_Touches?
The 1st query return something, but the 2nd return 0.

select road.link_id from road where
Intersects (
Buffer(GeometryFromText('POINT(-88.02083 41.956982)',4326), .001),
the_geom
)

select road.link_id from road where
Touches (
Buffer(GeometryFromText('POINT(-88.02083 41.956982)',4326), .001),
the_geom
)

Thanks.
_CYW_

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-10-04 03:19:58 Re: Static functions
Previous Message Martin Gainty 2008-10-04 00:53:59 Re: Standalone Windows Installation