... the user friendly GPS tool


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Some NMEA file parsing problems
#3
> Please provide me with a test file that shows the problem.

Code:
$GPZDA,100436,29,07,2013,,*44 $GPRMC,100436,A,4300.898329,N,00948.227878,E,0.0000,,290713,,A*4F $GPGGA,100436,4300.898329,N,00948.227878,E,1,,,203.0821,M,,M,,*4B $GPWPL,4300.898329,N,00948.227878,E,Position 1*60 $GPVTG,,T,,M,0.0000,N,0.0000,K,A*23 $GPZDA,100436,29,07,2013,,*44 $GPRMC,100436,A,4300.898328,N,00948.227878,E,0.0216,,290713,,A*4B $GPGGA,100436,4300.898328,N,00948.227878,E,1,,,203.0060,M,,M,,*47 $GPWPL,4300.898328,N,00948.227878,E,Position 2*62 $GPVTG,,T,,M,0.0216,N,0.0400,K,A*22 $GPZDA,100437,29,07,2013,,*45 $GPRMC,100437,A,4300.898328,N,00948.227878,E,0.0000,,290713,,A*4F $GPGGA,100437,4300.898328,N,00948.227878,E,1,,,203.0317,M,,M,,*45 $GPWPL,4300.898328,N,00948.227878,E,Position 3*63 $GPVTG,,T,,M,0.0000,N,0.0000,K,A*23 $GPZDA,100441,29,07,2013,,*44 $GPRMC,100441,A,4300.888168,N,00948.241986,E,10.4306,,290713,,A*79 $GPGGA,100441,4300.888168,N,00948.241986,E,1,,,203.0079,M,,M,,*48 $GPWPL,4300.888168,N,00948.241986,E,Position 4*63 $GPVTG,,T,,M,10.4306,N,19.3175,K,A*2B $GPZDA,100446,29,07,2013,,*43 $GPRMC,100446,A,4300.887436,N,00948.263022,E,11.0955,,290713,,A*71 $GPGGA,100446,4300.887436,N,00948.263022,E,1,,,203.0009,M,,M,,*4E $GPWPL,4300.887436,N,00948.263022,E,Position 5*64 $GPVTG,,T,,M,11.0955,N,20.5489,K,A*28

This file has 5 points with the following characteristics:
- first two points compared have the same time, but a slightly different positions
- second two points compared have the same position, but 1 second difference in time
- last two points are normal points (different position and time)

Official version of RouteConverter (v2.10) reads this file as 4 points only with some points/data (time, elevation) lost and duplicated time on last two points. Even if you feed the official version with a simpler NMEA file, it will behave the same (1. point problem, last points duplicated).

Of course there are much more combinations of entries in NMEA files which I didn't test, but at least with this fix I can process NMEA files that I got hands on.
Reply


Messages In This Thread
Some NMEA file parsing problems - by mrihtar - 31.07.2013, 15:19
RE: Some NMEA file parsing problems - by mrihtar - 01.08.2013, 13:23

Forum Jump:


Users browsing this thread: 1 Guest(s)