mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
13 lines
436 B
Plaintext
13 lines
436 B
Plaintext
|
<h3>intersection function</h3>
|
||
|
Returns a geometry that represents the shared portion of geometry a and geometry b.
|
||
|
|
||
|
<h4>Syntax</h4>
|
||
|
<pre>intersection( geometry a , geometry b)</pre>
|
||
|
|
||
|
<h4>Arguments</h4>
|
||
|
geometry → geometry
|
||
|
geometry → geometry
|
||
|
|
||
|
<h4>Example</h4>
|
||
|
<pre> geomToWKT( intersection( geomFromWKT( 'LINESTRING(3 3 , 4 4 , 5 5)' ) , geomFromWKT( 'LINESTRING(3 3 , 4 4 )' )) ) → returns LINESTRING(3 3, 4 4)</pre>
|