Picture is on the way
Claes Jaeger-Hansen has written a custom datalogger for the excersize. For Manual, description, executable and sourcecode follow the link
Here you can find help and hint to solve the assignment. Not everything is a wlakthrough, so you will have to think a it for yoourself!
All strings in the logs are NMEA-strings. We use two of them in this excersize
GGA GSA
$GPGGA,080204.00,4842.71680369,N,00912.29472053,E,4,09,1.0,438.255,M,0.000,M,0.0,0000*74 $GPGSA,A,3,2,13,23,10,5,8,7,16,4,,,,1.9,1.0,1.6*05
Here are the description of NMEA-string
You can tell the difference between GLONASS and GPS positions from the first 2 letters in the string if it is
$GPGGA
the position is from GPS. If it is
$GLGGA
the position is from GLONASS
° | Degrees |
' | Minutes |
“ | Seconds |
DDD° MM' SS.S” | Degrees, Minutes and Seconds |
DDD° MM.MMM' | Degrees and Decimal Minutes |
DDD.DDDDD° | Decimal Degrees |
DDD° MM' SS.S“
32° 18' 23.1” N 122° 36' 52.5“ W
This is the most common format used to mark maps. It's also the most cumbersome to work with. It's a lot like telling time…
There are sixty seconds in a minute (60” = 1') and
There are sixty minutes in a degree (60' = 1°).
Keeping in mind a few easy conversions between seconds and decimal minutes will help when working with maps that use degrees, minutes and seconds.
15 seconds is one quarter of a minute or 0.25 minutes
30 seconds is one half of a minute or 0.5 minutes
45 seconds is three quarters of a minute or 0.75 minutes
DDD° MM.MMM'
32° 18.385' N 122° 36.875' W
This is the format most commonly used when working with electronic navigation equipment.
DDD.DDDDD°
32.30642° N 122.61458° W
or +32.30642, -122.61458
This is the format you'll find most computer based mapping systems displaying. The coordinates are stored internally in a floating point data type, and no additional work is required to print them as a floating point number.
Often the N-S and E-W designators are omitted. Positive values of latitude are north of the equator, negative values to the south. Watch the sign on the longitude, most programs use negative values for west longitude, but a few are opposite. This saves a lazy western hemisphere programmer from having to type in a minus sign before most of their longitude values.
First off, if you are working with other people who have agreed upon a format to use, then you should probably use that format.
Next, you will want to look at the maps, lists of coordinates, and any software you may be using. If you can find a consistent format among them, your work will be easier.
You can set your GNSS to display any one of these three formats. Locations can be entered into the GNSS with the selected format, and then by switching the display format setting, viewed in a different format.
Format in WGS84 | Converted to decimal degrees | ||
---|---|---|---|
latitude | longitude | latitude | longitude |
4842,716607 | 912,293844 | 48,71194346 | 9,2048974 |
Spreadsheet formulas | =(A3-4800)/60+48 | =(B3-900)/60+9 |
This function is in awk, but can be converted to other languages <sxh bash> function nmea2dd(nmeacoord){
dn=int(nmeacoord/100); return dn+((nmeacoord-(dn*100.0))/60)
} </sxh>
Co-ordinate conversion using Proj4 and Awk
Start with the conversion to decimal degree!!
Convert with this software tool. There has been some problems with this program and Windows 7. If it does not work use the spreadsheet below.
Here you can find a description of the the conversion, along with a spreadsheet where all the formulas are implemented
Here is another tool where you can convert multiple coordinates online.