Skip to content
Prev 11665 / 15075 Next

rgdal problem with wintri projection (OSX, R-3.3.0, rgdal 1.1-9)

David Winsemius <dwinsemius <at> comcast.net> writes:
the newly-released R (version
yesterday).
...
as.double(xy[,     2]), proj,
This appears to affect 1.1-9 on OSX. As rgdal maintainer, obviously I'd like
to resolve this, but have mo access to OSX hardware at all. I'm assuming
that the rgdal version is installed as binary from CRAN (thanks to Simon for
providing the binary package!).

Do we know whether the OSX version matters?

Do we know that the same rgdal version 1.1-9 installed from source suffers
from the same problem; if it does, is 1.1-8 free of the problem (as with the
CRAN binary)?

There may be a user-facing work-around - use spTransform (or rawTransform())
rather than project(), but I cannot check it myself:

xy <- rawTransform("+proj=longlat", "+proj=wintri", n=1L, x=0, y=0)
rawTransform("+proj=wintri", "+proj=longlat", n=1L, x=xy[[1]][1], y=xy[[2]][1])

This is using different functions in the PROJ.4 library.

If anyone could provide gdb or similar output of a backtrace, that would be
very helpful.

Roger
1.1-8 and sp 1.2-3 there was no
using a later version of PROJ.4
"updating" to rgdal 1.1-9 now