Re:The 180th Meridian (2016)
by uj8efdkjfdshf on Thursday June 04, 2020 @12:26PM
(#23418644)
Why not just internally represent longitude as being between 0 to 360 (mod 360)? This way you won't have a discontinuity in direction when going from one longitude to another.
[ Parent
| on HN ]
Re:The 180th Meridian (2016)
by apendleton on Thursday June 04, 2020 @01:30PM
(#23419370)
You still have a discontinuity, you've just moved it from the antemeridian (+/-180 degrees) to the prime meridian (0 degrees). The issue isn't the sign, it's the wrapping.
In a lot of ways, this is actually worse. Lots of software can ignore problems posed by antemeridian-crossing geometries because in practice, not that many people encounter them (not many people live there). This would move any problems to the middle of the UK, plus a good chunk of west Africa.