mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
Removed broken coordinates adjustment
This commit is contained in:
parent
5f16f7b367
commit
959d08ba94
@ -156,8 +156,6 @@ bool NETFile::readLine(BitStream4R &bs, const SubDiv *subdiv,
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
pos.rx() += LS(lonDelta, 32-subdiv->bits());
|
pos.rx() += LS(lonDelta, 32-subdiv->bits());
|
||||||
if (pos.rx() < 0 && subdiv->lon() >= 0)
|
|
||||||
pos.rx() = 0x7fffffff;
|
|
||||||
pos.ry() += LS(latDelta, 32-subdiv->bits());
|
pos.ry() += LS(latDelta, 32-subdiv->bits());
|
||||||
|
|
||||||
Coordinates c(toWGS32(pos.x()), toWGS32(pos.y()));
|
Coordinates c(toWGS32(pos.x()), toWGS32(pos.y()));
|
||||||
|
@ -391,8 +391,6 @@ bool RGNFile::extPolyObjects(Handle &hdl, const SubDiv *subdiv, quint32 shift,
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
pos.rx() += LS(lonDelta, 32-subdiv->bits()-shift);
|
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);
|
pos.ry() += LS(latDelta, 32-subdiv->bits()-shift);
|
||||||
|
|
||||||
Coordinates c(toWGS32(pos.x()), toWGS32(pos.y()));
|
Coordinates c(toWGS32(pos.x()), toWGS32(pos.y()));
|
||||||
|
Loading…
Reference in New Issue
Block a user