Hi all,
 
I am using PHP 5.3.9 and I am trying to figure out how to calculate the 
size of a bounding box based on the passed in coordinates of the 4 corners 
of a geographical map.
The reason for this is that I need to check that the size/area of the 
bounding box is not larger than 20 Kilometres.
 
The bounding box format is defined as:

$southwest_lat = $_GET['swlat'];
$southwest_lng = $_GET['swlng'];
$northeast_lat =  $_GET['nelat'];
$northeast_lng = $_GET['nelng'];

Your help is much appreciated.

Kind regards,
Olivia

 

-- 
-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
--- 
You received this message because you are subscribed to the Google Groups "NZ 
PHP Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to