From 2d8bf2dbb948ae6926149092882037f724b85e52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Mon, 19 Mar 2018 19:56:31 +0100 Subject: [PATCH] Added missing Swiss grid map file support --- src/map/mapfile.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/map/mapfile.cpp b/src/map/mapfile.cpp index 96cb2c74..8fc07bd6 100644 --- a/src/map/mapfile.cpp +++ b/src/map/mapfile.cpp @@ -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;