Re: A question re waypoint format
- From: "David L. Wilson" <dwilson314@xxxxxxxxxxxx>
- Date: Sun, 15 Jan 2006 07:50:19 -0500
>But the Vito map manager require the coordination in the format of
>degrees and minutes, and the minutes should be integer between 0-60.
>So how do I translate?
With no insalt intendend (as many have asked the same question), I am amazed
that people cannot do this simple calculation as it shows how schools have
failed in teaching mathematiics.
Below is something I once posted here several times...
To convert Degrees-Minutes-Seconds (DMS) to decimal degrees (dd.ddddd),
dd.ddddd = D + M/60 + S/3600
To convert decimal degrees (dd.ddddd) to Degree-Minutes-Seconds (DMS),
D = int(dd.ddddd) int = the integer or whole number part (the part in
front of the decimal
M = int((dd.ddddd - D)*60)
S = (dd.ddddd - (D + M/60))*3600
To convert degrees-decimal minutes (Dmm.mmm) to decimal degrees (dd.ddddd),
dd.ddddd = D + mm.mmm/60
To convert decimal degrees (dd.ddddd) to degrees-decimal minutes (Dmm.mmm),
D = int(dd.ddddd)
mm.mmm = (dd.ddddd-D)*60
To convert degrees-decimal minutes (Dmm.mmm) to Degrees-Minutes-Seconds
(DMS),
D = D
M = int(mm.mmm)
S = (mm.mmm-M)*60
To convert Degrees-Minutes-Seconds (DMS) to degrees-decimal minutes
(Dmm.mmm)
D = D
mm.mmm = M+S/60
If you are going to do a calculation that involves trigonometric functions
of latitude or longitude on a caculator, be sure that it is in degree mode
and use decimal degrees. If in radians mode, you need to convert decimal
degrees into radians by multiplying by pi/180 (which is about 0.01745329,
that should be accurate enough) before entering the number into the
calculator.
.
- Follow-Ups:
- Re: A question re waypoint format
- From: rsegoly
- Re: A question re waypoint format
- References:
- A question re waypoint format
- From: rsegoly
- A question re waypoint format
- Prev by Date: OV2 file format question
- Next by Date: Re: A question re waypoint format
- Previous by thread: Re: A question re waypoint format
- Next by thread: Re: A question re waypoint format
- Index(es):
Relevant Pages
|