1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 19:55:53 +01:00

Use the (incorrect) scale factor of 1 in France zone projections like OziExplorer does

This commit is contained in:
Martin Tůma 2017-08-22 22:59:59 +02:00
parent 3e14d4afda
commit 6430933a96

View File

@ -231,16 +231,16 @@ bool OfflineMap::createProjection(const QString &datum,
1500000, 0); 1500000, 0);
else if (projection == "(I) France Zone I") else if (projection == "(I) France Zone I")
_projection = new LambertConic(d.ellipsoid(), 48.598523, 50.395912, _projection = new LambertConic(d.ellipsoid(), 48.598523, 50.395912,
49.5, 2.337229, 0.99987734, 600000, 1200000); 49.5, 2.337229, 1 /*0.99987734*/, 600000, 1200000);
else if (projection == "(II) France Zone II") else if (projection == "(II) France Zone II")
_projection = new LambertConic(d.ellipsoid(), 45.898919, 47.696014, _projection = new LambertConic(d.ellipsoid(), 45.898919, 47.696014,
46.8, 2.337229, 0.99987742, 600000, 2200000); 46.8, 2.337229, 1 /*0.99987742*/, 600000, 2200000);
else if (projection == "(III) France Zone III") else if (projection == "(III) France Zone III")
_projection = new LambertConic(d.ellipsoid(), 43.199291, 44.996094, _projection = new LambertConic(d.ellipsoid(), 43.199291, 44.996094,
44.1, 2.337229, 0.99987750, 600000, 3200000); 44.1, 2.337229, 1 /*0.99987750*/, 600000, 3200000);
else if (projection == "(IV) France Zone IV") else if (projection == "(IV) France Zone IV")
_projection = new LambertConic(d.ellipsoid(), 41.560388, 42.767663, _projection = new LambertConic(d.ellipsoid(), 41.560388, 42.767663,
42.165, 2.337229, 0.99994471, 234.358, 4185861.369); 42.165, 2.337229, 1 /*0.99994471*/, 234.358, 4185861.369);
else { else {
_errorString = QString("%1: Unknown map projection").arg(projection); _errorString = QString("%1: Unknown map projection").arg(projection);
return false; return false;