How to convert latitude or longitude to meters?

Posted by Adam Taylor on Stack Overflow See other posts from Stack Overflow or by Adam Taylor
Published on 2009-03-12T17:38:44Z Indexed on 2010/03/24 11:23 UTC
Read the original article Hit count: 554

Filed under:

Hi,

If I have a latitude or longitude reading in standard NMEA format is there an easy way / forumla to convert that reading to meters, which I can then implement in Java (J9)?

Edit: Ok seems what I want to do is not possible /easily/, however what I really want to do is:

Say I have a lat and long of a way point and a lat and long of a user is there an easy way to compare them to decide when to tell the user they are within a /reasonably/ close distance of the way point? I realise reasonable is subject but is this easily do-able or still overly maths-y?

Thanks,

Adam

© Stack Overflow or respective owner

Related posts about math