mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-17 00:04:02 -04:00
13 lines
445 B
Plaintext
13 lines
445 B
Plaintext
<h3>difference function</h3>
|
|
Returns a geometry that represents that part of geometry a that does not intersect with geometry a.
|
|
|
|
<h4>Syntax</h4>
|
|
<pre>difference( geometry a , geometry b)</pre>
|
|
|
|
<h4>Arguments</h4>
|
|
geometry → geometry
|
|
geometry → geometry
|
|
|
|
<h4>Example</h4>
|
|
<pre> geomToWKT( difference( geomFromWKT( 'LINESTRING(3 3 , 4 4 , 5 5)' ) , geomFromWKT( 'LINESTRING(3 3 , 4 4)' )) ) → returns LINESTRING(4 4, 5 5)</pre>
|