|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
bimal Smarty Elite
Joined: 19 Apr 2007 Posts: 423
|
Posted: Wed Sep 02, 2009 4:42 pm Post subject: Distance in earth's surface - after reviewing osDate! |
|
|
osDate is a dating and match making script. It uses Smarty, and is easy to customize. You can download the software from: ( http://www.tufat.com/s_free_dating_system.htm ). The total size is 36.6 MB (.tgz format). This article does not really site anything for Smarty, but the users may take an interest in this. I found it everything in osDate, a tool that uses Smarty.
Here, I am describing a little on how to calculate the distance on the surface of the earth. Go back to schooling (trigonometry, to find out an outer surface on a circular object – the earth).
Match making scripts may need to know the distance between two member’s locations. osDate uses the longitude and latitude of the two points on the earth’s surfaces, and uses some standard calculations for finding out the distance.
However, the calculated distance is not so accurate for many reasons. First, it tries to find out the straight distance only (real distance may need to consider the road ways which can not me straight most of the times).
Just, download the application and read out the codes written in its cron files. Everything will be self clear.
Last edited by bimal on Wed Sep 02, 2009 5:19 pm; edited 1 time in total |
|
Back to top |
|
bimal Smarty Elite
Joined: 19 Apr 2007 Posts: 423
|
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|