Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #1154 from slarosa/bbox_help_1
add help for bbox function
  • Loading branch information
wonder-sk committed Feb 10, 2014
2 parents 4aa8607 + f70e403 commit 8c9d336
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 8c9d336

Please sign in to comment.