[R-sig-Geo] projectRaster across the antimeridian
Fischbach, Anthony
afischbach at usgs.gov
Tue Jul 5 19:19:47 CEST 2016
Melanie,
Thank you for directing me to the direct system call of the gdal gdalwarp
function.
I tried this on my machine, but received an error 127, which suggests an
issue with the path designation on my Windows workstation
(sessionInfo() and rgdal library call printed below).
To address it I confirmed that gdal is in my Windows PATH environment ()
after completely deleting and reinstalled r and gdal.
Unfortunately the problem persists.
Benoit, Does the sessionInfo or rgdal library call printed below suggest a
reason as to why the script works on your workstation, but not mine?
I appreciate all your help.
-Tony
----
> sessionInfo()
R version 3.3.1 (2016-06-21)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United
States.1252 LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] raster_2.5-8 rgdal_1.1-10 sp_1.2-3
loaded via a namespace (and not attached):
[1] Rcpp_0.12.5 grid_3.3.1 lattice_0.20-33
> require(rgdal)
Loading required package: rgdal
Loading required package: sp
rgdal: version: 1.1-10, (SVN revision 622)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 2.0.1, released 2015/09/15
Path to GDAL shared files: C:/Program Files/R/R-3.3.1/library/rgdal/gdal
Loaded PROJ.4 runtime: Rel. 4.9.2, 08 September 2015, [PJ_VERSION: 492]
Path to PROJ.4 shared files: C:/Program Files/R/R-3.3.1/library/rgdal/proj
Linking to sp version: 1.2-3
----
[[alternative HTML version deleted]]
More information about the R-sig-Geo
mailing list