GPS and distance

First written by empereurdeguerre and 0 others, on Mon, 2006/09/18 - 6:14pm, and has been viewed by 1 unique users

From: [email protected]Date: Mon, 18 Sep 2006 11:14:50 -0400 (EDT)
Hello SS,
A quick question; how do you calculate the distance between two points given that you know their GPS location?

Thanks in advance,

Asser Salama
Red Sea Shadow

http://groups.yahoo.com/group/RedSeaShadow/

---------------------------------
L?che-vitrine ou l?che-?cran ? Yahoo! Magasinage.

Hello SS,
A quick question; how do you calculate the distance between two points given that you know their GPS location?

Thanks in advance,


Asser Salama
Red Sea Shadow
Red Sea Shadow
http://groups.yahoo.com/group/RedSeaShadow/


L?che-vitrine ou l?che-?cran ? Yahoo! Magasinage.
kareemgad

Actually a really better (more generic) site would be

http://www.gpsvisualizer.com/calculators

and they have a link to the Vincent formula
(http://www.movable-type.co.uk/scripts/LatLongVincenty.html) used in
calculating the distance between 2 pairs of coordinates.

Instructions:
1/ Use the "Coordinate converter" to convert both your points to degrees.
2/ input the degree values in the "Calculate the great circle distance
between two points" form below that.
3/ Voila ! (they even have a nice way to map this on many map sites
(google maps / yahoo maps / google earth even)

Have fun with the Vincent formula :)

-K

Asser Salama wrote:

> Hello SS,
> A quick question; how do you calculate the distance between two points
> given that you know their GPS location?
>
> Thanks in advance,
>
>
> Asser Salama
> Red Sea Shadow
> Red Sea Shadow
> http://groups.yahoo.com/group/RedSeaShadow/
>
>
> ------------------------------------------------------------------------
> Lèche-vitrine ou lèche-écran ? *Yahoo! Magasinage*
> .
>

Tue, 2006/09/19 - 9:35am Permalink
ahmadeldabi

From: [email protected]Date: Mon, 18 Sep 2006 23:22:07 -0700 (PDT)
Dear Asser,

You can do this using Google Earth. Just place two PLACE MARKS over the two points using the GPS coordinates and use the RULER option to measure the distance between them. If don't have Google Earth or not used to deal with it, just send me the GPS coordinates and i'll send you the distance.

Ahmad Nabil

Asser Salama wrote:
Hello SS,
A quick question; how do you calculate the distance between two points given that you know their GPS location?

Thanks in advance,

Asser Salama
Red Sea Shadow

http://groups.yahoo.com/group/RedSeaShadow/
---------------------------------
L?che-vitrine ou l?che-?cran ? Yahoo! Magasinage.

---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1?/min.

Dear Asser,
 
You can do this using Google Earth. Just place two PLACE MARKS over the two points using the GPS coordinates and use the RULER option to measure the distance between them. If don't have Google Earth or not used to deal with it, just send me the GPS coordinates and i'll send you the distance.
 
Ahmad Nabil

Asser Salama <[email protected]> wrote:

Hello SS,
A quick question; how do you
calculate the distance between two points given that you know their GPS location?

Thanks in advance,


Asser Salama
Red Sea Shadow
Red Sea Shadow
http://groups.yahoo.com/group/RedSeaShadow/

L?che-vitrine ou l?che-?cran ? Yahoo! Magasinage.



Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1?/min.
Tue, 2006/09/19 - 9:22am Permalink
kareemgad

Hi Asser,

That's quite an interesting question because of 2 reasons :
- As you know the earth is round not a flat plane. So the distance
between to GPS coordinates located on earth can mean either the shortest
arc connecting them or the longer arc going around (ra2s el raga2 el
sale7 if the expression serves the meaning!!)

- There are quite a few different methods to calculate these distances
related to how far these 2 points actually are from each other, that is
to achieve higher accuracy.

This website sort of summarizes the above :
http://www.fcc.gov/mb/audio/bickel/distance.html

I'm not sure if you want an easy and manual way to do this calculation
if (say) you are stranded away from any computer/internet and you need
to do the calculation manually. If that's what you want let me know I
can elaborate a bit on the approach.

-K

Asser Salama wrote:

> Hello SS,
> A quick question; how do you calculate the distance between two points
> given that you know their GPS location?
>
> Thanks in advance,
>
>
> Asser Salama
> Red Sea Shadow
> Red Sea Shadow
> http://groups.yahoo.com/group/RedSeaShadow/
>
>
> ------------------------------------------------------------------------
> Lèche-vitrine ou lèche-écran ? *Yahoo! Magasinage*
> .
>

Tue, 2006/09/19 - 8:38am Permalink
leveilleur

Dear Asser,

Well, I've never done that before, but I tried to guess by mere logic
and I found some (some!) answers.

Before I explain I have to tell you that the distance you will get is
the distance "from the sky" ("? vol d'oiseau" in French), meaning it
won't take into consideration the exact relief of the Earth. So if you
are evaluating a distance for a mountain walk, the actual distance
might come out to be much, much, longer than the one you will have
calculated.

So, the calculation part is not easy. You need some mathematical
background, since it deals with spherical trigonometry (measure of
angles and distances on the sphere). Also, there are two important issues:

1) Earth is not an exact sphere: it's slightly flattened on the poles
(because of its rotation). So any spherical trigonometry calculation
will result in a certain error percentage.

2) Altitude should be taken into consideration between the two
coordinates, so you will need to make some extra calculation to find
out the distance with the altitude difference.

There are two webpages on wikipedia you might find useful:

