coordinates -> deg/min/sec

912 views
Skip to first unread message

littleman_1111

unread,
Nov 16, 2007, 1:23:28 AM11/16/07
to KML Developer Support - Getting Started with KML
I am trying to make paths using a KML file, and I was wondering if
there was any way to put the coordinates in a KML file without
converting them to degrees. i.e.,

43 deg, 23 min, 24 sec or something like that.

Thanks.

barryhunter [KML Guru]

unread,
Nov 16, 2007, 4:47:24 AM11/16/07
to KML Developer Support - Getting Started with KML
No, GE (and other readers of KML) will only understand decimal
degrees, the itself conversion is simple tho. A simple script should
be able to manage it, otherwise a spreadsheet such as Excel should be
useful

littleman_1111

unread,
Nov 16, 2007, 9:20:17 AM11/16/07
to KML Developer Support - Getting Started with KML
Ok thanks. I'm using an Atmel uP to parse the data from an NMEA GPS
receiver and for some reason the uP doesn't want to print out floating
point numbers, but I'll figure something out.

Tommy382

unread,
Nov 18, 2007, 4:06:09 AM11/18/07
to KML Developer Support - Getting Started with KML
Wonder why your device doesn't output coordinates in degrees. Check
out its manually or something. You can do the conversion but going
from DDMMSS to degrees will not be exact. Precision really matters in
WGS84 - off by 0.1 could mean meters apart.
> > > Thanks.- Hide quoted text -
>
> - Show quoted text -

nico

unread,
Dec 18, 2007, 2:29:18 AM12/18/07
to KML Developer Support - Getting Started with KML
To convert DMS values to decimal degrees (e.g., 45:30:30 to 45.50833),
multiply the DD:MM:SS value by 24, and format the cell as General.
For example, =A1*24
Reply all
Reply to author
Forward
0 new messages