mardi 23 juin 2015

Finding Distance using multiple Lat Long points stored in SQLite table

I am new at SQLite (using n Android). my question is i have a table which has multiple latitude and longitude points, corresponding to the path traveled by a person. means first entry of longitude and latitude is when person started moving and last point shows where person stopped.

How can I get the values of lat long from the database and find the distance person traveled.

My table contains the following attributes-

  1. numbering auto increment, by which i want to sort entries and calculate distance.

  2. Latitude

  3. Longitude

  4. Accuracy

Kindly help. Thanks in advance.

Aucun commentaire:

Enregistrer un commentaire