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

Use the propper mercator projection EPSG code number

This commit is contained in:
Martin Tůma 2018-05-13 01:16:10 +02:00
parent be1c7fa4c2
commit c9cedebeb0
2 changed files with 3 additions and 3 deletions

View File

@ -331,7 +331,7 @@ Projection::Method GeoTIFF::method(QMap<quint16, Value> &kv)
case CT_ObliqueMercator:
return Projection::Method(9815);
case CT_Mercator:
return Projection::Method(9804);
return Projection::Method(9805);
case CT_LambertConfConic_2SP:
return Projection::Method(9802);
case CT_LambertConfConic_1SP:

View File

@ -17,7 +17,7 @@ Projection::Method::Method(int id)
case 1024:
case 9801:
case 9802:
case 9804:
case 9805:
case 9807:
case 9815:
case 9820:
@ -51,7 +51,7 @@ Projection::Projection(const PCS *pcs) : _gcs(pcs->gcs()), _units(pcs->units()),
setup.longitudeOrigin(), setup.falseEasting(),
setup.falseNorthing());
break;
case 9804:
case 9805:
_ct = new Mercator(ellipsoid, setup.latitudeOrigin(),
setup.longitudeOrigin(), setup.falseEasting(),
setup.falseNorthing());