Welcome to MapForums!

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

## GPS coordinates

This is a discussion on GPS coordinates within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi guys, I got from a GPS device, a string including lat and long coordinates but it is not in ...

1. Member Yellow Belt
Join Date
Aug 2006
Posts
47

## GPS coordinates

Hi guys,

I got from a GPS device, a string including lat and long coordinates but it is not in a format that GETLOCATION recognize.

It looks like "...,4648.914,N,7113.7715,W,..."

What can I do with it? Formulas?

2. Senior Member Black Belt
Join Date
Nov 2004
Location
Belgium
Posts
2,433

## Re: GPS coordinates

Hi,

This is NMEA0183 format. To compute it into the format mappoint need is very simple. I explain:

The format you have is for latitude:
ddmm.ffff
and for longitude:
dddmm.ffff
and N/S, E/W is the hemishpere.
dd(d) are the degrees
mm are the minutes
ffff are the fractions of the minutes

So you exctract the degrees (2 char's for latitude, 3 for longitude) and add them to a double. Then you thake the minutes including fractions (watch that the decimal separator mach your computer's locales or workaround it), divide it by 60 and add it to the degrees.

Then check the hemishpere. S - beyond equator so latitude = -latitude, and W is left of meridiane, so longitude = - longitude.