-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lines crossing the antimeridian are not rendered correctly. #33
Comments
Is this bug still active? Because I have attempted to run a line from Pitcairn Island to Opua, New Zealand, and am encountering this bug, whereby the line is rendered in reverse to its destination (NZ). This seems like a fairly significant bug... Are there any workarounds? I am attempting to plot a round the world route. Here is a screen cap: http://cl.ly/1e2R1J2d3M1b193L011i |
Additionally, if I attempt to stop my linestring 0.0 and start it again at 180, I encounter a secondary issue: http://cl.ly/0N383q1I2w2e3M3P2X2c |
If you use longitude values greater than +180 or less than -180, you can force Polymaps to pick one side of the Earth, rather than bouncing between the two. |
Ok, I'm a bit confused. This is my JSON... [ The last line of the above JSON, is the linestring that is being pushed onto the wrong side of the map. |
When we encounter such geometry, presumably we should project so as to minimize the distance between adjacent points.
Interestingly this bug was also in Google Earth:
http://code.google.com/p/kml-samples/issues/detail?id=227
The text was updated successfully, but these errors were encountered: