Skip to content
Permalink
Browse files
add help for bbox function
  • Loading branch information
slarosa committed Feb 9, 2014
1 parent 71c1ad1 commit f70e403b7186a8879c0a74dc110a9e467742a37a
Showing with 13 additions and 0 deletions.
  1. +13 −0 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.