-
Notifications
You must be signed in to change notification settings - Fork 751
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
Boundary oddities in Robinson projection #1135
Comments
Bisect tells me that 90968ff is the first bad commit.
|
Possibly the same thing happening in Mercator?
|
This is a duplicate of #941 |
Bleh, not only did I already know about In any case, adding |
We worked around this change by subtracting a small epsilon (1e-10) from the opposite boundary. This works for both old and new versions. |
In Cartopy, the boundary for a (warped rectangular) map is calculated by making a rectangle spanning (-90, 90) latitude and (-180 + lon_0, 180 + lon_0) longitude, and then projecting it. For the Robinson projection, this used to work in 4.9.3, but produces strange results in 5+. This seems to be reproducible with just
proj
.With 4.9.3:
With 5.0.0:
Here, if central longitude is positive, the positive boundary wraps around, and if the central longitude is negative, the negative boundary wraps around. The same occurs on
master
.The text was updated successfully, but these errors were encountered: