1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 13:41:16 +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: case CT_ObliqueMercator:
return Projection::Method(9815); return Projection::Method(9815);
case CT_Mercator: case CT_Mercator:
return Projection::Method(9804); return Projection::Method(9805);
case CT_LambertConfConic_2SP: case CT_LambertConfConic_2SP:
return Projection::Method(9802); return Projection::Method(9802);
case CT_LambertConfConic_1SP: case CT_LambertConfConic_1SP:

View File

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