1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-10-06 06:43:22 +02:00

Removed broken coordinates adjustment

This commit is contained in:
Martin Tůma 2022-04-22 22:26:47 +02:00
parent 5f16f7b367
commit 959d08ba94
2 changed files with 0 additions and 4 deletions

View File

@ -156,8 +156,6 @@ bool NETFile::readLine(BitStream4R &bs, const SubDiv *subdiv,
break;
pos.rx() += LS(lonDelta, 32-subdiv->bits());
if (pos.rx() < 0 && subdiv->lon() >= 0)
pos.rx() = 0x7fffffff;
pos.ry() += LS(latDelta, 32-subdiv->bits());
Coordinates c(toWGS32(pos.x()), toWGS32(pos.y()));

View File

@ -391,8 +391,6 @@ bool RGNFile::extPolyObjects(Handle &hdl, const SubDiv *subdiv, quint32 shift,
break;
pos.rx() += LS(lonDelta, 32-subdiv->bits()-shift);
if (pos.rx() < 0 && subdiv->lon() >= 0)
pos.rx() = 0x7fffffff;
pos.ry() += LS(latDelta, 32-subdiv->bits()-shift);
Coordinates c(toWGS32(pos.x()), toWGS32(pos.y()));