mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
14 lines
521 B
Plaintext
14 lines
521 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( $geometry , $geometry)</pre>
|
|
|
|
<h4>Arguments</h4>
|
|
geometry → geometry
|
|
geometry → geometry
|
|
|
|
<h4>Example</h4>
|
|
<pre> touches( geomFromWKT( 'LINESTRING(5 3 , 4 4)' ) , geomFromWKT( 'LINESTRING(3 3 , 4 4 , 5 5)' )) → returns 1</pre>
|
|
<pre> touches( geomFromWKT( 'POINT(4 4)' ) , geomFromWKT( 'POINT(5 5)' )) → returns 0</pre>
|