Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

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

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 2 of 2

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. #1
    lacja is offline 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. #2
    Wilfried is offline 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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. GPS Coordinates Results
    By tommyf in forum MapPoint Desktop Discussion
    Replies: 10
    Last Post: 02-14-2007, 04:02 AM
  2. Getting current GPS coordinates in VB6
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 06-10-2004, 06:09 PM
  3. coordinates from a pushpin
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 04-26-2004, 12:00 PM
  4. I need some coordinates
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 03-25-2004, 11:56 AM
  5. Get coordinates in C#
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 10-31-2003, 08:11 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25