This one explains spherical trigonometry (that's for general knowledge):
http://en.wikipedia.org/wiki/Spherical_trigonometry

And this one explains exactly how to calculate the distance on a
sphere and ALSO deals with the problem of Earth being flattened, with
a practical example on how to calculate (distance between Nashville
and LA airports, but without taking into consideration the altitude):
http://en.wikipedia.org/wiki/Great-circle_distance

Last but not least: I never heard of it, but I am almost sure that
some GPS machines include distance calculators. Maybe you should
investigate this? I will and will tell you if I find any information.

Ah! I forgot one last thing: to calculate you need to convert all your
degrees values into radian values!!

Good luck,

Marwan Moussa

--- In [email protected], Asser Salama
wrote:
>
> Hello SS,
> A quick question; how do you calculate the distance between two
points given that you know their GPS location?
>
> Thanks in advance,
>
>
> Asser Salama
> Red Sea Shadow

Wed, 2006/09/20 - 8:27pm Permalink
empereurdeguerre

From: [email protected]Date: Wed, 20 Sep 2006 20:45:29 -0400 (EDT)
Thanks Marwan, Kareem, and Mabrouk for the valuable info.
Yes Marwan, I believe the distance I got is at least 10% less than the true one.

Cheers,
Asser Salama

Marwan Moussa a ?crit : Dear Asser,

Well, I've never done that before, but I tried to guess by mere logic
and I found some (some!) answers.

Before I explain I have to tell you that the distance you will get is
the distance "from the sky" ("? vol d'oiseau" in French), meaning it
won't take into consideration the exact relief of the Earth. So if you
are evaluating a distance for a mountain walk, the actual distance
might come out to be much, much, longer than the one you will have
calculated.

So, the calculation part is not easy. You need some mathematical
background, since it deals with spherical trigonometry (measure of
angles and distances on the sphere). Also, there are two important issues:

1) Earth is not an exact sphere: it's slightly flattened on the poles
(because of its rotation). So any spherical trigonometry calculation
will result in a certain error percentage.

2) Altitude should be taken into consideration between the two
coordinates, so you will need to make some extra calculation to find
out the distance with the altitude difference.

There are two webpages on wikipedia you might find useful:

This one explains spherical trigonometry (that's for general knowledge):
http://en.wikipedia.org/wiki/Spherical_trigonometry

And this one explains exactly how to calculate the distance on a
sphere and ALSO deals with the problem of Earth being flattened, with
a practical example on how to calculate (distance between Nashville
and LA airports, but without taking into consideration the altitude):
http://en.wikipedia.org/wiki/Great-circle_distance

Last but not least: I never heard of it, but I am almost sure that
some GPS machines include distance calculators. Maybe you should
investigate this? I will and will tell you if I find any information.

Ah! I forgot one last thing: to calculate you need to convert all your
degrees values into radian values!!

Good luck,

Marwan Moussa

--- In [email protected], Asser Salama
wrote:
>
> Hello SS,
> A quick question; how do you calculate the distance between two
points given that you know their GPS location?
>
> Thanks in advance,
>
>
> Asser Salama
> Red Sea Shadow

---------------------------------
L?che-vitrine ou l?che-?cran ? Yahoo! Magasinage.

Thanks Marwan, Kareem, and Mabrouk for the valuable info.
Yes Marwan, I believe the distance I got is at least 10% less than the true one.

Cheers,
Asser Salama

Marwan Moussa <[email protected]> a ?crit :

Dear Asser,

Well, I've never done that before, but I tried to guess by mere logic
and I found some (some!) answers.

Before I explain I have to tell you that the distance you will get is
the distance "from the sky" ("? vol d'oiseau" in French), meaning it
won't take into consideration
the exact relief of the Earth. So if you
are evaluating a distance for a mountain walk, the actual distance
might come out to be much, much, longer than the one you will have
calculated.

So, the calculation part is not easy. You need some mathematical
background, since it deals with spherical trigonometry (measure of
angles and distances on the sphere). Also, there are two important issues:

1) Earth is not an exact sphere: it's slightly flattened on the poles
(because of its rotation). So any spherical trigonometry calculation
will result in a certain error percentage.

2) Altitude should be taken into consideration between the two
coordinates, so you will need to make some extra calculation to find
out the distance with the altitude difference.

There are two webpages on wikipedia you might find useful:

This one explains spherical trigonometry (that's for general knowledge):
href="http://en.wikipedia.org/wiki/Spherical_trigonometry">http://en.wikipedia.org/wiki/Spherical_trigonometry

And this one explains exactly how to calculate the distance on a
sphere and ALSO deals with the problem of Earth being flattened, with
a practical example on how to calculate (distance between Nashville
and LA airports, but without taking into consideration the altitude):
http://en.wikipedia.org/wiki/Great-circle_distance

Last but not least: I never heard of it, but I am almost sure that
some GPS machines include distance calculators. Maybe you should
investigate this? I will and will tell you if I find any information.

Ah! I forgot one last thing: to calculate you need to convert all your
degrees values into radian values!!

Good luck,

Marwan Moussa

--- In href="mailto:SaharaSafaris%40yahoogroups.com">SaharaSafaris@yahoogroups.com, Asser Salama
<empereurdeguerre@...> wrote:
>
> Hello SS,
> A quick question; how do you calculate the distance between two
points given that you know their GPS location?
>
> Thanks in advance,
>
>
> Asser Salama
> Red Sea Shadow



L?che-vitrine ou l?che-?cran ? Yahoo! Magasinage.
Thu, 2006/09/21 - 3:45am Permalink