1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00

Added missing Swiss grid map file support

This commit is contained in:
Martin Tůma 2018-03-19 19:56:31 +01:00
parent 29efa84075
commit 2d8bf2dbb9

View File

@ -216,6 +216,9 @@ bool MapFile::createProjection(const GCS *gcs, const QString &name,
else if (name == "(VG94) VICGRID94 Victoria Australia")
_projection = Projection(gcs, 9802, Projection::Setup(-37, 145, NAN,
2500000, 2500000, -36, -38), 9001);
else if (name == "(SUI) Swiss Grid")
_projection = Projection(gcs, 9815, Projection::Setup(46.570866,
7.26225, 1.0, 600000, 200000, 90.0, 90.0), 9001);
else {
_errorString = QString("%1: Unknown map projection").arg(name);
return false;