mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-27 21:24:47 +01:00
Compare commits
12 Commits
183cb4825c
...
a245043573
Author | SHA1 | Date | |
---|---|---|---|
a245043573 | |||
42dbc91143 | |||
|
23a7c6d4eb | ||
|
b6b4319f89 | ||
|
8673c00a23 | ||
|
90280fb018 | ||
|
285022c17a | ||
|
e76bb40d10 | ||
|
bbf5c09377 | ||
|
e1c7ad18e6 | ||
99792f2984 | |||
6d2e6f64d3 |
@ -1257,7 +1257,7 @@
|
||||
<message>
|
||||
<location filename="../src/map/maplist.cpp" line="166"/>
|
||||
<source>Orux maps</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Orux mapy</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/map/maplist.cpp" line="167"/>
|
||||
|
@ -1256,7 +1256,7 @@
|
||||
<message>
|
||||
<location filename="../src/map/maplist.cpp" line="166"/>
|
||||
<source>Orux maps</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Orux-Karten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/map/maplist.cpp" line="167"/>
|
||||
|
@ -1256,7 +1256,7 @@
|
||||
<message>
|
||||
<location filename="../src/map/maplist.cpp" line="166"/>
|
||||
<source>Orux maps</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Orux-mapoj</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/map/maplist.cpp" line="167"/>
|
||||
|
@ -1256,7 +1256,7 @@
|
||||
<message>
|
||||
<location filename="../src/map/maplist.cpp" line="166"/>
|
||||
<source>Orux maps</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Orux-kartat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/map/maplist.cpp" line="167"/>
|
||||
|
@ -1255,7 +1255,7 @@
|
||||
<message>
|
||||
<location filename="../src/map/maplist.cpp" line="166"/>
|
||||
<source>Orux maps</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Orux térképek</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/map/maplist.cpp" line="167"/>
|
||||
|
@ -1257,7 +1257,7 @@
|
||||
<message>
|
||||
<location filename="../src/map/maplist.cpp" line="166"/>
|
||||
<source>Orux maps</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Orux карты</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/map/maplist.cpp" line="167"/>
|
||||
|
@ -1256,7 +1256,7 @@
|
||||
<message>
|
||||
<location filename="../src/map/maplist.cpp" line="166"/>
|
||||
<source>Orux maps</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Orux-kartor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/map/maplist.cpp" line="167"/>
|
||||
|
@ -1255,7 +1255,7 @@
|
||||
<message>
|
||||
<location filename="../src/map/maplist.cpp" line="166"/>
|
||||
<source>Orux maps</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Orux haritaları</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/map/maplist.cpp" line="167"/>
|
||||
|
@ -1257,7 +1257,7 @@
|
||||
<message>
|
||||
<location filename="../src/map/maplist.cpp" line="166"/>
|
||||
<source>Orux maps</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Orux мапи</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/map/maplist.cpp" line="167"/>
|
||||
|
@ -1255,7 +1255,7 @@
|
||||
<message>
|
||||
<location filename="../src/map/maplist.cpp" line="166"/>
|
||||
<source>Orux maps</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Orux 地图</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/map/maplist.cpp" line="167"/>
|
||||
|
@ -92,6 +92,22 @@ static Projection::Setup lcc2setup(const QStringList &list)
|
||||
params[5], params[2], params[3]);
|
||||
}
|
||||
|
||||
static Projection::Setup laea2setup(const QStringList &list)
|
||||
{
|
||||
double params[2];
|
||||
bool ok;
|
||||
|
||||
if (list.size() < 3)
|
||||
return Projection::Setup();
|
||||
for (int i = 1; i < 3; i++) {
|
||||
params[i - 1] = list.at(i).toDouble(&ok);
|
||||
if (!ok)
|
||||
return Projection::Setup();
|
||||
}
|
||||
|
||||
return Projection::Setup(params[1], params[0], NAN, 0, 0, NAN, NAN);
|
||||
}
|
||||
|
||||
static Projection::Setup polyconic2setup(const QStringList &list)
|
||||
{
|
||||
double params[3];
|
||||
@ -156,6 +172,8 @@ static Projection createProjection(const GCS &gcs, const QString &name)
|
||||
pcs = PCS(gcs, 9807, tm2setup(pl), 9001);
|
||||
else if (pl.first() == "Lambert Conformal Conic")
|
||||
pcs = PCS(gcs, 9802, lcc2setup(pl), 9001);
|
||||
else if (pl.first() == "(A)Lambert Azimuthual Equal Area")
|
||||
pcs = PCS(gcs, 9820, laea2setup(pl), 9001);
|
||||
else if (pl.first() == "Polyconic (American)")
|
||||
pcs = PCS(gcs, 9818, polyconic2setup(pl), 9001);
|
||||
else if (pl.first() == "(NZTM2) New Zealand TM 2000")
|
||||
|
Loading…
Reference in New Issue
Block a user