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

Compare commits

..

2 Commits

Author SHA1 Message Date
c28f12e0bb Added Israleli grid projection 2024-10-05 00:26:51 +02:00
749282085e Added missing style for marine chart isobaths 2024-10-05 00:24:57 +02:00
2 changed files with 5 additions and 0 deletions

View File

@ -416,6 +416,7 @@ void Style::defaultLineStyle(qreal ratio)
_lines[0x10108] = Line(QPen(QColor(0, 0, 0), 1, Qt::SolidLine)); _lines[0x10108] = Line(QPen(QColor(0, 0, 0), 1, Qt::SolidLine));
_lines[0x10301] = Line(QPen(QColor(0x0e, 0x10, 0x87), 1, Qt::SolidLine)); _lines[0x10301] = Line(QPen(QColor(0x0e, 0x10, 0x87), 1, Qt::SolidLine));
_lines[0x10307] = Line(QPen(QColor(0x05, 0x62, 0x0e), 1, Qt::SolidLine)); _lines[0x10307] = Line(QPen(QColor(0x05, 0x62, 0x0e), 1, Qt::SolidLine));
_lines[0x10309] = Line(QPen(QColor(0x0e, 0x10, 0x87), 1, Qt::SolidLine));
_lines[0x10401] = Line(QImage(":/marine/cable.png")); _lines[0x10401] = Line(QImage(":/marine/cable.png"));
_lines[0x10402] = Line(QImage(":/marine/pipeline.png")); _lines[0x10402] = Line(QImage(":/marine/pipeline.png"));
_lines[0x10404] = Line(QImage(":/marine/fishing-farm-line.png")); _lines[0x10404] = Line(QImage(":/marine/fishing-farm-line.png"));

View File

@ -87,6 +87,10 @@ static Projection parseProjection(const QString &str, const GCS &gcs)
return Projection(PCS(gcs, Conversion(9809, Conversion::Setup( return Projection(PCS(gcs, Conversion(9809, Conversion::Setup(
52.15616055555555, 5.38763888888889, 0.9999079, 155000, 463000, 52.15616055555555, 5.38763888888889, 0.9999079, 155000, 463000,
NAN, NAN), 9001))); NAN, NAN), 9001)));
case 125: // Israeli New grid
return Projection(PCS(gcs, Conversion(9807, Conversion::Setup(
31.7343936111111, 35.2045169444444, 1.0000067, 219529.584,
626907.39, NAN, NAN), 9001)));
case 184: // Swedish Grid case 184: // Swedish Grid
return Projection(PCS(gcs, Conversion(9807, Conversion::Setup(0, return Projection(PCS(gcs, Conversion(9807, Conversion::Setup(0,
15.808278, 1, 1500000, 0, NAN, NAN), 9001))); 15.808278, 1, 1500000, 0, NAN, NAN), 9001)));