Closed Peter2121 closed 8 years ago
The NMEA string format, used in GPSLogger ($GPRMC) has no altitude field. So the best solution is adding the second format, supported by OpenGTS ($GPGGA) which has an altitude field. The used should be able to choose between three options: $GPRMC, $GPRMC with altitude (as separate POST variable) and $GPGGA. The formats are described in http://www.satsleuth.com/GPS_NMEA_sentences.aspx
$GPGGA has no speed field, so another workaround should be used for this format. Finally, it should be stay "as is", there are limitations of NMEA protocol and the realisation of NMEA in OpenGTS.
Actual version of OpenGTS rewrite altitude value from query string by NMEA string one. So, we need to encode the altitude inside NMEA string to be compatible with last versions of OpenGTS.