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:
parent
be1c7fa4c2
commit
c9cedebeb0
@ -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:
|
||||||
|
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user