Distance calculation class to perform the majority of distance and radius calculation functions in ILance.
The current state of the distance calculation server currently supports:
a) Canada b) UK c) United States d) Netherlands e) Australia f) Germany g) Poland h) Spain i) India j) Belgium k) France l) Italy m) Japan n) Kenya
Located in /api/class.distance.inc.php (line 43)
Accepted country ids allowed for distance calculation operations
Country ids to short form identifiers accepted in the distance calculation server
Database tables to call based on a distance operation
Area codes for the AdminCP > Distance area
Cities for the AdminCP > Distance area
Table counts for the AdminCP > Distance area
States for the AdminCP > Distance area
Lables for the AdminCP > Distance area
Function to calculate the great circle distance between two zip or postal codes.
Function to fetch the distance between two postal/zip codes (postal/zip code 1 vs postal/zip code 2).
The usage of this calculation works best within Canada & USA although it will also work for other countries. Additionally this function will accept two city names (city name 1 vs city name 2). This function is now cachable.
Function to fetch valid sql code based on distance calculation mainly used within the search system
Function to return an array of the zip or postal codes within $radius of $zipcode.
Returns an array with keys as the zip or postal codes and their cooresponding values as the distance from the zipcode defined in $zipcode.
Function to fetch a single specific longitude and latitude point for a given (zip, postal code or city name).
Function to calculate the great circle distance between two zip or postal codes.
Function to print the results of the internal function fetch_distance_response to fetch the distance between two postal/zip codes (postal/zip code 1 vs postal/zip code 2).
Documentation generated on Mon, 08 Aug 2011 17:40:54 +0200 by phpDocumentor 1.4.1