Community of VE/MapPoint Users and Developers
This is a discussion on NMEA latitude/longitude and mappoint latitude/longitude within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I logt some nmea data from my gps: $GPRMC,123507.831,A,5319.7040,N,00600.7888,E,0.00, 329.39,080303,,*05 5319.7040 is latitude, 00600.7888 is longitude. how can i convert ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| NMEA latitude/longitude and mappoint latitude/longitude $GPRMC,123507.831,A,5319.7040,N,00600.7888,E,0.00, 329.39,080303,,*05 5319.7040 is latitude, 00600.7888 is longitude. how can i convert this to mappoint latitude/longitude? when i put 53,19 as latitude and 6 as longitude in mappoint it is not the right location. so what is the formule to convert it? |
| |||
|
Thats quite easy...!! You need to read $GPGLL instead of $GPRMC See the definition below for the Latitude and Logitude encoding in the GPGLL syntax: $GPGLL Geographic Position, Latitude / Longitude and time. eg1. $GPGLL,3751.65,S,14507.36,E*77 eg2. $GPGLL,4916.45,N,12311.12,W,225444,A 4916.46,N Latitude 49 deg. 16.45 min. North 12311.12,W Longitude 123 deg. 11.12 min. West 225444 Fix taken at 22:54:44 UTC A Data valid eg3. $GPGLL,5133.81,N,00042.25,W*75 1 2 3 4 5 1 5133.81 Current latitude 2 N North/South 3 00042.25 Current longitude 4 W East/West 5 *75 checksum $--GLL,lll.ll,a,yyyyy.yy,a,hhmmss.ss,A llll.ll = Latitude of position a = N or S yyyyy.yy = Longitude of position a = E or W hhmmss.ss = UTC of position A = status: A = valid data U use String manipulation to extract the Lat Long. Be careful to use the North/South or East/West to convert the Value to +/- or +/- respectively. The you need to process the Latitude Longitue values to the Mappoint format. You can do that by using the mechanism descibed by Vic in http://mp2kmag.com/mappoint/discussi...&highlight=wgs dRetVal = Int(sNMEA / 100) + (sNMEA - Int(sNMEA / 100) * 100) / 60 Select Case sTmp Case "N" 'dRetVal = dRetVal Case "S" dRetVal = "-" & dRetVal Case "E" 'dRetVal = dRetVal Case "W" dRetVal = "-" & dRetVal End Select <Result to be plotted on Mapoint>= dRetVal Where sNMEA is the Lattitude or Logitude read from the GPS and sTmp is a string value representing N/S or E/W for latitude or Longitude respectively!! You need to run the above conversion for latitude and longitude and the resultant location should be accurate enough to be plotted in Mappoint. Interestingly.. I just figured that out this morning at 5 am :) Let me know if you ned more help... Oh BTW the GPS should be configured to provide information in WGS 84 datum. Cheers, John
__________________ Sitting still and wishing makes no person great.. The good lord and sent you fishing but you should dig the bait!! |
![]() |
| ||||
| Posted By | For | Type | Date | |
| gprmc online Mapping | VIRGILIO Ricerca | Web | This thread | Refback | 3 Weeks Ago 09:45 AM | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to get latitude and longitude | ma2005pp | MapPoint 2006/2009 Discussion | 3 | 09-28-2005 01:57 AM |
| Mappoint, postcode to longitude and latitude | jimbob | MapPoint 2006/2009 Discussion | 3 | 01-16-2005 08:08 AM |
| GPS Longitude and Latitude does not agree with MapPoint | westbrooks | MapPoint 2006/2009 Discussion | 1 | 02-29-2004 05:20 PM |
| Can Mappoint 3.0 SDK return Latitude Longitude coordinates? | Anonymous | MapPoint 2006/2009 Discussion | 1 | 01-27-2004 05:56 PM |
| Latitude and Longitude | Anonymous | MapPoint 2006/2009 Discussion | 1 | 11-25-2003 12:52 PM |
Three Valleys France
The Three Valleys in France have a great reputation for great skiing. Holiday Hypermarket has just added another reason for you to go, a range of great prices from top travel operators.
Greece Weather
Check Turkey Weather before you travel. We provide information on Turkey including weather, flights and accommodation.
Holidays Jamaica
Holidays to Jamaica are a great way to immerse yourself in a different culture. Soak up some sun, indulge in some shopping, and relax at a beach resort. Use dealchecker.co.uk.
Holidays in Cyprus
Holidays in Cyprus are enriched by the abundance of churches, ruins and natural wonders. Book a holiday with us today!
Cheap Portugal Holidays
Want to know what the best time to book cheap Portugal holidays is? Well have a look on ulookubook.com for some useful information to save your cash. Golf, tennis and cycling are all very popular here.
Family activity holidays
Family holidays can be full of fun activity. Check out your options at Travel.co.uk
Cheap Sharm el Sheikh Holidays
Visit the Red Sea Riviera! Info on cheap Sharm el Sheikh holidays, found at On The Beach.