-
Notifications
You must be signed in to change notification settings - Fork 11
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
circles() fails again (still?) at -180 lon #31
Comments
I took another look, and I the issue seems to be with
As I understand it, you break the polygon up into the negative and positive halves, and in this section, make sure the first and last lines of each sub-polygon are 180 or -180. This works if the sub-polygons are contiguous points, but fails when there are two discontinuous sections in the positive or negative portion. In those cases, you are inserting a 180/-180 coordinate at a random location along the circumference. I made a correction that addresses this:
Not the most elegant, but what I've done is add an index column to If this looks ok to you I can make a pull request. Best, Tyler |
I think this is the same issue as #4. The example from that issue works with the current code, but the following doesn't:
The text was updated successfully, but these errors were encountered: