-
Notifications
You must be signed in to change notification settings - Fork 12
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
PROJ 6 problems? #88
Comments
Thanks for the heads up @rsbivand, I will check it out. Just to be clear, is this affecting your release of rgeos? |
I was just running
So there are at least three different strings being presented to
and debugging in
so the change is made in At the moment, sp uses rgdal which uses the proj_api.h PROJ interface, but I think sf uses the proj.h PROJ interface. So for the time being I think that you cannot expect verbatim proj4 strings to be equal. I'd re-write the tests to drop the proj4 strings until both sf and sp/rgdal are on the same header interface to PROJ, which for now they may not be. I guess we need an r-spatial blog on PROJ transitions. @edzer (more for Muenster?). |
Interesting. I installed
However your point about testing exact |
And you are right, looking at the install logs from
vs
it looks like the former uses |
I'm using GDAL 3.0.1 built against PROJ 6; you'd need to move from GDAL 2 to GDAL 3 to reproduce the problem, I think. |
Thanks, and again you're right - building with GDAL 3.0.0 reproduced the test failures, and the above commits fixes them for me. Thanks again for the heads-up, I will try to update before CRAN's machines do. |
Running rgeos reverse dependency checks, now on a platform with PROJ 6.1.1, I'm seeing CRS mismatch problems in the tests:
testthat.Rout.fail.log
The text was updated successfully, but these errors were encountered: