-
Notifications
You must be signed in to change notification settings - Fork 68
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
lambert proj appears to be broken?? #1763
Comments
@aashish24 @danlipsa if you beat me to it please feel free to fix it. |
fixed in 2.4.0 but on macs exposes proj4 issue listed @ #1777 |
@doutriaux1 @aashish24 Do we need to pass +over to the lambert projection (or to polar (non gctp))? What I want to get at, is a test case, where we need to pass +over, it works on most machines but it does not work on certain macs and annie. If we don't have that we'll spend time to fix something that we don't really need. Maybe for these projections, +over does not work consistently because people don't need that so nobody tested for that. |
it's worth trying. I will do that now. |
@danlipsa I don't think that's the issue, looking at the code: no_over_proj4_parameter_projections = round_projections+["aeqd", "lambert conformal c"] Then we have a section in vcs2vtk.py that does: if projection.type not in no_over_proj4_parameter_projections:
pd.SetOptionalParameter("over", "true")
else:
pd.SetOptionalParameter("over", "false") So obviously we're not trying |
i think the issue could be coming from: setProjectionParameters(pd, projection) because basically it seems like that it is the only thing we took out for poalr non gctp that made it work again, but going into the function I don't think it does anything... |
@doutriaux1 What is the test that is failing on macs? Is it failing on annie as well? |
only on mac, if you look at CMakeList.txt it is commented out if it's an apple. test_vcs_lambert I believe is the name. I "think" it passes on annie, but it could also be luck 😉 |
Interesting. I tried this test on my mac - which had problems with +over and polar non gctp and it passes. I will create a branch where I activate this test and see where it fails. |
old lambert over north america:
The text was updated successfully, but these errors were encountered: