mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
add help for bbox function
This commit is contained in:
parent
71c1ad1033
commit
f70e403b71
13
resources/function_help/bbox
Normal file
13
resources/function_help/bbox
Normal file
@ -0,0 +1,13 @@
|
||||
<h3>bbox function</h3>
|
||||
Returns 1 if the geometries spatially intersect the bounding box defined and 0 if they don't.
|
||||
|
||||
<h4>Syntax</h4>
|
||||
<pre>bbox( a, b )</pre>
|
||||
|
||||
<h4>Arguments</h4>
|
||||
a → geometry
|
||||
b → geometry
|
||||
|
||||
<h4>Example</h4>
|
||||
<pre>bbox( geomFromWKT( 'POINT(4 5)' ) , geomFromWKT( 'LINESTRING(3 3 , 4 4 , 5 5)' )) → returns 1</pre>
|
||||
<pre>bbox( geomFromWKT( 'POINT(6 5)' ) , geomFromWKT( 'POLYGON((3 3 , 4 4 , 5 5, 3 3))' )) → returns 0</pre>
|
Loading…
x
Reference in New Issue
Block a user