Drawing a path over the 180 meridian #40

michaeltyson opened this Issue Oct 24, 2010 · 0 comments


None yet
1 participant

michaeltyson commented Oct 24, 2010

What steps will reproduce the problem?
-there is no simple solution for drawing a path over the 180 meridian.
(e.g. draw a line from latitude 179.9 to -179.9)

What is the expected output?
-I would expect the line to be the shortest possible:
(abs(latitude1 - latitude2) < 180)

What do you see instead?
-the line is drawn from -179.9 to 179.9 across the entire globe.

Other thoughts:
-I tried splitting the path in two segments:
(179.9 to 180.0 and -180.0 to -179.9)
This works OK but the size of the path layer is too big (its width is
practically 360 degrees (-180 to 180)) and it cannot be allocated.

I don't see a simple solution to this problem. I just wanted to bring it to
your attention. I also hope my explanation of the problem is clear enough.
Please let me know if I can be of any further assistance.

Thank you,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment