Skip to content

Commit f70e403

Browse files
committedFeb 9, 2014
add help for bbox function
1 parent 71c1ad1 commit f70e403

File tree

1 file changed

+13
-0
lines changed
  • resources/function_help

1 file changed

+13
-0
lines changed
 

‎resources/function_help/bbox

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<h3>bbox function</h3>
2+
Returns 1 if the geometries spatially intersect the bounding box defined and 0 if they don't.
3+
4+
<h4>Syntax</h4>
5+
<pre>bbox( a, b )</pre>
6+
7+
<h4>Arguments</h4>
8+
a &rarr; geometry
9+
b &rarr; geometry
10+
11+
<h4>Example</h4>
12+
<pre>bbox( geomFromWKT( 'POINT(4 5)' ) , geomFromWKT( 'LINESTRING(3 3 , 4 4 , 5 5)' )) &rarr; returns 1</pre>
13+
<pre>bbox( geomFromWKT( 'POINT(6 5)' ) , geomFromWKT( 'POLYGON((3 3 , 4 4 , 5 5, 3 3))' )) &rarr; returns 0</pre>

0 commit comments

Comments
 (0)
Please sign in to comment.