1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-30 22:51:16 +01:00

Only 6 projection parameters are required in PCS CSV

This commit is contained in:
Martin Tůma 2018-01-31 20:02:09 +01:00
parent cb77cc37c4
commit 4ca9c79dc4
2 changed files with 1628 additions and 1628 deletions

File diff suppressed because it is too large Load Diff

View File

@ -74,7 +74,7 @@ static int projectionSetup(const QList<QByteArray> &list,
{
bool r1, r2, r3;
for (int i = 6; i < 27; i += 3) {
for (int i = 6; i < 24; i += 3) {
QString ks = list[i].trimmed();
if (ks.isEmpty())
break;
@ -129,7 +129,7 @@ void PCS::loadList(const QString &path)
QByteArray line = file.readLine();
QList<QByteArray> list = line.split(',');
if (list.size() != 27) {
if (list.size() != 24) {
qWarning("%s: %d: Format error", qPrintable(path), ln);
continue;
}