Saturday, August 14, 2010

Given a latitude / longitude to a certain number of decimal places, how to tell the area covered (in metres)?

Programmer Question

If i have a position specified in latitude and longitude, then it can cover a box, depending on how many digits of accuracy are in the position.



For example, given a position of 55.0� N, 3.0� W (i.e. to 1 decimal place), and assuming a truncation (as opposed to rounding), this could cover anything that's 55.01� to 55.09�. This would cover the area in this box: http://www.openstreetmap.org/?minlat=55.0&maxlat=55.1&maxlon=-3.0&minlon=-3.1&box=yes



Is there anyway to calculate the area of that box? I only want to do this once, so a simple website that provides this calculation would suffice.



The main reason I want to do this is because I have a position to a very high number of decimal places, and I want to see how precise it is.



Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails