This program calculates the distance between two zip codes in the United States. The sub-routines included in the code can be used to calculate any distance between latitude and longitude coordinates. The package includes data for the US, routines in Perl and PHP. MySQL is supported as well.The result should be very precise because the calculation takes into account the fact that the earth is not a perfect sphere. |