mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-27 21:24:47 +01:00
Fixed cut&paste errors
This commit is contained in:
parent
7b8fff7440
commit
183cb4825c
@ -75,7 +75,7 @@ static PointD corner2point(const QString &name, const QSize &size)
|
|||||||
return PointD();
|
return PointD();
|
||||||
}
|
}
|
||||||
|
|
||||||
static Projection::Setup polyconic2setup(const QStringList &list)
|
static Projection::Setup lcc2setup(const QStringList &list)
|
||||||
{
|
{
|
||||||
double params[6];
|
double params[6];
|
||||||
bool ok;
|
bool ok;
|
||||||
@ -92,7 +92,7 @@ static Projection::Setup polyconic2setup(const QStringList &list)
|
|||||||
params[5], params[2], params[3]);
|
params[5], params[2], params[3]);
|
||||||
}
|
}
|
||||||
|
|
||||||
static Projection::Setup llc2setup(const QStringList &list)
|
static Projection::Setup polyconic2setup(const QStringList &list)
|
||||||
{
|
{
|
||||||
double params[3];
|
double params[3];
|
||||||
bool ok;
|
bool ok;
|
||||||
@ -155,7 +155,7 @@ static Projection createProjection(const GCS &gcs, const QString &name)
|
|||||||
else if (pl.first() == "Transverse Mercator")
|
else if (pl.first() == "Transverse Mercator")
|
||||||
pcs = PCS(gcs, 9807, tm2setup(pl), 9001);
|
pcs = PCS(gcs, 9807, tm2setup(pl), 9001);
|
||||||
else if (pl.first() == "Lambert Conformal Conic")
|
else if (pl.first() == "Lambert Conformal Conic")
|
||||||
pcs = PCS(gcs, 9802, llc2setup(pl), 9001);
|
pcs = PCS(gcs, 9802, lcc2setup(pl), 9001);
|
||||||
else if (pl.first() == "Polyconic (American)")
|
else if (pl.first() == "Polyconic (American)")
|
||||||
pcs = PCS(gcs, 9818, polyconic2setup(pl), 9001);
|
pcs = PCS(gcs, 9818, polyconic2setup(pl), 9001);
|
||||||
else if (pl.first() == "(NZTM2) New Zealand TM 2000")
|
else if (pl.first() == "(NZTM2) New Zealand TM 2000")
|
||||||
|
Loading…
Reference in New Issue
Block a user