Miles to Latitude and Miles to Longitude Converter


/ Published in: PHP
Save to your folder(s)

There are tons of functions out there to calculate the distance between two points, but what if you know one point and want to calculate the latitude ("vertical") or longitude ("horizontal") equivalent of a fixed distance, in miles? An example application would be in generating a minimum & maximum latitude and longitude bounding box around an area to limit the results of a database query that uses distance from a fixed point.

URL: http://www.visionhive.com

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.