1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-04-19 19:59:11 +02:00

Compare commits

..

2 Commits

2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ GPS log file formats.
## Features ## Features
* Opens GPX, TCX, FIT, KML, NMEA, IGC, CUP, SIGMA SLF, Suunto SML, LOC, GeoJSON, * Opens GPX, TCX, FIT, KML, NMEA, IGC, CUP, SIGMA SLF, Suunto SML, LOC, GeoJSON,
OziExplorer (PLT, RTE, WPT), Garmin GPI&CSV, TomTom OV2&ITN, ONmove OMD/GHP, OziExplorer (PLT, RTE, WPT), Garmin GPI&CSV, TomTom OV2&ITN, ONmove OMD/GHP,
TwoNav (TRK, RTE, WPT), GPSDump WPT and geotagged JPEG files. TwoNav (TRK, RTE, WPT), GPSDump WPT, 70mai GPS logs and geotagged JPEG files.
* Opens geo URIs (RFC 5870). * Opens geo URIs (RFC 5870).
* User-definable online maps (OpenStreetMap/Google tiles, WMTS, WMS, TMS, * User-definable online maps (OpenStreetMap/Google tiles, WMTS, WMS, TMS,
QuadTiles). QuadTiles).

View File

@ -40,14 +40,14 @@ bool TXTParser::parse(QFile *file, QList<TrackData> &tracks,
_errorLine = csv.line() - 1; _errorLine = csv.line() - 1;
return false; return false;
} }
} else if (entry.size() == 13) { } else {
if (!sg) { if (!sg) {
_errorString = "Missing start marker"; _errorString = "Missing start marker";
_errorLine = csv.line() - 1; _errorLine = csv.line() - 1;
return false; return false;
} }
if (entry.at(1) == "A") { if (entry.size() == 13 && entry.at(1) == "A") {
Coordinates c(coordinates(entry)); Coordinates c(coordinates(entry));
if (!c.isValid()) { if (!c.isValid()) {
_errorString = "Invalid coordinates"; _errorString = "Invalid coordinates";