Skip to content

Commit

Permalink
add help for bbox function
Browse files Browse the repository at this point in the history
  • Loading branch information
slarosa committed Feb 9, 2014
1 parent 71c1ad1 commit f70e403
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions resources/function_help/bbox
@@ -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 &rarr; geometry
b &rarr; geometry

<h4>Example</h4>
<pre>bbox( geomFromWKT( 'POINT(4 5)' ) , geomFromWKT( 'LINESTRING(3 3 , 4 4 , 5 5)' )) &rarr; returns 1</pre>
<pre>bbox( geomFromWKT( 'POINT(6 5)' ) , geomFromWKT( 'POLYGON((3 3 , 4 4 , 5 5, 3 3))' )) &rarr; returns 0</pre>

0 comments on commit f70e403

Please sign in to comment.