2013-09-15 19:21:58 +02:00

14 lines
491 B
Plaintext

<h3>touches function</h3>
Returns 1 if the geometries have at least one point in common, but their interiors do not intersect.
<h4>Syntax</h4>
<pre>touches( a, b )</pre>
<h4>Arguments</h4>
a &rarr; geometry
b &rarr; geometry
<h4>Example</h4>
<pre> touches( geomFromWKT( 'LINESTRING(5 3 , 4 4)' ) , geomFromWKT( 'LINESTRING(3 3 , 4 4 , 5 5)' )) &rarr; returns 1</pre>
<pre> touches( geomFromWKT( 'POINT(4 4)' ) , geomFromWKT( 'POINT(5 5)' )) &rarr; returns 0</pre>